Skip to content

Commit

Permalink
[Test] Translation Check
Browse files Browse the repository at this point in the history
  • Loading branch information
Rixxan committed May 29, 2024
1 parent bc2adfa commit 82dd7d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/push-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,7 @@ jobs:
- name: mypy type checks
run: |
./scripts/mypy-all.sh --platform win32
- name: translation checks
run: |
./scripts/find_localised_strings.py --compare-lang L10n/en.template --directory . --ignore coriolis-data
2 changes: 1 addition & 1 deletion stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def status(data: dict[str, Any]) -> list[list[str]]:
"""
# StatsResults assumes these three things are first
res = [
[tr.tl('Cmdr'), data['commander']['name']], # LANG: Cmdr stats
[tr.tl('Cmdr'), data['commander']['name']],
[tr.tl('Balance'), str(data['commander'].get('credits', 0))], # LANG: Cmdr stats
[tr.tl('Loan'), str(data['commander'].get('debt', 0))], # LANG: Cmdr stats
]
Expand Down

0 comments on commit 82dd7d4

Please sign in to comment.