Support for the Portuguese Board language
authorRaphaël Jakse <raphael.trivabble@jakse.fr>
Sun, 17 May 2020 09:14:25 +0000 (11:14 +0200)
committerRaphaël Jakse <raphael.trivabble@jakse.fr>
Sun, 17 May 2020 09:14:25 +0000 (11:14 +0200)
l10n/po/fr/trivabble.po
l10n/pot/trivabble.pot
server/lang/pt.json [new file with mode: 0644]

index 97c8cd0d2b26c5ea5235216b7b06e6d45639f097..45e16610940795776653aa4055c5bfb7a085279a 100644 (file)
@@ -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}"
 
index 85e62eca787afd0494cbc9202ef64ada99919249..207a001cc7735170da06f713079ced21b9b988cb 100644 (file)
@@ -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 (file)
index 0000000..8390ad8
--- /dev/null
@@ -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
+    }
+}