-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Translations for tutorial common #22071
Conversation
While review, please take a look at this change https://github.com/elastic/kibana/pull/22071/files#diff-0ecec7148543bea6ae26878ede20ce1eL202. Looks like misspelling in path |
💔 Build Failed |
retest |
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
bb8acb0
to
78056cc
Compare
💔 Build Failed |
78056cc
to
e0bcbfc
Compare
💚 Build Succeeded |
…s/tutorial-common
💚 Build Succeeded |
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.
Found some spot to look at.
defaultMessage: 'Download and install Filebeat', | ||
}), | ||
textPre: i18n.translate('kbn.common.tutorials.filebeatInstructions.install.windowsTextPre', { | ||
// eslint-disable-next-line |
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.
Let's change this to eslint-disable-next-line no-multi-str
so that not every eslint rule will be disabled
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.
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', { |
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.
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', { |
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.
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', { |
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.
kbn.common.tutorials.filebeatInstructions.plugins.geoipTextPre
}, | ||
DEB: { | ||
title: 'Enable and configure the ' + moduleName + ' module', | ||
title: i18n.translate('kbn.common.tutorials.filebeatEnableInstructions.devTitle', { |
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.
kbn.common.tutorials.filebeatEnableInstructions.debTitle
}, | ||
DEB: { | ||
title: 'Enable and configure the ' + moduleName + ' module', | ||
title: i18n.translate('kbn.common.tutorials.metricbeatEnableInstructions.devTitle', { |
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.
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\ |
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 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
💚 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', { |
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.
kbn.common.tutorials.filebeatInstructions.install.rpmTextPost
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.
found one more duplicated string ID
💚 Build Succeeded |
defaultMessage: 'Download and install Filebeat', | ||
}), | ||
textPre: i18n.translate('kbn.common.tutorials.filebeatInstructions.install.windowsTextPre', { | ||
// eslint-disable-next-line no-multi-str |
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.
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\ |
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.
'... 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\ |
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.
Same typo here
💔 Build Failed |
retest |
💔 Build Failed |
retest |
💚 Build Succeeded |
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
* 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
#21957