Skip to content

Commit

Permalink
Fix missing Featured Image translations (#4464)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jhnstn committed Jan 14, 2022
1 parent c02c750 commit 628e86f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
4 changes: 2 additions & 2 deletions bundle/android/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ translators: %s: Select control button label e.g. "Button width" -->
<string name="gutenberg_native_problem_displaying_block" tools:ignore="UnusedResources">Problem displaying block</string>
<string name="gutenberg_native_problem_opening_the_audio" tools:ignore="UnusedResources">Problem opening the audio</string>
<string name="gutenberg_native_problem_opening_the_video" tools:ignore="UnusedResources">Problem opening the video</string>
<string name="gutenberg_native_remove_as_featured_image" tools:ignore="UnusedResources">Remove as Featured Image </string>
<string name="gutenberg_native_remove_as_featured_image" tools:ignore="UnusedResources">Remove as Featured Image</string>
<string name="gutenberg_native_remove_block" tools:ignore="UnusedResources">Remove block</string>
<string name="gutenberg_native_replace_audio" tools:ignore="UnusedResources">Replace audio</string>
<string name="gutenberg_native_replace_current_block" tools:ignore="UnusedResources">Replace Current Block</string>
Expand Down Expand Up @@ -311,7 +311,7 @@ translators: Block name. %s: The localized block name -->
<!-- translators: %s: Select font size option value e.g: "Selected: Large".
translators: %s: Select control option value e.g: "Auto, 25%". -->
<string name="gutenberg_native_selected_s" tools:ignore="UnusedResources">Selected: %s</string>
<string name="gutenberg_native_set_as_featured_image" tools:ignore="UnusedResources">Set as Featured Image </string>
<string name="gutenberg_native_set_as_featured_image" tools:ignore="UnusedResources">Set as Featured Image</string>
<string name="gutenberg_native_show_post_content" tools:ignore="UnusedResources">Show post content</string>
<!-- translators: Slash inserter autocomplete results -->
<string name="gutenberg_native_slash_inserter_results" tools:ignore="UnusedResources">Slash inserter results</string>
Expand Down
4 changes: 2 additions & 2 deletions bundle/ios/GutenbergNativeTranslations.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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: "")
Expand All @@ -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: "")
Expand Down

0 comments on commit 628e86f

Please sign in to comment.