This repository has been archived by the owner on Aug 9, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(i18n): localize preferences (#159)
- Loading branch information
1 parent
ab26f1e
commit 75a6cf3
Showing
3 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"str_youtube_passwd": "YouTube Password", | ||
"str_youtube_user": "YouTube Username" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
"base_path": "." | ||
"base_url": "https://api.crowdin.com" # optional (for Crowdin Enterprise only) | ||
"preserve_hierarchy": true # false will flatten tree on crowdin, but doesn't work with dest option | ||
"pull_request_labels": [ | ||
"crowdin", | ||
"l10n" | ||
] | ||
|
||
"files": [ | ||
{ | ||
"source": "/Contents/Strings/en.json", | ||
"dest": "/retroarcher-plex.json", | ||
"translation": "/Contents/Strings/%two_letters_code%.%file_extension%", | ||
"languages_mapping": { | ||
"two_letters_code": { | ||
# map non-two letter codes here, left side is crowdin designation, right side is plex designation | ||
"en-GB": "en-gb", | ||
"en-US": "en-us" | ||
} | ||
}, | ||
"update_option": "update_as_unapproved" | ||
} | ||
] |