From 3f2c6b183400eb2a139a640a972a751026a94f37 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Jakse?= Date: Sun, 4 May 2025 10:01:58 +0200 Subject: [PATCH] Make language and board selection more concise --- l10n/po/br/trivabble.po | 2 +- l10n/po/fr/trivabble.po | 12 ++++++------ l10n/po/ro/trivabble.po | 2 +- l10n/pot/trivabble.pot | 6 +++--- public/index.html | 18 +++++++++--------- public/trivabble.css | 20 ++++++++++++++++++++ 6 files changed, 40 insertions(+), 20 deletions(-) diff --git a/l10n/po/br/trivabble.po b/l10n/po/br/trivabble.po index 11fc845..762d3db 100644 --- a/l10n/po/br/trivabble.po +++ b/l10n/po/br/trivabble.po @@ -198,5 +198,5 @@ msgstr "" "Adlakaat holl pezhioù ho\n" "touger-pezhoù er sac'h" -msgid "Interface language:" +msgid "Interface:" msgstr "Yezh ar c'hetal:" diff --git a/l10n/po/fr/trivabble.po b/l10n/po/fr/trivabble.po index e4c791c..a9572a9 100644 --- a/l10n/po/fr/trivabble.po +++ b/l10n/po/fr/trivabble.po @@ -109,8 +109,8 @@ msgstr "Cliquez sur le score de quelqu'un\npour le changer." msgid "Put back all the tiles of\nyour rack in the bag" msgstr "Remettre toutes les pièces du\nchevalet dans le sac" -msgid "Interface language:" -msgstr "Langue de l'interface :" +msgid "Interface:" +msgstr "Interface :" msgid "Sorry to disturb you, but we need to reload the game so you can continue playing. You will not lose anything except the messages in the chat. Are you ready?" msgstr "Désolé pour le dérangement, mais nous avons besoin de recharger le jeu pour que vous poussiez continuer à jouer. Vous ne perdrez rien sauf les messages dans le chat. Êtes-vous prêt·e ?" @@ -163,8 +163,8 @@ msgstr "Vous ne pouvez pas tirer de pièce : le sac est vide." msgid "Are you sure you want to change board to '{0}'? This will put all the tiles back in the bag and start another game." msgstr "Êtes-vous sûr·e de vouloir de changer la langue du plateau à '{0}' ? Cela remettra toutes les lettres du jeu dans le sac et commencera une nouvelle partie." -msgid "Board language:" -msgstr "Langue du plateau :" +msgid "Board:" +msgstr "Plateau :" msgid "You changed the board to {0} for language {1}" msgstr "Vous avez changé le plateau pour {0} en {1}" @@ -277,8 +277,8 @@ msgstr "Pas de légende" msgid "Short caption" msgstr "Légendes courtes" -msgid "Board configuration:" -msgstr "Configuration du plateau" +msgid "Configuration:" +msgstr "Configuration:" msgid "Are you sure you want to change board to {0}? This will put all the tiles back in the bag and start another game." msgstr "Êtes-vous sûr·e de vouloir de changer le type du plateau à {0} ? Cela remettra toutes les lettres du jeu dans le sac et commencera une nouvelle partie." diff --git a/l10n/po/ro/trivabble.po b/l10n/po/ro/trivabble.po index 63bc902..11af3cc 100644 --- a/l10n/po/ro/trivabble.po +++ b/l10n/po/ro/trivabble.po @@ -190,7 +190,7 @@ msgstr "" "Pune înapoi în sac toate\n" "jetoanele de pe suportul tău" -msgid "Interface language:" +msgid "Interface:" msgstr "Limba interfeței:" msgid "" diff --git a/l10n/pot/trivabble.pot b/l10n/pot/trivabble.pot index 3a735b5..2c98926 100644 --- a/l10n/pot/trivabble.pot +++ b/l10n/pot/trivabble.pot @@ -115,7 +115,7 @@ msgstr "" msgid "Put back all the tiles of\nyour rack in the bag" msgstr "" -msgid "Interface language:" +msgid "Interface:" msgstr "" msgid "Sorry to disturb you, but we need to reload the game so you can continue playing. You will not lose anything except the messages in the chat. Are you ready?" @@ -169,7 +169,7 @@ msgstr "" msgid "Are you sure you want to change board to '{0}'? This will put all the tiles back in the bag and start another game." msgstr "" -msgid "Board language:" +msgid "Board:" msgstr "" msgid "You changed the board to {0} for language {1}" @@ -282,7 +282,7 @@ msgstr "" msgid "Short caption" msgstr "" -msgid "Board configuration:" +msgid "Configuration:" msgstr "" msgid "Are you sure you want to change board to {0}? This will put all the tiles back in the bag and start another game." diff --git a/public/index.html b/public/index.html index edac689..06dbeb6 100644 --- a/public/index.html +++ b/public/index.html @@ -35,25 +35,25 @@

- - - +

diff --git a/public/trivabble.css b/public/trivabble.css index 86b6d71..3d8ec5e 100644 --- a/public/trivabble.css +++ b/public/trivabble.css @@ -793,3 +793,23 @@ button#next-help-msg:hover { #timer > span:first-child { color:gray; } + +#board-selection { + display:table; +} + +#board-selection > p:not([hidden]) { + display: table-row +} + +#board-selection > p > span { + display: table-cell; +} + +#board-selection > p > .label { + padding-right:1ex; +} + +#board-selection > p > .select, #board-selection > p > .select > select { + width: 100%; +} -- 2.30.2