mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-25 14:36:29 +01:00
updates to crowdin.yml and the localization workflow
This commit is contained in:
parent
9148270784
commit
39ef3da5df
2 changed files with 12 additions and 9 deletions
20
.github/workflows/localization.yml
vendored
20
.github/workflows/localization.yml
vendored
|
@ -4,15 +4,17 @@
|
|||
name: Crowdin Action
|
||||
|
||||
# Controls when the action will run.
|
||||
on:
|
||||
on: workflow_dispatch
|
||||
# Only run when started manually
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
uploadTranslations:
|
||||
description: "Set to true to upload (changed) translations to Crowdin"
|
||||
type: boolean
|
||||
required: true
|
||||
default: false
|
||||
|
||||
#:
|
||||
# inputs:
|
||||
# uploadTranslations:
|
||||
# description: "Set to true to upload (changed) translations to Crowdin"
|
||||
# type: boolean
|
||||
# required: true
|
||||
# default: false
|
||||
|
||||
#schedule:
|
||||
#- cron: '0 */6 * * *' # Every 6 hours - https://crontab.guru/#0_*/6_*_*_*
|
||||
|
||||
|
@ -30,7 +32,7 @@ jobs:
|
|||
# Upload sources to Crowdin
|
||||
upload_sources: true
|
||||
# Upload translations to Crowdin, only use true at initial run
|
||||
upload_translations: ${{ github.event.inputs.uploadTranslations }}
|
||||
upload_translations: false
|
||||
# Make pull request of Crowdin translations
|
||||
download_translations: true
|
||||
# To download translations to the specified version branch
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
"languages_mapping": {
|
||||
"locale_with_underscore": {
|
||||
"cs": "cs_cz",
|
||||
"cy": "cy_gb",
|
||||
"da": "da_dk",
|
||||
"de": "de_de",
|
||||
"eo": "eo_uy",
|
||||
|
|
Loading…
Reference in a new issue