Skip to content

Commit

Permalink
Update script about translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Aug 8, 2024
1 parent 7aa852f commit 650e147
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .docker/docker-compose-qgis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '2'

services:
qgis:
image: qgis/qgis:release-3_22
Expand Down
4 changes: 3 additions & 1 deletion .github/transifex_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# See https://transifex.github.io/openapi/index.html

LANGUAGE_MAP = {
'el': '🇬🇷',
'tr': '🇹🇷',
'nl': '🇳🇱',
'fr': '🇫🇷',
'zh': '🇨🇳',
Expand Down Expand Up @@ -165,7 +167,7 @@ def load_lang_stats(target_langs):
if lang == 'en':
continue

text += f"{target_langs[lang]['name']} {LANGUAGE_MAP.get(lang)}|"
text += f"{target_langs[lang]['name']} {LANGUAGE_MAP.get(lang, '')}|"
text += f"[={target_langs[lang]['percentage']}% \"{target_langs[lang]['percentage']}\"]|\n"

return text
Expand Down

0 comments on commit 650e147

Please sign in to comment.