Skip to content
This repository was archived by the owner on Oct 13, 2024. It is now read-only.

Commit a436e51

Browse files
build(i18n): update dest options for crowdin config (#408)
1 parent 3af4ac4 commit a436e51

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

crowdin.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
"base_path": "."
33
"base_url": "https://api.crowdin.com" # optional (for Crowdin Enterprise only)
4-
"preserve_hierarchy": false # flatten tree on crowdin
4+
"preserve_hierarchy": true # false will flatten tree on crowdin, but doesn't work with dest option
55
"pull_request_labels": [
66
"crowdin",
77
"l10n"
@@ -10,6 +10,7 @@
1010
"files": [
1111
{
1212
"source": "/Contents/Strings/*.po",
13+
"dest": "/%original_file_name%",
1314
"translation": "/Contents/Strings/%two_letters_code%/LC_MESSAGES/%original_file_name%",
1415
"languages_mapping": {
1516
"two_letters_code": {
@@ -22,7 +23,7 @@
2223
},
2324
{
2425
"source": "/Contents/Strings/en.json",
25-
"dest": "/Contents/Strings/themerr-plex.json",
26+
"dest": "/themerr-plex.json",
2627
"translation": "/Contents/Strings/%two_letters_code%.%file_extension%",
2728
"languages_mapping": {
2829
"two_letters_code": {

0 commit comments

Comments
 (0)