mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-17 11:45:05 +02:00
Change default language to en-US and add US language (#6621)
This commit is contained in:
@@ -3,7 +3,7 @@ A script to update language progress status in README.md based on
|
||||
frontend locale TOML file comparisons.
|
||||
|
||||
This script compares the default (reference) TOML file,
|
||||
`frontend/editor/public/locales/en-GB/translation.toml`, with other translation
|
||||
`frontend/editor/public/locales/en-US/translation.toml`, with other translation
|
||||
files in `frontend/editor/public/locales/*/translation.toml`.
|
||||
It determines how many keys are fully translated and automatically updates
|
||||
progress badges in the `README.md`.
|
||||
@@ -346,7 +346,7 @@ def main() -> None:
|
||||
# Project layout assumptions
|
||||
cwd = os.getcwd()
|
||||
locales_dir = os.path.join(cwd, "frontend", "editor", "public", "locales")
|
||||
reference_file = os.path.join(locales_dir, "en-GB", "translation.toml")
|
||||
reference_file = os.path.join(locales_dir, "en-US", "translation.toml")
|
||||
scripts_directory = os.path.join(cwd, "scripts")
|
||||
translation_state_file = os.path.join(scripts_directory, "ignore_translation.toml")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user