Update home page
This commit is contained in:
parent
026f6ab02e
commit
ec7a433864
30
babel.fish
30
babel.fish
|
|
@ -1,24 +1,24 @@
|
||||||
#!/bin/fish
|
#!/bin/fish
|
||||||
|
|
||||||
function display_help
|
function display_help
|
||||||
set_color green
|
set_color brgreen
|
||||||
echo -n "1) "
|
echo -n "1) t) "
|
||||||
set_color normal
|
set_color normal
|
||||||
echo "Extract translations into messages.pot file"
|
echo " Extract translations into messages.pot file"
|
||||||
echo " and merge into existing languages"
|
echo " and merge into existing languages"
|
||||||
|
|
||||||
set_color green
|
set_color brgreen
|
||||||
echo -n "2) "
|
echo -n "2) l) "
|
||||||
set_color normal
|
set_color normal
|
||||||
echo "Create translation folders for new language"
|
echo " Create translation folders for new language"
|
||||||
|
|
||||||
set_color green
|
set_color brgreen
|
||||||
echo -n "3) "
|
echo -n "3) c) "
|
||||||
set_color normal
|
set_color normal
|
||||||
echo "Compile *.po files for display"
|
echo " Compile *.po files for display"
|
||||||
|
|
||||||
set_color red
|
set_color red
|
||||||
echo -n "4) "
|
echo -n "4) e) q) "
|
||||||
set_color normal
|
set_color normal
|
||||||
echo "Exit program"
|
echo "Exit program"
|
||||||
|
|
||||||
|
|
@ -118,13 +118,13 @@ while true
|
||||||
or return 1
|
or return 1
|
||||||
|
|
||||||
switch $confirm
|
switch $confirm
|
||||||
case 1
|
case 1 t
|
||||||
compile_pot
|
compile_pot
|
||||||
case 2
|
case 2 l
|
||||||
new_lang
|
new_lang
|
||||||
case 3
|
case 3 c
|
||||||
compile_po
|
compile_po
|
||||||
case 4
|
case 4 e q
|
||||||
return 0
|
return 0
|
||||||
case '' '*'
|
case '' '*'
|
||||||
echo "Invalid input"
|
echo "Invalid input"
|
||||||
|
|
|
||||||
24
messages.pot
24
messages.pot
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Starfall 0.1.0-alpha.3\n"
|
"Project-Id-Version: Starfall 0.1.0-alpha.3\n"
|
||||||
"Report-Msgid-Bugs-To: flare@theflare.at\n"
|
"Report-Msgid-Bugs-To: flare@theflare.at\n"
|
||||||
"POT-Creation-Date: 2026-03-09 09:57+0100\n"
|
"POT-Creation-Date: 2026-03-10 10:46+0100\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
|
@ -57,10 +57,30 @@ msgstr ""
|
||||||
msgid "base.label.theme.auto"
|
msgid "base.label.theme.auto"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: web/templates/base.jinja:84
|
#: web/templates/base.jinja:76
|
||||||
|
msgid "page.empty.title"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: web/templates/base.jinja:77
|
||||||
|
msgid "page.empty.body"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: web/templates/base.jinja:89
|
||||||
msgid "base.label.copy"
|
msgid "base.label.copy"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: web/templates/home.jinja:3
|
||||||
|
msgid "page.home.title"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: web/templates/home.jinja:8
|
||||||
|
msgid "page.home.card.title"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: web/templates/home.jinja:9
|
||||||
|
msgid "page.home.card.body"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: web/templates/imprint.jinja:3 web/templates/imprint.jinja:8
|
#: web/templates/imprint.jinja:3 web/templates/imprint.jinja:8
|
||||||
msgid "page.imprint.title"
|
msgid "page.imprint.title"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,10 +5,10 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Starfall 0.1.0-alpha.2\n"
|
"Project-Id-Version: Starfall 0.1.0-alpha.3\n"
|
||||||
"Report-Msgid-Bugs-To: flare@theflare.at\n"
|
"Report-Msgid-Bugs-To: flare@theflare.at\n"
|
||||||
"POT-Creation-Date: 2026-03-09 09:57+0100\n"
|
"POT-Creation-Date: 2026-03-10 10:46+0100\n"
|
||||||
"PO-Revision-Date: 2026-03-09 01:34+0100\n"
|
"PO-Revision-Date: 2026-03-10 01:17+0100\n"
|
||||||
"Last-Translator: Flare Starfall <flare@theflare.at>\n"
|
"Last-Translator: Flare Starfall <flare@theflare.at>\n"
|
||||||
"Language: en\n"
|
"Language: en\n"
|
||||||
"Language-Team: en <LL@li.org>\n"
|
"Language-Team: en <LL@li.org>\n"
|
||||||
|
|
@ -58,10 +58,39 @@ msgstr "Dark"
|
||||||
msgid "base.label.theme.auto"
|
msgid "base.label.theme.auto"
|
||||||
msgstr "Auto"
|
msgstr "Auto"
|
||||||
|
|
||||||
#: web/templates/base.jinja:84
|
#: web/templates/base.jinja:76
|
||||||
|
msgid "page.empty.title"
|
||||||
|
msgstr "This page has no content"
|
||||||
|
|
||||||
|
#: web/templates/base.jinja:77
|
||||||
|
msgid "page.empty.body"
|
||||||
|
msgstr ""
|
||||||
|
"<p>This page has not been assigned any content.</p><p>This is unlikely to"
|
||||||
|
" be intentional - <span class=\"text-warning\">please notify the site "
|
||||||
|
"administrator</span> about this problem.</p>"
|
||||||
|
|
||||||
|
#: web/templates/base.jinja:89
|
||||||
msgid "base.label.copy"
|
msgid "base.label.copy"
|
||||||
msgstr "© Team Starfall"
|
msgstr "© Team Starfall"
|
||||||
|
|
||||||
|
#: web/templates/home.jinja:3
|
||||||
|
msgid "page.home.title"
|
||||||
|
msgstr "Home of Team Starfall"
|
||||||
|
|
||||||
|
#: web/templates/home.jinja:8
|
||||||
|
msgid "page.home.card.title"
|
||||||
|
msgstr "Shoot for the stars."
|
||||||
|
|
||||||
|
#: web/templates/home.jinja:9
|
||||||
|
msgid "page.home.card.body"
|
||||||
|
msgstr ""
|
||||||
|
"<p>Home of Team Starfall, a small group of friends dedicated to messing "
|
||||||
|
"with video games in ways the developers are unlikely to expect.</p><p>And"
|
||||||
|
" hey - occasionally we get fun(ny) results out of it.</p><p>On the side, "
|
||||||
|
"some of us get involved in all kinds of shenanigans, ranging from "
|
||||||
|
"character creation in various kinds of games and software, over creating "
|
||||||
|
"music, to web design and programming.</p>"
|
||||||
|
|
||||||
#: web/templates/imprint.jinja:3 web/templates/imprint.jinja:8
|
#: web/templates/imprint.jinja:3 web/templates/imprint.jinja:8
|
||||||
msgid "page.imprint.title"
|
msgid "page.imprint.title"
|
||||||
msgstr "Imprint & Privacy"
|
msgstr "Imprint & Privacy"
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,8 @@
|
||||||
aria-expanded="false" aria-label="{{_('base.label.toggle_nav')}}">
|
aria-expanded="false" aria-label="{{_('base.label.toggle_nav')}}">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
<div class="collapse navbar-collapse d-md-flex flex-row justify-content-between" id="navbarSupportedContent">
|
<div class="collapse navbar-collapse d-md-flex flex-row justify-content-between"
|
||||||
|
id="navbarSupportedContent">
|
||||||
<ul class="navbar-nav">
|
<ul class="navbar-nav">
|
||||||
{# %block title: Page title. #}
|
{# %block title: Page title. #}
|
||||||
{%block navLinks%}
|
{%block navLinks%}
|
||||||
|
|
@ -70,7 +71,12 @@
|
||||||
{%block beforeMainContainer%}{%endblock%}
|
{%block beforeMainContainer%}{%endblock%}
|
||||||
|
|
||||||
{%block body%}
|
{%block body%}
|
||||||
{%include 'components/page_empty.jinja'%}
|
<div class="container" id="content">
|
||||||
|
<div class="card">
|
||||||
|
<h1 class="card-header">{{_('page.empty.title')}}</h1>
|
||||||
|
<div class="card-body">{{_('page.empty.body')|safe}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{%endblock%}
|
{%endblock%}
|
||||||
|
|
||||||
{%block afterMainContainer%}{%endblock%}
|
{%block afterMainContainer%}{%endblock%}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
<div class="container" id="content">
|
|
||||||
<div class="d-flex flex-column justify-content-center align-items-center">
|
|
||||||
<h1 class="text-warning-emphasis bg-warning-emphasis mb-4">Empty Page</h1>
|
|
||||||
<p>No content has been defined for this page.</p>
|
|
||||||
<p>This is likely by accident, please report this to the site owner.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
@ -1 +1,12 @@
|
||||||
{%extends 'base.jinja'%}
|
{%extends 'base.jinja'%}
|
||||||
|
|
||||||
|
{%block title%}{{_('page.home.title')}}{%endblock%}
|
||||||
|
|
||||||
|
{%block body%}
|
||||||
|
<div class="container" id="content">
|
||||||
|
<div class="card">
|
||||||
|
<h1 class="card-header text-center text-primary-emphasis">{{_('page.home.card.title')}}</h1>
|
||||||
|
<div class="card-body">{{_('page.home.card.body')|safe}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{%endblock%}
|
||||||
Loading…
Reference in New Issue