mirror of https://github.com/go-gitea/gitea
Use Crowdin action for translation sync (#30054)
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.pull/30184/head
parent
b535c6ca7b
commit
f32ce753f6
@ -0,0 +1,12 @@ |
||||
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" |
Loading…
Reference in new issue