From ec7a433864f75b6c342bf54b40a25ab3312a24d3 Mon Sep 17 00:00:00 2001 From: Flare Starfall Date: Tue, 10 Mar 2026 10:48:07 +0100 Subject: [PATCH] Update home page --- babel.fish | 30 +++++++++--------- messages.pot | 24 ++++++++++++-- translations/en/LC_MESSAGES/messages.mo | Bin 7390 -> 8213 bytes translations/en/LC_MESSAGES/messages.po | 37 +++++++++++++++++++--- web/templates/base.jinja | 10 ++++-- web/templates/components/page_empty.jinja | 7 ---- web/templates/home.jinja | 13 +++++++- 7 files changed, 90 insertions(+), 31 deletions(-) delete mode 100644 web/templates/components/page_empty.jinja diff --git a/babel.fish b/babel.fish index 2c5e416..8b7a8d7 100755 --- a/babel.fish +++ b/babel.fish @@ -1,24 +1,24 @@ #!/bin/fish function display_help - set_color green - echo -n "1) " + set_color brgreen + echo -n "1) t) " set_color normal - echo "Extract translations into messages.pot file" - echo " and merge into existing languages" + echo " Extract translations into messages.pot file" + echo " and merge into existing languages" - set_color green - echo -n "2) " + set_color brgreen + echo -n "2) l) " set_color normal - echo "Create translation folders for new language" + echo " Create translation folders for new language" - set_color green - echo -n "3) " + set_color brgreen + echo -n "3) c) " set_color normal - echo "Compile *.po files for display" + echo " Compile *.po files for display" set_color red - echo -n "4) " + echo -n "4) e) q) " set_color normal echo "Exit program" @@ -118,13 +118,13 @@ while true or return 1 switch $confirm - case 1 + case 1 t compile_pot - case 2 + case 2 l new_lang - case 3 + case 3 c compile_po - case 4 + case 4 e q return 0 case '' '*' echo "Invalid input" diff --git a/messages.pot b/messages.pot index a5b4cfd..4542f34 100644 --- a/messages.pot +++ b/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Starfall 0.1.0-alpha.3\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" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -57,10 +57,30 @@ msgstr "" msgid "base.label.theme.auto" 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" 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 msgid "page.imprint.title" msgstr "" diff --git a/translations/en/LC_MESSAGES/messages.mo b/translations/en/LC_MESSAGES/messages.mo index 23c0344172c0e4d63d85de81ee037043eb35ceda..069a805b92b6e81fce8ecf8cc494a4367ee9aca2 100644 GIT binary patch delta 1336 zcmZXSO^6gn6vu0JN27?JSv80sPfu!g$6Z{MEbF2eP*9SC3K9ZR)BUEq*zT&Ps%FMH z$cPBRgE_cJ1o0q35J41nLG+LiaudlRc#Q->63ESir(p80>2_n*fu3K#SMTHhUiFL5 zt{?8d*igSN@FP51!&AfGd%vwiLac?o4g44!1Gj)jz>VP7;0S0d`x|f*>|2$+Q1NNS z-@y?723#XVU#uD~8*Hh#7hH#cDKIoV0fvNg)wu^lgUjG{@Fut!d;)F&f3416RsO## zd!$~*eF}#BqXWAy#8;KWRsmPQQ0O*z2isTxgMhQkOQCti3m}ffRd5-2t+H=a_APKF z{CB{xsrz6U>}PNV_#9N|FMh+zYVg=cLOce~fS-VC5%nzu>;{8?N2nGGJp&iue+goR z;=5I4!SBHf@IL@ALD3kBhVzG*<}LUmxF7rhYyAa1UxVBC!0{6<^iPcP7q}Pp^BrZQ ze|F42t!=D*!Fl0(ji!lvqL2wUO4}=+ap_1+&W%Xg_`RV2d`kl7b`Fos|1os3R@*-} zS^s>+#5hfiPfZ?}yI7}Sj89BW9Gt&fA0FyY7c-|*iN^6=K=K~pHsqS|o1q2?)y2!NX zG|QY$d1+fR%SK6(%ke^qHSHpt_ghx6jvd7ut4Ml`i&1jM>^h;Y@+oyx%!U#PCkCXh z?74y9m^+-Af~_NI`G2e6^94tX%Q~WCO1X!Pm?)BNupX?e%am~6Q>(3a>)sx+?An=k z6o!Q|wV3~ORW;A-6&b9lQ2)qnw+9k zS{Zq^6j|;|4?Q8fBds#1x>%u{SVFurEsv{1chf1;kcD!2+o@Qrj*S+$HUC&7KVh6s1G{)0=JzqfpH)4#|6N-zKb delta 514 zcmYk(yGz4R6vy$Cm$c%GYAe{A4{&hN#Z?6fy7-uc(!rsV;39~S zZXI2UsEeCm1YJ4_MNwSD@6kILl6>;ZeVv=s7vms|Q*K>2#<_A_?;8FcHBeBvp^_qtk0D01Qb6>w#|N802CIi+LrtI2Pe@nE~vucMeKF2p6ppW~^e#hVzPLq$= zeuoO1SRgm}Z(2w@7iI0V6&*UumNi?8-K9h^$QOh1e5qFO^1orG?9WA2&#|NDq@Vc# DR3bYD diff --git a/translations/en/LC_MESSAGES/messages.po b/translations/en/LC_MESSAGES/messages.po index b747bdd..e1bbee8 100644 --- a/translations/en/LC_MESSAGES/messages.po +++ b/translations/en/LC_MESSAGES/messages.po @@ -5,10 +5,10 @@ # msgid "" 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" -"POT-Creation-Date: 2026-03-09 09:57+0100\n" -"PO-Revision-Date: 2026-03-09 01:34+0100\n" +"POT-Creation-Date: 2026-03-10 10:46+0100\n" +"PO-Revision-Date: 2026-03-10 01:17+0100\n" "Last-Translator: Flare Starfall \n" "Language: en\n" "Language-Team: en \n" @@ -58,10 +58,39 @@ msgstr "Dark" msgid "base.label.theme.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 "" +"

This page has not been assigned any content.

This is unlikely to" +" be intentional - please notify the site " +"administrator about this problem.

" + +#: web/templates/base.jinja:89 msgid "base.label.copy" 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 "" +"

Home of Team Starfall, a small group of friends dedicated to messing " +"with video games in ways the developers are unlikely to expect.

And" +" hey - occasionally we get fun(ny) results out of it.

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.

" + #: web/templates/imprint.jinja:3 web/templates/imprint.jinja:8 msgid "page.imprint.title" msgstr "Imprint & Privacy" diff --git a/web/templates/base.jinja b/web/templates/base.jinja index 1896a81..d2a3eb9 100644 --- a/web/templates/base.jinja +++ b/web/templates/base.jinja @@ -31,7 +31,8 @@ aria-expanded="false" aria-label="{{_('base.label.toggle_nav')}}"> -