diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index c30c0d740f..b7ec22c042 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -3,6 +3,7 @@ Unreleased * [*] Give multi-line block names central alignment in inserter [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4343] * [**] Fix missing translations by refactoring the editor initialization code [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4332] * [**] Add Jetpack and Layout Grid translations [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4359] +* [*] Add missing translations of unsupported block editor modal [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4410] 1.68.0 --- diff --git a/bundle/android/strings.xml b/bundle/android/strings.xml index 612632d384..d68ef53e3c 100644 --- a/bundle/android/strings.xml +++ b/bundle/android/strings.xml @@ -231,11 +231,13 @@ translators: %s: Select control button label e.g. "Button width" --> No preview available Note: Column layout may vary between themes and screen sizes Note: Layout may vary between themes and screen sizes + Note: You must allow WordPress.com login to edit this block in the mobile editor. Number of columns Once you become familiar with the names of different blocks, you can add a block by typing a forward slash followed by the block name — for example, /image or /heading. Only show excerpt OPEN Open Block Actions Menu + Open Jetpack Security settings Open link in a browser Open Settings Outside @@ -350,5 +352,6 @@ translators: %s: Select control option value e.g: "Auto, 25%". --> WordPress Media Library X–Axis Position Y–Axis Position + You can edit this block using the web version of the editor. You can 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 above or below other blocks. diff --git a/bundle/ios/GutenbergNativeTranslations.swift b/bundle/ios/GutenbergNativeTranslations.swift index d895444888..a5a69c01d5 100644 --- a/bundle/ios/GutenbergNativeTranslations.swift +++ b/bundle/ios/GutenbergNativeTranslations.swift @@ -214,11 +214,13 @@ private func dummy() { _ = NSLocalizedString("No preview available", comment: "") _ = NSLocalizedString("Note: Column layout may vary between themes and screen sizes", comment: "") _ = NSLocalizedString("Note: Layout may vary between themes and screen sizes", comment: "") + _ = NSLocalizedString("Note: You must allow WordPress.com login to edit this block in the mobile editor.", comment: "") _ = NSLocalizedString("Number of columns", comment: "") _ = NSLocalizedString("Once you become familiar with the names of different blocks, you can add a block by typing a forward slash followed by the block name — for example, /image or /heading.", comment: "") _ = NSLocalizedString("Only show excerpt", comment: "") _ = NSLocalizedString("OPEN", comment: "") _ = NSLocalizedString("Open Block Actions Menu", comment: "") + _ = NSLocalizedString("Open Jetpack Security settings", comment: "") _ = NSLocalizedString("Open link in a browser", comment: "") _ = NSLocalizedString("Open Settings", comment: "") _ = NSLocalizedString("Outside", comment: "") @@ -293,4 +295,5 @@ private func dummy() { _ = NSLocalizedString("WordPress Media Library", comment: "") _ = NSLocalizedString("X-Axis Position", comment: "") _ = NSLocalizedString("Y-Axis Position", comment: "") + _ = NSLocalizedString("You can edit this block using the web version of the editor.", comment: "") _ = NSLocalizedString("You can 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 above or below other blocks.", comment: "") diff --git a/package.json b/package.json index 07bfeb05f9..5740d6d041 100644 --- a/package.json +++ b/package.json @@ -74,9 +74,11 @@ "update:wpcli": "bin/wp-cli.phar cli update --nightly --yes && bin/wp-cli.phar --info", "prewp": "npm run install:wpcli && npm run update:wpcli", "wp": "php -d memory_limit=4G bin/wp-cli.phar", + "makepot:android:gutenberg-mobile": "npm run wp -- i18n make-pot ./src --include=*.js,*.native.js,*.android.js --exclude=test/* --subtract=./gutenberg.pot --ignore-domain gutenberg-mobile-android.pot", "makepot:android:gutenberg": "npm run wp -- i18n make-pot ./gutenberg/packages --include=*.native.js,*.android.js --exclude=test/*,e2e-tests/*,build/*,build-module/*,build-style/* --skip-php --subtract=./gutenberg.pot --ignore-domain gutenberg-android.pot", "makepot:android:jetpack": "npm run wp -- i18n make-pot ./jetpack/projects/plugins/jetpack/extensions --include=*.native.js,*.android.js --exclude=test/*,e2e-tests/*,build/*,build-module/*,build-style/* --skip-php --subtract=./jetpack.pot --domain=jetpack jetpack-android.pot", "makepot:android:layout-grid": "npm run wp -- i18n make-pot ./block-experiments/blocks/layout-grid --include=*.native.js,*.android.js --exclude=test/*,e2e-tests/*,build/*,build-module/*,build-style/* --skip-php --subtract=./layout-grid.pot --domain=layout-grid layout-grid-android.pot", + "makepot:ios:gutenberg-mobile": "npm run wp -- i18n make-pot ./src --include=*.js,*.native.js,*.ios.js --exclude=test/* --subtract=./gutenberg.pot --ignore-domain gutenberg-mobile-ios.pot", "makepot:ios:gutenberg": "npm run wp -- i18n make-pot ./gutenberg/packages --include=*.native.js,*.ios.js --exclude=test/*,e2e-tests/*,build/*,build-module/*,build-style/* --skip-php --subtract=./gutenberg.pot --ignore-domain gutenberg-ios.pot", "makepot:ios:jetpack": "npm run wp -- i18n make-pot ./jetpack/projects/plugins/jetpack/extensions --include=*.native.js,*.ios.js --exclude=test/*,e2e-tests/*,build/*,build-module/*,build-style/* --skip-php --subtract=./jetpack.pot --domain=jetpack jetpack-ios.pot", "makepot:ios:layout-grid": "npm run wp -- i18n make-pot ./block-experiments/blocks/layout-grid --include=*.native.js,*.ios.js --exclude=test/*,e2e-tests/*,build/*,build-module/*,build-style/* --skip-php --subtract=./layout-grid.pot --domain=layout-grid layout-grid-ios.pot", @@ -87,8 +89,8 @@ "makepot:layout-grid": "npm run wp -- i18n make-pot ./block-experiments/blocks/layout-grid --exclude=test/*,e2e-tests/*,build/*,build-module/*,build-style/*,*.native.js,*.ios.js,*.android.js,bundle/* --domain=layout-grid layout-grid.pot", "pregenstrings": "npm run makepot:gutenberg && npm run makepot:jetpack && npm run makepot:layout-grid", "genstrings": "npm run genstrings:android && npm run genstrings:ios", - "genstrings:android": "npm run makepot:android:gutenberg && npm run makepot:android:jetpack && npm run makepot:android:layout-grid && ./bin/po2android.js bundle/android/strings.xml gutenberg-android.pot jetpack-android.pot layout-grid-android.pot", - "genstrings:ios": "npm run makepot:ios:gutenberg && npm run makepot:ios:jetpack && npm run makepot:ios:layout-grid && ./bin/po2swift.js bundle/ios/GutenbergNativeTranslations.swift gutenberg-ios.pot jetpack-ios.pot layout-grid-ios.pot", + "genstrings:android": "npm run makepot:android:gutenberg && npm run makepot:android:gutenberg-mobile && npm run makepot:android:jetpack && npm run makepot:android:layout-grid && ./bin/po2android.js bundle/android/strings.xml gutenberg-android.pot gutenberg-mobile-android.pot jetpack-android.pot layout-grid-android.pot", + "genstrings:ios": "npm run makepot:ios:gutenberg && npm run makepot:ios:gutenberg-mobile && npm run makepot:ios:jetpack && npm run makepot:ios:layout-grid && ./bin/po2swift.js bundle/ios/GutenbergNativeTranslations.swift gutenberg-ios.pot gutenberg-mobile-ios.pot jetpack-ios.pot layout-grid-ios.pot", "prewpandroid": "rm -Rf $TMPDIR/gbmobile-wpandroidfakernroot && mkdir $TMPDIR/gbmobile-wpandroidfakernroot && ln -s $(cd \"$(dirname \"../../../\")\"; pwd) $TMPDIR/gbmobile-wpandroidfakernroot/android", "wpandroid": "cd gutenberg && react-native run-android --root $TMPDIR/gbmobile-wpandroidfakernroot --variant wasabiDebug --appIdSuffix beta --appFolder WordPress --main-activity=ui.WPLaunchActivity", "test": "cross-env NODE_ENV=test jest --verbose --config ./jest.config.js",