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

Translations for tutorial common #22071

Merged

Conversation

yankouskia
Copy link

@yankouskia
Copy link
Author

While review, please take a look at this change https://github.com/elastic/kibana/pull/22071/files#diff-0ecec7148543bea6ae26878ede20ce1eL202. Looks like misspelling in path C:\\Program Files\\Filebeat\\metricbeat.yml instead of C:\\Program Files\\Metricbeat\\metricbeat.yml

@elasticmachine
Copy link
Contributor

💔 Build Failed

@yankouskia
Copy link
Author

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@yankouskia yankouskia force-pushed the feature/translations/tutorial-common branch from bb8acb0 to 78056cc Compare August 17, 2018 10:28
@elasticmachine
Copy link
Contributor

💔 Build Failed

@yankouskia yankouskia force-pushed the feature/translations/tutorial-common branch from 78056cc to e0bcbfc Compare August 17, 2018 11:25
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Member

@tsullivan tsullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found some spot to look at.

defaultMessage: 'Download and install Filebeat',
}),
textPre: i18n.translate('kbn.common.tutorials.filebeatInstructions.install.windowsTextPre', {
// eslint-disable-next-line
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change this to eslint-disable-next-line no-multi-str so that not every eslint rule will be disabled

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are other cases in this file too, and the comment here applies to all of them.

title: 'Install Elasticsearch GeoIP and user agent plugins',
textPre: 'This module requires two Elasticsearch plugins that are not ' +
'installed by default.\n\nFrom the Elasticsearch installation folder, run:',
title: i18n.translate('kbn.common.tutorials.filebeatInstructions.plugins.geoipUiTitle', {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this is supposed to be kbn.common.tutorials.filebeatInstructions.plugins.geoipUaTitle, not UiTitle

title: i18n.translate('kbn.common.tutorials.filebeatInstructions.plugins.geoipUiTitle', {
defaultMessage: 'Install Elasticsearch GeoIP and user agent plugins',
}),
textPre: i18n.translate('kbn.common.tutorials.filebeatInstructions.plugins.geoipUiTextPre', {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kbn.common.tutorials.filebeatInstructions.plugins.geoipUaTextPre

title: i18n.translate('kbn.common.tutorials.filebeatInstructions.plugins.geoipTitle', {
defaultMessage: 'Install Elasticsearch GeoIP plugin',
}),
textPre: i18n.translate('kbn.common.tutorials.filebeatInstructions.plugins.geoipUiTextPre', {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kbn.common.tutorials.filebeatInstructions.plugins.geoipTextPre

},
DEB: {
title: 'Enable and configure the ' + moduleName + ' module',
title: i18n.translate('kbn.common.tutorials.filebeatEnableInstructions.devTitle', {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kbn.common.tutorials.filebeatEnableInstructions.debTitle

},
DEB: {
title: 'Enable and configure the ' + moduleName + ' module',
title: i18n.translate('kbn.common.tutorials.metricbeatEnableInstructions.devTitle', {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kbn.common.tutorials.metricbeatEnableInstructions.debTitle

do not already have an account. Free 14-day trial available.\n\n\
Log into the Elastic Cloud console\n\n\
To create a cluster, in Elastic Cloud console:\n\
1. Select **Create Deployment** and specify the **Deployment Name**\n\
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it will make a difference in the output text, but let's keep the extra space of indentation in front of each number here to keep a clear outline

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

commands: [
'curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{config.kibana.version}-x86_64.rpm',
'sudo rpm -vi filebeat-{config.kibana.version}-x86_64.rpm',
],
textPost:
'Looking for the 32-bit packages? See the [Download page](https://www.elastic.co/downloads/beats/filebeat).',
textPost: i18n.translate('kbn.common.tutorials.filebeatInstructions.install.debTextPost', {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kbn.common.tutorials.filebeatInstructions.install.rpmTextPost

Copy link
Member

@tsullivan tsullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

found one more duplicated string ID

@elastic elastic deleted a comment from elasticmachine Sep 3, 2018
@elastic elastic deleted a comment from elasticmachine Sep 3, 2018
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elastic elastic deleted a comment from elasticmachine Sep 3, 2018
@maryia-lapata maryia-lapata requested review from LeanidShutau and tsullivan and removed request for tsullivan September 4, 2018 06:57
defaultMessage: 'Download and install Filebeat',
}),
textPre: i18n.translate('kbn.common.tutorials.filebeatInstructions.install.windowsTextPre', {
// eslint-disable-next-line no-multi-str
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no-multi-str rule is disabled in eslint config

2. Extract the contents of the zip file into {folderPath}.\n\
3. Rename the `{directoryName}` directory to `Filebeat`.\n\
4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select\
**Run As Administrator**). If you are running Windows XP, you might need to download and install PowerShell.\n\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'... and selectRun As Administrator) ...'
Whitespace shouldn't be removed here

2. Extract the contents of the zip file into {folderPath}.\n\
3. Rename the {directoryName} directory to `Metricbeat`.\n\
4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select\
**Run As Administrator**). If you are running Windows XP, you might need to download and install PowerShell.\n\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same typo here

@elasticmachine
Copy link
Contributor

💔 Build Failed

@maryia-lapata
Copy link
Contributor

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

@maryia-lapata
Copy link
Contributor

retest

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@LeanidShutau LeanidShutau self-requested a review September 5, 2018 12:32
@maryia-lapata maryia-lapata requested review from tsullivan and removed request for tsullivan September 5, 2018 15:17
Copy link
Member

@tsullivan tsullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@maryia-lapata maryia-lapata merged commit 8d8513c into elastic:master Sep 6, 2018
@maryia-lapata maryia-lapata deleted the feature/translations/tutorial-common branch September 6, 2018 06:55
maryia-lapata pushed a commit to maryia-lapata/kibana that referenced this pull request Sep 6, 2018
* filebeat_instructions translations

* tutorials common

* fix translations

* use unicode code

* folder path to variable

* Fix message id

* Remove disabling no-multi-str rule, remove spaces
maryia-lapata added a commit that referenced this pull request Sep 6, 2018
* filebeat_instructions translations

* tutorials common

* fix translations

* use unicode code

* folder path to variable

* Fix message id

* Remove disabling no-multi-str rule, remove spaces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants