Skip to content

Commit 2ffb11b

Browse files
Lu Sufacebook-github-bot
authored andcommitted
Fix broken android extraction/translation pipeline (#37292)
Summary: Pull Request resolved: #37292 <level:mustfix> <name:i18n.error> Failed extracting strings from file: <../xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/res/devsupport/values/strings.xml> From IntlAndroidResourceExtractionException: Failed extracting resource catalyst_dev_menu_header From InvariantViolationException: Format specifiers must be wrapped by an xliff:g tag (FBLogger Parent Frame: /var/sandcastle/deployment/mount/54023/flib/intern/intl/extraction/StringExtractionLogger.php:43) https://www.internalfb.com/skycastle/run/1932044240142241285/insights Changelog: [Internal] [Changed] - Fix broken pipelines Differential Revision: D45615679 fbshipit-source-id: 64b2bae542c6bd0e3d5e25d3054ea916d52b0325
1 parent 1d0be6d commit 2ffb11b

File tree

1 file changed

+3
-3
lines changed
  • packages/react-native/ReactAndroid/src/main/res/devsupport/values

1 file changed

+3
-3
lines changed

packages/react-native/ReactAndroid/src/main/res/devsupport/values/strings.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<resources>
2+
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
33
<string name="catalyst_reload" project="catalyst" translatable="false">Reload</string>
44
<string name="catalyst_reload_error" project="catalyst" translatable="false">Failed to load bundle. Try restarting the bundler or reconnecting your device.</string>
55
<string name="catalyst_change_bundle_location" project="catalyst" translatable="false">Change Bundle Location</string>
@@ -26,6 +26,6 @@
2626
<string name="catalyst_loading_from_url" project="catalyst" translatable="false">Loading from %1$s…</string>
2727
<string name="catalyst_sample_profiler_disable" project="catalyst" translatable="false">Disable Sampling Profiler</string>
2828
<string name="catalyst_sample_profiler_enable" project="catalyst" translatable="false">Enable Sampling Profiler</string>
29-
<string name="catalyst_dev_menu_header">React Native Dev Menu (%1$s)</string>
30-
<string name="catalyst_dev_menu_sub_header">Running %1$s</string>
29+
<string name="catalyst_dev_menu_header">React Native Dev Menu <xliff:g id="menu_header_name">(%1$s)</xliff:g></string>
30+
<string name="catalyst_dev_menu_sub_header">Running <xliff:g id="menu_sub_header_name">%1$s</xliff:g></string>
3131
</resources>

0 commit comments

Comments
 (0)