Skip to content

Commit

Permalink
FEATURE: Add initial simplified chinese translation
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed Oct 30, 2024
1 parent ae4e303 commit bb6095d
Show file tree
Hide file tree
Showing 5 changed files with 1,378 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/windows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
cd windows
$env:VERSION=$(python return_version.py)
python return_version.py > version.txt
curl -L -o "c:\program files (x86)\inno setup 6\Languages\ChineseSimplified.isl" https://raw.githubusercontent.com/jrsoftware/issrc/refs/heads/main/Files/Languages/Unofficial/ChineseSimplified.isl
ISCC.exe /dMyAppVersion=$env:VERSION ardupilot_methodic_configurator.iss
ls Output
Expand Down
2 changes: 1 addition & 1 deletion MethodicConfigurator/internationalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import argparse
import gettext

LANGUAGE_CHOICES = ['en']
LANGUAGE_CHOICES = ['en', 'zh_CN']


def identity_function(s):
Expand Down
Binary file not shown.
Loading

0 comments on commit bb6095d

Please sign in to comment.