chore: fix placeholders conflict for some languages issue

This commit is contained in:
CMK 2022-05-13 11:50:04 +08:00
parent 556e28362d
commit 975f8205d2
1 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ files: [
# Where translations will be placed
# e.g. "/resources/%two_letters_code%/%original_file_name%"
#
"translation" : "/Localization/StringsConvertor/input/%locale_with_underscore%/%original_file_name%",
"translation" : "/Localization/StringsConvertor/input/%osx_code%/%original_file_name%",
#
# The parameter "update_option" is optional. If it is not set, after the files update the translations for changed strings will be removed. Use to fix typos and for minor changes in the source strings
@ -26,25 +26,25 @@ files: [
{
# App info plist strings template
"source" : "/Localization/ios-infoPlist.json",
"translation" : "/Localization/StringsConvertor/input/%locale_with_underscore%/%original_file_name%",
"translation" : "/Localization/StringsConvertor/input/%osx_code%/%original_file_name%",
"update_option" : "update_as_unapproved",
},
{
# App strings dict
"source" : "/Localization/Localizable.stringsdict",
"translation" : "/Localization/StringsConvertor/input/%locale_with_underscore%/%original_file_name%",
"translation" : "/Localization/StringsConvertor/input/%osx_code%/%original_file_name%",
# "update_option" : "update_as_unapproved",
},
{
# intents strings
"source" : "/MastodonIntent/en.lproj/Intents.strings",
"translation" : "/Localization/StringsConvertor/Intents/input/%locale_with_underscore%/%original_file_name%",
"translation" : "/Localization/StringsConvertor/Intents/input/%osx_code%/%original_file_name%",
# "update_option" : "update_as_unapproved",
},
{
# intents strings dict
"source" : "/MastodonIntent/en.lproj/Intents.stringsdict",
"translation" : "/Localization/StringsConvertor/Intents/input/%locale_with_underscore%/%original_file_name%",
"translation" : "/Localization/StringsConvertor/Intents/input/%osx_code%/%original_file_name%",
# "update_option" : "update_as_unapproved",
},
]