-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Fix i18n documentation [skip ci] #30818
Conversation
Pinging @elastic/kibana-platform |
@@ -62,7 +62,7 @@ Messages can contain placeholders for embedding a value of a variable. For examp | |||
} | |||
``` | |||
|
|||
Mostly such placeholders have meaningful name according to the сontent. |
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.
The first letter was actually a Russian с
(s) and not a latin c
:-)
@@ -175,7 +175,7 @@ export function getGreetingMessage(userName) { | |||
return i18n.translate('hello.wonderful.world', { | |||
defaultMessage: 'Greetings, {name}!', | |||
values: { name: userName }, | |||
context: 'This is greeting message for main screen.' |
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.
I think that property has been renamed over time, and it's now called description
.
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.
right, thank you for fixing it
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.
LGTM
@@ -175,7 +175,7 @@ export function getGreetingMessage(userName) { | |||
return i18n.translate('hello.wonderful.world', { | |||
defaultMessage: 'Greetings, {name}!', | |||
values: { name: userName }, | |||
context: 'This is greeting message for main screen.' |
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.
right, thank you for fixing it
Doc only change, don't need to wait for CI (I actually forgot |
💔 Build Failed |
Summary
Fixes the i18n framework documentation.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.[ ] This was checked for cross-browser compatibility, including a check against IE11[ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support[ ] Unit or functional tests were updated or added to match the most common scenarios[ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers
[ ] This was checked for breaking API changes and was labeled appropriately[ ] This includes a feature addition or change that requires a release note and was labeled appropriately