mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Move crowdin.yml to .github directory
This commit is contained in:
28
.github/crowdin.yml
vendored
Normal file
28
.github/crowdin.yml
vendored
Normal 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"
|
||||
}
|
||||
]
|
||||
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -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 }}
|
||||
|
||||
|
||||
1
.github/workflows/translations.yml
vendored
1
.github/workflows/translations.yml
vendored
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user