New strings for popup for clear translations - #19682
Merged
Merged
Conversation
Contributor
|
| App Name | WordPress |
|
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Version | pr19682-657c40b | |
| Commit | 657c40b | |
| Direct Download | wordpress-prototype-build-pr19682-657c40b.apk |
Contributor
|
| App Name | Jetpack |
|
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Version | pr19682-657c40b | |
| Commit | 657c40b | |
| Direct Download | jetpack-prototype-build-pr19682-657c40b.apk |
AliSoftware
approved these changes
Nov 28, 2023
AliSoftware
left a comment
Contributor
There was a problem hiding this comment.
That is indeed the right thing to do: strings should be considered immutable, and changing them should require you to use a new key (like you did here 👍) instead of changing the copy of an existing key, especially if the new copy is not just a to fix but changes the meaning. This immutability rule is exactly to avoid the kind of issue you encountered here. 😉
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
The strings originally associated with the image optimization popup were updated in #19581. Instead of informing users that optimization is off by default, the popup should now inform users of the new on-by-default state.
However, as we only updated existing strings, the old message was still displaying in languages with outdated translations. This means the popup would display misleading and incorrect information for those with languages other than
English (United States)selected. For example, the below compares the expected translation compared to what is currently displaying whenEnglish (United Kingdom)is selected.With this PR, we now remove the old, now-redundant strings and replace them with completely new strings. As such, languages without translations will display the default English strings.
To Test
English (United States).Regression Notes
Potential unintended areas of impact
What I did to test those areas of impact (or what existing automated tests I relied on)
What automated tests I added (or what prevented me from doing so)
PR Submission Checklist:
RELEASE-NOTES.txtif necessary.UI Changes Testing Checklist: