mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-20 08:42:59 +08:00
Migrate from the current INI format to JSON for translations. JSON is widely supported, including by platforms such as Crowdin and Weblate.
13 lines
375 B
YAML
13 lines
375 B
YAML
project_id_env: CROWDIN_PROJECT_ID
|
|
api_token_env: CROWDIN_KEY
|
|
base_path: "."
|
|
base_url: "https://api.crowdin.com"
|
|
preserve_hierarchy: true
|
|
files:
|
|
- source: "/options/locale/locale_en-US.json"
|
|
translation: "/options/locale/locale_%locale%.json"
|
|
type: "json"
|
|
skip_untranslated_strings: true
|
|
export_only_approved: true
|
|
update_option: "update_as_unapproved"
|