mirror of
https://github.com/go-gitea/gitea
synced 2024-11-24 17:12:59 +01: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.
12 lines
372 B
YAML
12 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"
|