Skip to content

Commit 278e2e0

Browse files
committed
Ship the widget App Intents strings in the widget extension bundle
The system resolves the widget configuration UI's strings against the app bundle on iOS 26 but against the widget extension bundle on iOS 17, and a package resource bundle is never consulted (verified on simulators). The extension therefore ships static copies of the GlotPress-maintained ios-widget. keys for the older resolution path.
1 parent d6e04c2 commit 278e2e0

34 files changed

Lines changed: 381 additions & 0 deletions
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* Static copies of the widget configuration strings, under the same `ios-widget.`-prefixed
2+
keys that GlotPress maintains in the app's Localizable.strings. iOS 17 resolves the widget
3+
configuration UI's App Intents strings against this extension bundle (newer iOS versions
4+
use the app bundle), so these files must ship here. To refresh after translations change,
5+
copy the `ios-widget.gpCwrM` / `ios-widget.ILcGmf` entries from
6+
WordPress/Resources/<locale>.lproj/Localizable.strings. */
7+
8+
/* This text is used when the user is configuring the iOS widget to suggest them to select the site to configure the widget for */
9+
"ios-widget.gpCwrM" = "تحديد موقع";
10+
11+
/* This text is used when the user is configuring the iOS widget, as a label for the dropdown to select the site to configure it for */
12+
"ios-widget.ILcGmf" = "الموقع";
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* Static copies of the widget configuration strings, under the same `ios-widget.`-prefixed
2+
keys that GlotPress maintains in the app's Localizable.strings. iOS 17 resolves the widget
3+
configuration UI's App Intents strings against this extension bundle (newer iOS versions
4+
use the app bundle), so these files must ship here. To refresh after translations change,
5+
copy the `ios-widget.gpCwrM` / `ios-widget.ILcGmf` entries from
6+
WordPress/Resources/<locale>.lproj/Localizable.strings. */
7+
8+
/* This text is used when the user is configuring the iOS widget to suggest them to select the site to configure the widget for */
9+
"ios-widget.gpCwrM" = "Select Site";
10+
11+
/* This text is used when the user is configuring the iOS widget, as a label for the dropdown to select the site to configure it for */
12+
"ios-widget.ILcGmf" = "Сайт";
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* Static copies of the widget configuration strings, under the same `ios-widget.`-prefixed
2+
keys that GlotPress maintains in the app's Localizable.strings. iOS 17 resolves the widget
3+
configuration UI's App Intents strings against this extension bundle (newer iOS versions
4+
use the app bundle), so these files must ship here. To refresh after translations change,
5+
copy the `ios-widget.gpCwrM` / `ios-widget.ILcGmf` entries from
6+
WordPress/Resources/<locale>.lproj/Localizable.strings. */
7+
8+
/* This text is used when the user is configuring the iOS widget to suggest them to select the site to configure the widget for */
9+
"ios-widget.gpCwrM" = "Vybrat web";
10+
11+
/* This text is used when the user is configuring the iOS widget, as a label for the dropdown to select the site to configure it for */
12+
"ios-widget.ILcGmf" = "Web";
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* Static copies of the widget configuration strings, under the same `ios-widget.`-prefixed
2+
keys that GlotPress maintains in the app's Localizable.strings. iOS 17 resolves the widget
3+
configuration UI's App Intents strings against this extension bundle (newer iOS versions
4+
use the app bundle), so these files must ship here. To refresh after translations change,
5+
copy the `ios-widget.gpCwrM` / `ios-widget.ILcGmf` entries from
6+
WordPress/Resources/<locale>.lproj/Localizable.strings. */
7+
8+
/* This text is used when the user is configuring the iOS widget to suggest them to select the site to configure the widget for */
9+
"ios-widget.gpCwrM" = "Select Site";
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* Static copies of the widget configuration strings, under the same `ios-widget.`-prefixed
2+
keys that GlotPress maintains in the app's Localizable.strings. iOS 17 resolves the widget
3+
configuration UI's App Intents strings against this extension bundle (newer iOS versions
4+
use the app bundle), so these files must ship here. To refresh after translations change,
5+
copy the `ios-widget.gpCwrM` / `ios-widget.ILcGmf` entries from
6+
WordPress/Resources/<locale>.lproj/Localizable.strings. */
7+
8+
/* This text is used when the user is configuring the iOS widget to suggest them to select the site to configure the widget for */
9+
"ios-widget.gpCwrM" = "Select Site";
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* Static copies of the widget configuration strings, under the same `ios-widget.`-prefixed
2+
keys that GlotPress maintains in the app's Localizable.strings. iOS 17 resolves the widget
3+
configuration UI's App Intents strings against this extension bundle (newer iOS versions
4+
use the app bundle), so these files must ship here. To refresh after translations change,
5+
copy the `ios-widget.gpCwrM` / `ios-widget.ILcGmf` entries from
6+
WordPress/Resources/<locale>.lproj/Localizable.strings. */
7+
8+
/* This text is used when the user is configuring the iOS widget to suggest them to select the site to configure the widget for */
9+
"ios-widget.gpCwrM" = "Website auswählen";
10+
11+
/* This text is used when the user is configuring the iOS widget, as a label for the dropdown to select the site to configure it for */
12+
"ios-widget.ILcGmf" = "Website";
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* Static copies of the widget configuration strings, under the same `ios-widget.`-prefixed
2+
keys that GlotPress maintains in the app's Localizable.strings. iOS 17 resolves the widget
3+
configuration UI's App Intents strings against this extension bundle (newer iOS versions
4+
use the app bundle), so these files must ship here. To refresh after translations change,
5+
copy the `ios-widget.gpCwrM` / `ios-widget.ILcGmf` entries from
6+
WordPress/Resources/<locale>.lproj/Localizable.strings. */
7+
8+
/* This text is used when the user is configuring the iOS widget to suggest them to select the site to configure the widget for */
9+
"ios-widget.gpCwrM" = "Select Site";
10+
11+
/* This text is used when the user is configuring the iOS widget, as a label for the dropdown to select the site to configure it for */
12+
"ios-widget.ILcGmf" = "Site";
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* Static copies of the widget configuration strings, under the same `ios-widget.`-prefixed
2+
keys that GlotPress maintains in the app's Localizable.strings. iOS 17 resolves the widget
3+
configuration UI's App Intents strings against this extension bundle (newer iOS versions
4+
use the app bundle), so these files must ship here. To refresh after translations change,
5+
copy the `ios-widget.gpCwrM` / `ios-widget.ILcGmf` entries from
6+
WordPress/Resources/<locale>.lproj/Localizable.strings. */
7+
8+
/* This text is used when the user is configuring the iOS widget to suggest them to select the site to configure the widget for */
9+
"ios-widget.gpCwrM" = "Select Site";
10+
11+
/* This text is used when the user is configuring the iOS widget, as a label for the dropdown to select the site to configure it for */
12+
"ios-widget.ILcGmf" = "Site";
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* Static copies of the widget configuration strings, under the same `ios-widget.`-prefixed
2+
keys that GlotPress maintains in the app's Localizable.strings. iOS 17 resolves the widget
3+
configuration UI's App Intents strings against this extension bundle (newer iOS versions
4+
use the app bundle), so these files must ship here. To refresh after translations change,
5+
copy the `ios-widget.gpCwrM` / `ios-widget.ILcGmf` entries from
6+
WordPress/Resources/<locale>.lproj/Localizable.strings. */
7+
8+
/* This text is used when the user is configuring the iOS widget to suggest them to select the site to configure the widget for */
9+
"ios-widget.gpCwrM" = "Select Site";
10+
11+
/* This text is used when the user is configuring the iOS widget, as a label for the dropdown to select the site to configure it for */
12+
"ios-widget.ILcGmf" = "Site";
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* Static copies of the widget configuration strings, under the same `ios-widget.`-prefixed
2+
keys that GlotPress maintains in the app's Localizable.strings. iOS 17 resolves the widget
3+
configuration UI's App Intents strings against this extension bundle (newer iOS versions
4+
use the app bundle), so these files must ship here. To refresh after translations change,
5+
copy the `ios-widget.gpCwrM` / `ios-widget.ILcGmf` entries from
6+
WordPress/Resources/<locale>.lproj/Localizable.strings. */
7+
8+
/* This text is used when the user is configuring the iOS widget to suggest them to select the site to configure the widget for */
9+
"ios-widget.gpCwrM" = "Select Site";
10+
11+
/* This text is used when the user is configuring the iOS widget, as a label for the dropdown to select the site to configure it for */
12+
"ios-widget.ILcGmf" = "Site";

0 commit comments

Comments
 (0)