updates to crowdin.yml and the localization workflow

This commit is contained in:
zelophed 2023-06-03 12:45:24 +02:00
parent 9148270784
commit 39ef3da5df
2 changed files with 12 additions and 9 deletions

View File

@ -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

View File

@ -11,6 +11,7 @@
"languages_mapping": {
"locale_with_underscore": {
"cs": "cs_cz",
"cy": "cy_gb",
"da": "da_dk",
"de": "de_de",
"eo": "eo_uy",