Skip to content
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

Merged
merged 1 commit into from
Feb 12, 2019
Merged

Conversation

timroes
Copy link
Contributor

@timroes timroes commented Feb 12, 2019

Summary

Fixes the i18n framework documentation.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@timroes timroes added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Project:i18n v7.0.0 v8.0.0 v7.2.0 labels Feb 12, 2019
@elasticmachine
Copy link
Contributor

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.
Copy link
Contributor Author

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.'
Copy link
Contributor Author

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.

Copy link
Contributor

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

Copy link
Contributor

@maryia-lapata maryia-lapata left a 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.'
Copy link
Contributor

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

@timroes timroes changed the title Fix i18n documentation Fix i18n documentation [skip ci] Feb 12, 2019
@timroes
Copy link
Contributor Author

timroes commented Feb 12, 2019

Doc only change, don't need to wait for CI (I actually forgot skip ci initially in the title)

@timroes timroes merged commit b099a61 into elastic:master Feb 12, 2019
@timroes timroes deleted the fix-i18n-docs branch February 12, 2019 13:29
timroes added a commit to timroes/kibana that referenced this pull request Feb 12, 2019
timroes added a commit to timroes/kibana that referenced this pull request Feb 12, 2019
@elasticmachine
Copy link
Contributor

💔 Build Failed

timroes added a commit that referenced this pull request Feb 12, 2019
timroes added a commit that referenced this pull request Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Project:i18n Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.0.0 v7.2.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants