mirror of
https://github.com/go-gitea/gitea
synced 2024-11-14 14:14:25 +00:00
f32ce753f6
Switch from the old self-built action to the official one. We get: - config managed inside the repo - automatic upload when source file changes - automatic invalidation if source string changes (tested) - automatic download of new translation files Tested both upload and download.
13 lines
372 B
YAML
13 lines
372 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.ini"
|
|
translation: "/options/locale/locale_%locale%.ini"
|
|
type: "ini"
|
|
skip_untranslated_strings: true
|
|
export_only_approved: true
|
|
update_option: "update_as_unapproved"
|