From 628e86fb4cb3ec3d15d0dc2edd75ce834b2fca0a Mon Sep 17 00:00:00 2001 From: Jason Johnston Date: Fri, 14 Jan 2022 16:30:00 -0500 Subject: [PATCH] Fix missing Featured Image translations (#4464) * Update Gutenberg submodule Also include the Android strings for verifcation * Add both platform strings * Revert debugging changes * Correct platform strings * Update release notes * Update Gutenberg ref --- RELEASE-NOTES.txt | 1 + bundle/android/strings.xml | 4 ++-- bundle/ios/GutenbergNativeTranslations.swift | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index fe8500c4f9..06b765519c 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -3,6 +3,7 @@ Unreleased * [**] Fix content justification attribute in Buttons block [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4451] * [*] Hide help button from Unsupported Block Editor. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4352/] * [*] Add contrast checker to text-based blocks [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4357] +* [*] Fix missing Featured Image translations [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4464] 1.69.0 --- diff --git a/bundle/android/strings.xml b/bundle/android/strings.xml index 48f6b6f53f..997b59b395 100644 --- a/bundle/android/strings.xml +++ b/bundle/android/strings.xml @@ -260,7 +260,7 @@ translators: %s: Select control button label e.g. "Button width" --> Problem displaying block Problem opening the audio Problem opening the video - Remove as Featured Image + Remove as Featured Image Remove block Replace audio Replace Current Block @@ -311,7 +311,7 @@ translators: Block name. %s: The localized block name --> Selected: %s - Set as Featured Image + Set as Featured Image Show post content Slash inserter results diff --git a/bundle/ios/GutenbergNativeTranslations.swift b/bundle/ios/GutenbergNativeTranslations.swift index 1a39a75e1e..ff4ab43da3 100644 --- a/bundle/ios/GutenbergNativeTranslations.swift +++ b/bundle/ios/GutenbergNativeTranslations.swift @@ -238,7 +238,7 @@ private func dummy() { _ = NSLocalizedString("Problem displaying block", comment: "") _ = NSLocalizedString("Problem opening the audio", comment: "") _ = NSLocalizedString("Problem opening the video", comment: "") - _ = NSLocalizedString("Remove as Featured Image ", comment: "") + _ = NSLocalizedString("Remove as Featured Image", comment: "") _ = NSLocalizedString("Remove block", comment: "") _ = NSLocalizedString("Replace audio", comment: "") _ = NSLocalizedString("Replace Current Block", comment: "") @@ -260,7 +260,7 @@ private func dummy() { _ = NSLocalizedString("Select a layout", comment: "") _ = NSLocalizedString("Selected: %s", comment: "translators: %s: Select font size option value e.g: \"Selected: Large\".\ntranslators: %s: Select control option value e.g: \"Auto, 25%\".") _ = NSLocalizedString("Selected: Default", comment: "") - _ = NSLocalizedString("Set as Featured Image ", comment: "") + _ = NSLocalizedString("Set as Featured Image", comment: "") _ = NSLocalizedString("Show post content", comment: "") _ = 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: "")