diff --git a/hedy_content.py b/hedy_content.py index 90952a88aad..8e5085c345d 100644 --- a/hedy_content.py +++ b/hedy_content.py @@ -18,14 +18,10 @@ # Babel has a different naming convention than Weblate and doesn't support some languages -> fix this manually CUSTOM_BABEL_LANGUAGES = {'pa_PK': 'pa_Arab_PK', 'kmr': 'ku_TR', - 'tn': 'en', - 'pap': 'en', 'tl': 'en'} # For the non-existing language manually overwrite the display language to make sure it is displayed correctly CUSTOM_LANGUAGE_TRANSLATIONS = {'kmr': 'Kurdî (Tirkiye)', - 'tn': 'Setswana', - 'pap': 'Papiamentu', 'tl': 'ᜆᜄᜎᜓᜄ᜔'} customize_babel_locale(CUSTOM_BABEL_LANGUAGES) diff --git a/requirements.txt b/requirements.txt index fabffd2c2e5..b38a5e4981c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -27,9 +27,9 @@ iso3166~=2.0.2 turtlethread>=0.0.6 pygame==2.1.2 pre-commit==2.20.0 -babel==2.11.0 +babel==2.14.0 jinja-partials==0.1.1 hypothesis>=6.75.3 tqdm==4.65.0 pytest-xdist==3.3.1 -email-validator==2.1.0.post1 \ No newline at end of file +email-validator==2.1.0.post1 diff --git a/static_babel_content.json b/static_babel_content.json index ab0a1d76c60..55a038e5b0a 100644 --- a/static_babel_content.json +++ b/static_babel_content.json @@ -55,12 +55,12 @@ "CR": "Costa Rica", "CU": "Cuba", "CV": "Kabu Verdi", - "CW": "Cura\u00e7ao", + "CW": "K\u00f2rsou", "CX": "Christmas Island", "CY": "\u039a\u03cd\u03c0\u03c1\u03bf\u03c2", "CZ": "\u010cesko", "DE": "Deutschland", - "DJ": "Jabuuti", + "DJ": "Yabuuti", "DK": "Danmark", "DM": "Dominica", "DO": "Rep\u00fablica Dominicana", @@ -97,7 +97,7 @@ "GU": "Guam", "GW": "Guin\u00e9-Bissau", "GY": "Guyana", - "HK": "\u4e2d\u570b\u9999\u6e2f", + "HK": "\u4e2d\u570b\u9999\u6e2f\u7279\u5225\u884c\u653f\u5340", "HM": "Heard Island and McDonald Islands", "HN": "Honduras", "HR": "Hrvatska", @@ -122,7 +122,7 @@ "KH": "\u1780\u1798\u17d2\u1796\u17bb\u1787\u17b6", "KI": "Kiribati", "KM": "\u062c\u0632\u0631 \u0627\u0644\u0642\u0645\u0631", - "KN": "St. Kitts & Nevis", + "KN": "St Kitts & Nevis", "KP": "\uc870\uc120\ubbfc\uc8fc\uc8fc\uc758\uc778\ubbfc\uacf5\ud654\uad6d", "KR": "\ub300\ud55c\ubbfc\uad6d", "KW": "\u0627\u0644\u0643\u0648\u064a\u062a", @@ -130,7 +130,7 @@ "KZ": "\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d", "LA": "\u0ea5\u0eb2\u0ea7", "LB": "\u0644\u0628\u0646\u0627\u0646", - "LC": "St. Lucia", + "LC": "St Lucia", "LI": "Liechtenstein", "LK": "\u0dc1\u0dca\u200d\u0dbb\u0dd3 \u0dbd\u0d82\u0d9a\u0dcf\u0dc0", "LR": "Liberia", @@ -150,14 +150,14 @@ "ML": "Mali", "MM": "\u1019\u103c\u1014\u103a\u1019\u102c", "MN": "\u041c\u043e\u043d\u0433\u043e\u043b", - "MO": "\u4e2d\u570b\u6fb3\u9580", + "MO": "\u4e2d\u570b\u6fb3\u9580\u7279\u5225\u884c\u653f\u5340", "MP": "Northern Mariana Islands", "MQ": "Martinique", "MR": "\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627", "MS": "Montserrat", "MT": "Malta", "MU": "Moris", - "MV": "Maldives", + "MV": "\u078b\u07a8\u0788\u07ac\u0780\u07a8 \u0783\u07a7\u0787\u07b0\u0796\u07ac", "MW": "Malawi", "MX": "M\u00e9xico", "MY": "Malaysia", @@ -178,7 +178,7 @@ "PA": "Panam\u00e1", "PE": "Per\u00fa", "PF": "Polyn\u00e9sie fran\u00e7aise", - "PG": "Papua New Guinea", + "PG": "Papua Niugini", "PH": "Philippines", "PK": "\u067e\u0627\u06a9\u0633\u062a\u0627\u0646", "PL": "Polska", @@ -188,7 +188,7 @@ "PS": "\u0627\u0644\u0623\u0631\u0627\u0636\u064a \u0627\u0644\u0641\u0644\u0633\u0637\u064a\u0646\u064a\u0629", "PT": "Portugal", "PW": "Palau", - "PY": "Paraguay", + "PY": "Paraguai", "QA": "\u0642\u0637\u0631", "RE": "La R\u00e9union", "RO": "Rom\u00e2nia", @@ -201,7 +201,7 @@ "SD": "\u0627\u0644\u0633\u0648\u062f\u0627\u0646", "SE": "Sverige", "SG": "Singapore", - "SH": "St. Helena", + "SH": "St Helena", "SI": "Slovenija", "SJ": "Svalbard og Jan Mayen", "SK": "Slovensko", @@ -214,7 +214,7 @@ "ST": "S\u00e3o Tom\u00e9 e Pr\u00edncipe", "SV": "El Salvador", "SX": "Sint Maarten", - "SY": "\u0633\u0648\u0631\u064a\u0627", + "SY": "Syrian Arab Republic", "SZ": "Eswatini", "TC": "Turks & Caicos Islands", "TD": "Tchad", @@ -239,7 +239,7 @@ "UY": "Uruguay", "UZ": "O\u02bbzbekiston", "VA": "Citt\u00e0 del Vaticano", - "VC": "St. Vincent & Grenadines", + "VC": "St Vincent & the Grenadines", "VE": "Venezuela", "VG": "British Virgin Islands", "VI": "U.S. Virgin Islands", @@ -280,9 +280,11 @@ "ja": "\u65e5\u672c\u8a9e", "kmr": "Kurd\u00ee (Tirkiye)", "ko": "\ud55c\uad6d\uc5b4", + "mi": "M\u0101ori", "nb_NO": "Norsk Bokm\u00e5l (Norge)", "nl": "Nederlands", "pa_PK": "\u067e\u0646\u062c\u0627\u0628\u06cc (\u0639\u0631\u0628\u06cc, \u067e\u0627\u06a9\u0633\u062a\u0627\u0646)", + "pap": "Papiamentu", "pl": "Polski", "pt_BR": "Portugu\u00eas (Brasil)", "pt_PT": "Portugu\u00eas (Portugal)", @@ -295,6 +297,7 @@ "te": "\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41", "th": "\u0e44\u0e17\u0e22", "tl": "Filipino (Pilipinas)", + "tn": "Setswana", "tr": "T\u00fcrk\u00e7e", "uk": "\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430", "ur": "\u0627\u0631\u062f\u0648", @@ -328,9 +331,11 @@ "ja": "ltr", "kmr": "ltr", "ko": "ltr", + "mi": "ltr", "nb_NO": "ltr", "nl": "ltr", "pa_PK": "rtl", + "pap": "ltr", "pl": "ltr", "pt_BR": "ltr", "pt_PT": "ltr", @@ -343,6 +348,7 @@ "te": "ltr", "th": "ltr", "tl": "ltr", + "tn": "ltr", "tr": "ltr", "uk": "ltr", "ur": "rtl", diff --git a/translations/tn/LC_MESSAGES/messages.po b/translations/tn/LC_MESSAGES/messages.po index 8dbbf459433..438f4a83675 100644 --- a/translations/tn/LC_MESSAGES/messages.po +++ b/translations/tn/LC_MESSAGES/messages.po @@ -1418,7 +1418,7 @@ msgstr "Learn more" #, fuzzy msgid "nav_start" -msgstr "Home" +msgstr "Legae" #, fuzzy msgid "nested blocks"