Skip to content

Translations for tutorial common#22071

Merged
maryia-lapata merged 12 commits intoelastic:masterfrom
yankouskia:feature/translations/tutorial-common
Sep 6, 2018
Merged

Translations for tutorial common#22071
maryia-lapata merged 12 commits intoelastic:masterfrom
yankouskia:feature/translations/tutorial-common

Conversation

@yankouskia
Copy link
Copy Markdown

@yankouskia
Copy link
Copy Markdown
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
Copy Markdown
Contributor

💔 Build Failed

@yankouskia
Copy link
Copy Markdown
Author

retest

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

💚 Build Succeeded

@yankouskia yankouskia requested a review from tsullivan August 28, 2018 15:00
],
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

💔 Build Failed

@maryia-lapata
Copy link
Copy Markdown
Contributor

retest

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@maryia-lapata
Copy link
Copy Markdown
Contributor

retest

@elasticmachine
Copy link
Copy Markdown
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
Copy Markdown
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