mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-19 14:25:09 +03:00
fix: Danish special characters on B&W radios (#2271)
* Dannish special characters * Danish special characters * Danish special characters * Danish special characters * Danish special characters * Danish special characters * chore: Reset header to `copyright-header` template `tools/copyright-header.txt` template is what should be used. Also added line at EoF to make git happy Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
parent
435e4c86f5
commit
3b2f07ae85
13 changed files with 120 additions and 13 deletions
|
@ -14,7 +14,7 @@ def is_special_char(c):
|
|||
|
||||
def get_special_chars():
|
||||
result = {}
|
||||
for lang in["en", "fr", "de", "cz", "nl", "es", "fi", "it", "pl", "pt", "se", "cn", "tw"]:
|
||||
for lang in["en", "fr", "da", "de", "cz", "nl", "es", "fi", "it", "pl", "pt", "se", "cn", "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:
|
||||
|
@ -58,6 +58,7 @@ def get_chars_encoding(subset):
|
|||
special_chars_BW = {
|
||||
"en": "",
|
||||
"fr": "éèàîç",
|
||||
"da": "åæøÅÆØ",
|
||||
"de": "ÄäÖöÜüß",
|
||||
"cz": "áčéěíóřšúůýÁÍŘÝžÉ",
|
||||
"nl": "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue