Skip to content

Commit

Permalink
adding i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes committed Jun 15, 2021
1 parent 82e61eb commit c051953
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/plugins/home/common/instruction_variant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* Side Public License, v 1.
*/

import { i18n } from '@kbn/i18n';

export const INSTRUCTION_VARIANT = {
ESC: 'esc',
OSX: 'osx',
Expand Down Expand Up @@ -45,7 +47,9 @@ const DISPLAY_MAP = {
[INSTRUCTION_VARIANT.DOTNET]: '.NET',
[INSTRUCTION_VARIANT.LINUX]: 'Linux',
[INSTRUCTION_VARIANT.PHP]: 'PHP',
[INSTRUCTION_VARIANT.FLEET]: 'Elastic APM (beta) in Fleet',
[INSTRUCTION_VARIANT.FLEET]: i18n.translate('home.tutorial.instruction_variant.fleet', {
defaultMessage: 'Elastic APM (beta) in Fleet',
}),
};

/**
Expand Down

0 comments on commit c051953

Please sign in to comment.