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

Commit

Permalink
build(i18n): update dest options for crowdin config (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Mar 21, 2024
1 parent 3af4ac4 commit a436e51
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crowdin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
"base_path": "."
"base_url": "https://api.crowdin.com" # optional (for Crowdin Enterprise only)
"preserve_hierarchy": false # flatten tree on crowdin
"preserve_hierarchy": true # false will flatten tree on crowdin, but doesn't work with dest option
"pull_request_labels": [
"crowdin",
"l10n"
Expand All @@ -10,6 +10,7 @@
"files": [
{
"source": "/Contents/Strings/*.po",
"dest": "/%original_file_name%",
"translation": "/Contents/Strings/%two_letters_code%/LC_MESSAGES/%original_file_name%",
"languages_mapping": {
"two_letters_code": {
Expand All @@ -22,7 +23,7 @@
},
{
"source": "/Contents/Strings/en.json",
"dest": "/Contents/Strings/themerr-plex.json",
"dest": "/themerr-plex.json",
"translation": "/Contents/Strings/%two_letters_code%.%file_extension%",
"languages_mapping": {
"two_letters_code": {
Expand Down

0 comments on commit a436e51

Please sign in to comment.