You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is not acceptable for us, because it leads to these easy to make errors going ignored and possibly making it past the code freeze stage.
I think we should be able to run the genstring output through RegEx that can match strings with the format Key "..." used with multiple values. Value "..." kept. Value "..." ignored., collect all the matches, and return them as errors.
Note: I'm aware "..." is not valid, or useful, for the RegEx, just using it to give an idea of the shape of the text to look for.
This issue was revealed by a strings generation _warning_:
[12:54:11]: ▸ Key "mySite.domain.focus.card.title" used with multiple values. Value "News" kept. Value "Reclaim your Google Domains" ignored.
Unfortunately, we don't have the tooling at the moment to translate this
warning into an error.
See wordpress-mobile/release-toolkit#446
As discussed in wordpress-mobile/WordPress-iOS#19651,
genstrings
does not throw an error upon reused keys, only a warning:That is not acceptable for us, because it leads to these easy to make errors going ignored and possibly making it past the code freeze stage.
I think we should be able to run the
genstring
output through RegEx that can match strings with the formatKey "..." used with multiple values. Value "..." kept. Value "..." ignored.
, collect all the matches, and return them as errors.Note: I'm aware
"..."
is not valid, or useful, for the RegEx, just using it to give an idea of the shape of the text to look for.See also wordpress-mobile/WordPress-iOS#20030.
The text was updated successfully, but these errors were encountered: