-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correctly internationalize new UI access key placeholder name #574
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice fix
@@ -97,7 +97,7 @@ | |||
"gcp-firewall-create-3": "Type '0.0.0.0/0' in the 'Source IP ranges' field.", | |||
"gcp-firewall-create-4": "Select 'Allow all' under 'Protocols and ports'.", | |||
"gcp-firewall-create-5": "Click 'Create'.", | |||
"key": "Key", | |||
"key": "Key {keyId}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alalamav Do we need to update the messages in all languages before releasing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this will break non-English displayed names for unnamed keys to just say whatever the word is for "key"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would break translations. We have two options: wait for the new string to come out the tranlsation pipeline before importing it, or updating the string for all languages now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed, see my below comment. This PR is now a no-op until we send the strings out for translation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the question on waiting on the messages, the change looks good to me.
Thanks for the quick fix Jon!
This simply replicates the existing messages so we can release the Data Limits UI without waiting for these strings to be translated.
Added back the key ID to non-English languages to replicate what we're already doing so this won't block the Data Limits UI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Localized messages LGTM
* Correctly internationalize new UI access key placeholder name * Add back the keyID for non-English languages This simply replicates the existing messages so we can release the Data Limits UI without waiting for these strings to be translated. * Specify that keyId will be a number
* Correctly internationalize new UI access key placeholder name * Add back the keyID for non-English languages This simply replicates the existing messages so we can release the Data Limits UI without waiting for these strings to be translated. * Specify that keyId will be a number
No description provided.