From f5bafa156a6be52129095c435f0d06306730efe5 Mon Sep 17 00:00:00 2001 From: Derek Blank Date: Thu, 28 Sep 2023 12:18:32 +1000 Subject: [PATCH 1/6] Release script: Update gb mobile version to 1.105.0 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index d3407a48c9..026a26e3dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "gutenberg-mobile", - "version": "1.104.0", + "version": "1.105.0", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 388bd2ffc5..1ea110d228 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gutenberg-mobile", - "version": "1.104.0", + "version": "1.105.0", "private": true, "config": { "jsfiles": "./*.js src/*.js src/**/*.js src/**/**/*.js", From 0126a577be4a00db9dde842accb693b1fe61ef87 Mon Sep 17 00:00:00 2001 From: Derek Blank Date: Thu, 28 Sep 2023 12:19:21 +1000 Subject: [PATCH 2/6] Release script: Update gutenberg ref --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index 5b286b720c..95faeade92 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit 5b286b720c14ae2f9c5832954a3c0f1d9a5fa13a +Subproject commit 95faeade92713d9ac20eae88025a6a2c8f5b8b73 From 5e6fc5c793cbcd04d56bc618ca21fd094d2206d6 Mon Sep 17 00:00:00 2001 From: Derek Blank Date: Thu, 28 Sep 2023 12:26:45 +1000 Subject: [PATCH 3/6] Release script: Update bundle for: 1.105.0 --- bundle/android/strings.xml | 14 ++++++++++---- bundle/ios/GutenbergNativeTranslations.swift | 12 ++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/bundle/android/strings.xml b/bundle/android/strings.xml index adee6cfc53..1ffc35818b 100644 --- a/bundle/android/strings.xml +++ b/bundle/android/strings.xml @@ -47,6 +47,7 @@ audio file Audio Player + Block cannot be rendered because it is deeply nested. Tap here for more details. Block copied @@ -65,6 +66,10 @@ Blocks allow you to focus on writing your content, knowing that all the formatting tools you need are there to help you get your message across. Blocks are pieces of content that you can insert, rearrange, and style without needing to know how to code. Blocks are an easy and modern way for you to create beautiful layouts. Blocks menu + + Blocks nested deeper than %d levels may not render properly in the mobile editor. For this reason, we recommend flattening the content by ungrouping the block or editing the block using your web browser. + + Blocks nested deeper than %d levels may not render properly in the mobile editor. For this reason, we recommend flattening the content by ungrouping the block or editing the block using the web editor. Border Radius Border Settings Briefly describe the link to help screen reader user @@ -106,6 +111,7 @@ Customize blocks Customize Gradient Cut block + Deeply nested block Describe the purpose of the image. Leave empty if decorative. Dismiss Double tap and hold to edit @@ -348,10 +354,9 @@ translators: %s: Select control option value e.g: "Auto, 25%". --> Slash inserter results Some blocks have additional settings. Tap the settings icon on the bottom right of the block to view more options. Start writing… - Take a Photo - Take a Photo or Video - Take a Video + Synced patterns Tap here to show help + Tap here to show more details. Tap to hide the keyboard Text color Text formatting controls are located within the toolbar positioned above the keyboard while editing a text block @@ -368,6 +373,7 @@ translators: %s: Select control option value e.g: "Auto, 25%". --> Two Type a URL Unable to embed media + Ungroup block Unlabeled color. %s Unsupported @@ -380,6 +386,7 @@ translators: %s: Select control option value e.g: "Auto, 25%". --> Video caption. Empty Video caption. %s + Warning message We are working hard to add more blocks with each release. We’re working hard on adding support for %s previews. In the meantime, you can preview the embedded content on the page. @@ -389,7 +396,6 @@ translators: %s: Select control option value e.g: "Auto, 25%". --> What is a block? What is alt text? Width Settings - WordPress Media Library X-Axis Position Y-Axis Position You can also rearrange blocks by tapping a block and then tapping the up and down arrows that appear on the bottom left side of the block to move it up or down. diff --git a/bundle/ios/GutenbergNativeTranslations.swift b/bundle/ios/GutenbergNativeTranslations.swift index 1d1bc3336c..ec8145bede 100644 --- a/bundle/ios/GutenbergNativeTranslations.swift +++ b/bundle/ios/GutenbergNativeTranslations.swift @@ -54,6 +54,7 @@ private func dummy() { _ = NSLocalizedString("Audio caption. Empty", comment: "translators: accessibility text. Empty Audio caption.") _ = NSLocalizedString("audio file", comment: "translators: displays audio file extension. e.g. MP3 audio file") _ = NSLocalizedString("Audio Player", comment: "") + _ = NSLocalizedString("Block cannot be rendered because it is deeply nested. Tap here for more details.", comment: "") _ = NSLocalizedString("Block copied", comment: "translators: displayed right after the block is copied.") _ = NSLocalizedString("Block cut", comment: "translators: displayed right after the block is cut.") _ = NSLocalizedString("Block duplicated", comment: "translators: displayed right after the block is duplicated.") @@ -65,6 +66,8 @@ private func dummy() { _ = NSLocalizedString("Blocks allow you to focus on writing your content, knowing that all the formatting tools you need are there to help you get your message across.", comment: "") _ = NSLocalizedString("Blocks are pieces of content that you can insert, rearrange, and style without needing to know how to code. Blocks are an easy and modern way for you to create beautiful layouts.", comment: "") _ = NSLocalizedString("Blocks menu", comment: "") + _ = NSLocalizedString("Blocks nested deeper than %d levels may not render properly in the mobile editor. For this reason, we recommend flattening the content by ungrouping the block or editing the block using the web editor.", comment: "translators: Warning related to having blocks deeply nested. %d: The deepest nesting level.") + _ = NSLocalizedString("Blocks nested deeper than %d levels may not render properly in the mobile editor. For this reason, we recommend flattening the content by ungrouping the block or editing the block using your web browser.", comment: "translators: Warning related to having blocks deeply nested. %d: The deepest nesting level.") _ = NSLocalizedString("Border Radius", comment: "") _ = NSLocalizedString("Border Settings", comment: "") _ = NSLocalizedString("Briefly describe the link to help screen reader user", comment: "") @@ -102,6 +105,7 @@ private func dummy() { _ = NSLocalizedString("Customize blocks", comment: "") _ = NSLocalizedString("Customize Gradient", comment: "") _ = NSLocalizedString("Cut block", comment: "") + _ = NSLocalizedString("Deeply nested block", comment: "") _ = NSLocalizedString("Describe the purpose of the image. Leave empty if decorative.", comment: "") _ = NSLocalizedString("Dismiss", comment: "") _ = NSLocalizedString("Double tap and hold to edit", comment: "") @@ -292,10 +296,9 @@ private func dummy() { _ = NSLocalizedString("Slash inserter results", comment: "translators: Slash inserter autocomplete results") _ = NSLocalizedString("Some blocks have additional settings. Tap the settings icon on the bottom right of the block to view more options.", comment: "") _ = NSLocalizedString("Start writing…", comment: "") - _ = NSLocalizedString("Take a Photo", comment: "") - _ = NSLocalizedString("Take a Photo or Video", comment: "") - _ = NSLocalizedString("Take a Video", comment: "") + _ = NSLocalizedString("Synced patterns", comment: "") _ = NSLocalizedString("Tap here to show help", comment: "") + _ = NSLocalizedString("Tap here to show more details.", comment: "") _ = NSLocalizedString("Tap to hide the keyboard", comment: "") _ = NSLocalizedString("Text color", comment: "") _ = NSLocalizedString("Text formatting controls are located within the toolbar positioned above the keyboard while editing a text block", comment: "") @@ -311,6 +314,7 @@ private func dummy() { _ = NSLocalizedString("Two", comment: "") _ = NSLocalizedString("Type a URL", comment: "") _ = NSLocalizedString("Unable to embed media", comment: "") + _ = NSLocalizedString("Ungroup block", comment: "") _ = NSLocalizedString("Unlabeled color. %s", comment: "translators: %s: the hex color value") _ = NSLocalizedString("Unsupported", comment: "") _ = NSLocalizedString("Updates the title.", comment: "") @@ -320,6 +324,7 @@ private func dummy() { _ = NSLocalizedString("Use icon button", comment: "") _ = NSLocalizedString("Video caption. %s", comment: "translators: accessibility text. %s: video caption.") _ = NSLocalizedString("Video caption. Empty", comment: "translators: accessibility text. Empty video caption.") + _ = NSLocalizedString("Warning message", comment: "") _ = NSLocalizedString("We are working hard to add more blocks with each release.", comment: "") _ = NSLocalizedString("We’re working hard on adding support for %s previews. In the meantime, you can preview the embedded content on the page.", comment: "translators: %s: embed block variant's label e.g: \"Twitter\".") _ = NSLocalizedString("We’re working hard on adding support for %s previews. In the meantime, you can preview the embedded content on the post.", comment: "translators: %s: embed block variant's label e.g: \"Twitter\".") @@ -327,7 +332,6 @@ private func dummy() { _ = NSLocalizedString("What is a block?", comment: "") _ = NSLocalizedString("What is alt text?", comment: "") _ = NSLocalizedString("Width Settings", comment: "") - _ = NSLocalizedString("WordPress Media Library", comment: "") _ = NSLocalizedString("X-Axis Position", comment: "") _ = NSLocalizedString("Y-Axis Position", comment: "") _ = NSLocalizedString("You can also rearrange blocks by tapping a block and then tapping the up and down arrows that appear on the bottom left side of the block to move it up or down.", comment: "") From 25cc00519308640e26ad1abbdb9d614c7e54fcb2 Mon Sep 17 00:00:00 2001 From: Derek Blank Date: Thu, 28 Sep 2023 12:26:56 +1000 Subject: [PATCH 4/6] Release script: Sync XCFramework `Podfile.lock` with 1.105.0 --- ios-xcframework/Podfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios-xcframework/Podfile.lock b/ios-xcframework/Podfile.lock index 1179d7c0aa..baff241b8e 100644 --- a/ios-xcframework/Podfile.lock +++ b/ios-xcframework/Podfile.lock @@ -424,7 +424,7 @@ PODS: - React-RCTImage - RNSVG (13.9.0): - React-Core - - RNTAztecView (1.104.0): + - RNTAztecView (1.105.0): - React-Core - WordPress-Aztec-iOS (= 1.19.9) - SDWebImage (5.11.1): @@ -659,7 +659,7 @@ SPEC CHECKSUMS: RNReanimated: 21e1e71d7f1ac9f2fa11df37c06a8ec52ed06232 RNScreens: e3ffdd78ff5afe8ec82c2566ee2410857ed5ce75 RNSVG: 29dd0ac32d83774d4b0953ae92a5cd8205a782d7 - RNTAztecView: dfbe69cb1448f08b29846616fbb79d79f21968b3 + RNTAztecView: 4b0ffdbaa58dcbf73b63403a888a2334fc4465dd SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d WordPress-Aztec-iOS: fbebd569c61baa252b3f5058c0a2a9a6ada686bb From e36823980c8775c62527df8484e26f7e809d6b97 Mon Sep 17 00:00:00 2001 From: Derek Blank Date: Thu, 28 Sep 2023 13:51:45 +1000 Subject: [PATCH 5/6] Update RELEASE-NOTES --- RELEASE-NOTES.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index dd85631e56..06e79b821e 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,5 +1,8 @@ Unreleased --- + +1.105.0 +--- * [*] Prevent crashes when setting an invalid media URL for Video or Audio blocks [https://github.com/wordpress-mobile/gutenberg-mobile/pull/6235] * [*] Limit inner blocks nesting depth to avoid call stack size exceeded crash [https://github.com/wordpress-mobile/gutenberg-mobile/pull/6191] * [**] Fallback to Twitter provider when embedding X URLs [https://github.com/WordPress/gutenberg/pull/54876] From 5ac4d8be84db8e6bc8431862d97f9d7e6729872a Mon Sep 17 00:00:00 2001 From: Carlos Garcia Date: Thu, 28 Sep 2023 10:51:07 +0200 Subject: [PATCH 6/6] Add missing localization strings --- bundle/android/strings.xml | 3 +++ bundle/ios/GutenbergNativeTranslations.swift | 3 +++ 2 files changed, 6 insertions(+) diff --git a/bundle/android/strings.xml b/bundle/android/strings.xml index 1ffc35818b..94f059cf70 100644 --- a/bundle/android/strings.xml +++ b/bundle/android/strings.xml @@ -355,6 +355,8 @@ translators: %s: Select control option value e.g: "Auto, 25%". --> Some blocks have additional settings. Tap the settings icon on the bottom right of the block to view more options. Start writing… Synced patterns + Take a Photo + Take a Video Tap here to show help Tap here to show more details. Tap to hide the keyboard @@ -396,6 +398,7 @@ translators: %s: Select control option value e.g: "Auto, 25%". --> What is a block? What is alt text? Width Settings + WordPress Media Library X-Axis Position Y-Axis Position You can also rearrange blocks by tapping a block and then tapping the up and down arrows that appear on the bottom left side of the block to move it up or down. diff --git a/bundle/ios/GutenbergNativeTranslations.swift b/bundle/ios/GutenbergNativeTranslations.swift index ec8145bede..2764f25c13 100644 --- a/bundle/ios/GutenbergNativeTranslations.swift +++ b/bundle/ios/GutenbergNativeTranslations.swift @@ -297,6 +297,8 @@ private func dummy() { _ = NSLocalizedString("Some blocks have additional settings. Tap the settings icon on the bottom right of the block to view more options.", comment: "") _ = NSLocalizedString("Start writing…", comment: "") _ = NSLocalizedString("Synced patterns", comment: "") + _ = NSLocalizedString("Take a Photo", comment: "") + _ = NSLocalizedString("Take a Video", comment: "") _ = NSLocalizedString("Tap here to show help", comment: "") _ = NSLocalizedString("Tap here to show more details.", comment: "") _ = NSLocalizedString("Tap to hide the keyboard", comment: "") @@ -332,6 +334,7 @@ private func dummy() { _ = NSLocalizedString("What is a block?", comment: "") _ = NSLocalizedString("What is alt text?", comment: "") _ = NSLocalizedString("Width Settings", comment: "") + _ = NSLocalizedString("WordPress Media Library", comment: "") _ = NSLocalizedString("X-Axis Position", comment: "") _ = NSLocalizedString("Y-Axis Position", comment: "") _ = NSLocalizedString("You can also rearrange blocks by tapping a block and then tapping the up and down arrows that appear on the bottom left side of the block to move it up or down.", comment: "")