Skip to content

Commit 226e58f

Browse files
authored
VPN-7713 Improve Siri translations (#11446) (#11447)
1 parent 2162829 commit 226e58f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/utils/generate_xcstrings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def load_xliff_translations(xliff_path, isEnglish):
4848

4949

5050
def using_app_placeholder(value):
51-
return value.replace("%@", "\\(.applicationName)")
51+
return value.replace("%@", "${applicationName}")
5252

5353

5454
SPECIAL_LOCALE_MAP = {
@@ -180,7 +180,7 @@ def build_phrase_section(phrase_strings, locale_translations):
180180
else:
181181
print(f"No translations found for {string_id} in {locale}")
182182

183-
return {"localizations": localizations}, error_locales
183+
return {"extractionState": "extracted_with_value", "localizations": localizations}, error_locales
184184

185185

186186
def build_appshortcuts_xcstrings(intent_phrase_array, intent_title_array, locale_translations):

0 commit comments

Comments
 (0)