Move crowdin.yml to .github directory

This commit is contained in:
JustArchi
2021-05-09 13:40:00 +02:00
parent 5a5a4462f8
commit 5b5d62d1e8
3 changed files with 2 additions and 0 deletions

28
.github/crowdin.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
"preserve_hierarchy": true
"files": [
{
"source": "/ArchiSteamFarm/Localization/Strings.resx",
"translation": "/ArchiSteamFarm/Localization/Strings.%locale%.resx",
"translation_replace": {
".lol-US.resx": ".qps-Ploc.resx",
".sr-CS.resx": ".sr-Latn.resx"
}
},
{
"source": "/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/Localization/Strings.resx",
"translation": "/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/Localization/Strings.%locale%.resx",
"translation_replace": {
".lol-US.resx": ".qps-Ploc.resx",
".sr-CS.resx": ".sr-Latn.resx"
}
},
{
"source": "/wiki/*.md",
"translation": "/wiki/locale/%locale%/%file_name%-%locale%.%file_extension%",
"ignore": [ "/**/_*.md" ]
},
{
"source": "/wiki/_Sidebar.md",
"translation": "/wiki/locale/%locale%/_Sidebar.md"
}
]

View File

@@ -66,6 +66,7 @@ jobs:
uses: crowdin/github-action@1.1.0
with:
crowdin_branch_name: main
config: '.github/crowdin.yml'
project_id: ${{ secrets.ASF_CROWDIN_PROJECT_ID }}
token: ${{ secrets.ASF_CROWDIN_API_TOKEN }}

View File

@@ -32,6 +32,7 @@ jobs:
skip_untranslated_strings: true
push_translations: false
crowdin_branch_name: main
config: '.github/crowdin.yml'
project_id: ${{ secrets.ASF_CROWDIN_PROJECT_ID }}
token: ${{ secrets.ASF_CROWDIN_API_TOKEN }}