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 |
tsullivan
left a comment
There was a problem hiding this comment.
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.
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.
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.
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.
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.
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.
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.
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.
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 |
| ], | ||
| 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.
kbn.common.tutorials.filebeatInstructions.install.rpmTextPost
tsullivan
left a comment
There was a problem hiding this comment.
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.
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.
'... 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\ |
💔 Build Failed |
|
retest |
💔 Build Failed |
|
retest |
💚 Build Succeeded |
* 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