feat: Add Russian translation to firmware 🇷🇺 (#4067)

This commit is contained in:
kobakirill
2023-10-20 12:13:45 +10:00
committed by GitHub
parent 1ca1c92087
commit 7322084fb8
31 changed files with 43080 additions and 7 deletions
+2 -1
View File
@@ -15,7 +15,7 @@ def is_special_char(c):
def get_special_chars():
result = {}
for lang in["cn", "cz", "da", "de", "en", "es", "fi", "fr", "he", "it", "jp", "nl", "pl", "pt", "se", "tw"]:
for lang in["cn", "cz", "da", "de", "en", "es", "fi", "fr", "he", "it", "jp", "nl", "pl", "pt", "ru", "se", "tw"]:
charset = set()
tools_path = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(tools_path, "../radio/src/translations/%s.h" % lang), encoding='utf-8') as f:
@@ -68,6 +68,7 @@ special_chars_BW = {
"it": "àù",
"pl": "ąćęłńóśżźĄĆĘŁŃÓŚŻŹ",
"pt": "ÁáÂâÃãÀàÇçÉéÊêÍíÓóÔôÕõÚú",
"ru": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя",
"se": "åäöÅÄÖ",
"cn": "",
"tw": "",