From: Raphaël Jakse Date: Sun, 17 May 2020 09:14:25 +0000 (+0200) Subject: Support for the Portuguese Board language X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=d4052fe1acf72a50e61dc6cd9c3da6e0de805296;p=trivabble.git Support for the Portuguese Board language --- diff --git a/l10n/po/fr/trivabble.po b/l10n/po/fr/trivabble.po index 97c8cd0..45e1661 100644 --- a/l10n/po/fr/trivabble.po +++ b/l10n/po/fr/trivabble.po @@ -175,6 +175,9 @@ msgstr "Espagnol" msgid "Romanian" msgstr "Roumain" +msgid "Portuguese" +msgstr "Portuguais" + msgid "You changed the language of the board to {0}" msgstr "Vous avez changé la langue du plateau en {0}" diff --git a/l10n/pot/trivabble.pot b/l10n/pot/trivabble.pot index 85e62ec..207a001 100644 --- a/l10n/pot/trivabble.pot +++ b/l10n/pot/trivabble.pot @@ -181,6 +181,9 @@ msgstr "" msgid "Romanian" msgstr "" +msgid "Portuguese" +msgstr "" + msgid "You changed the language of the board to {0}" msgstr "" diff --git a/server/lang/pt.json b/server/lang/pt.json new file mode 100644 index 0000000..8390ad8 --- /dev/null +++ b/server/lang/pt.json @@ -0,0 +1,60 @@ +{ + "code": "pt", + "name": "Portuguese", + + "bag": [ + " ", " ", " ", + "A", "A", "A", "A", "A", "A", "A", "A", "A", "A", "A", "A", "A", "A", + "I", "I", "I", "I", "I", "I", "I", "I", "I", "I", + "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", + "S", "S", "S", "S", "S", "S", "S", "S", + "U", "U", "U", "U", "U", "U", "U", + "M", "M", "M", "M", "M", "M", + "R", "R", "R", "R", "R", "R", + "E", "E", "E", "E", "E", + "T", "T", "T", "T", "T", + "C", "C", "C", "C", + "P", "P", "P", "P", + "D", "D", "D", "D", "D", + "L", "L", "L", "L", "L", + "N", "N", "N", "N", + "B", "B", "B", + "Ç", "Ç", + "F", "F", + "G", "G", + "H", "H", + "V", "V", + "J", "J", + "Q", + "X", + "Z" + ], + + "letterValues": { + " ": 0, + "A": 1, + "I": 1, + "O": 1, + "S": 1, + "U": 1, + "M": 1, + "R": 1, + "E": 1, + "T": 1, + "C": 2, + "P": 2, + "D": 2, + "L": 2, + "N": 3, + "B": 3, + "Ç": 3, + "F": 4, + "G": 4, + "H": 4, + "V": 4, + "J": 5, + "Q": 6, + "X": 8, + "Z": 8 + } +}