Skip to content

Commit

Permalink
fix i18n whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic committed May 4, 2020
1 parent e224b59 commit e175cb6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ import { i18n } from '@kbn/i18n';

export * from '../case_view/translations';

export const ALREADY_PUSHED_TO_SERVICE = (serviceName: string) =>
i18n.translate('xpack.siem.case.caseView.alreadyPushedToService', {
values: { serviceName },
defaultMessage: 'Already pushed to { serviceName } incident',
export const ALREADY_PUSHED_TO_SERVICE = (externalService: string) =>
i18n.translate('xpack.siem.case.caseView.alreadyPushedToExternalService', {
values: { externalService },
defaultMessage: 'Already pushed to { externalService } incident',
});

export const REQUIRED_UPDATE_TO_SERVICE = (serviceName: string) =>
i18n.translate('xpack.siem.case.caseView.requiredUpdateToService', {
values: { serviceName },
defaultMessage: 'Requires update to { serviceName } incident',
export const REQUIRED_UPDATE_TO_SERVICE = (externalService: string) =>
i18n.translate('xpack.siem.case.caseView.requiredUpdateToExternalService', {
values: { externalService },
defaultMessage: 'Requires update to { externalService } incident',
});

export const COPY_REFERENCE_LINK = i18n.translate('xpack.siem.case.caseView.copyCommentLinkAria', {
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -13149,7 +13149,6 @@
"xpack.siem.case.caseView.actionLabel.pushedNewIncident": "新しいインシデントとしてプッシュしました",
"xpack.siem.case.caseView.actionLabel.removedField": "削除しました",
"xpack.siem.case.caseView.actionLabel.updateIncident": "インシデントを更新しました",
"xpack.siem.case.caseView.alreadyPushedToService": "既に ServiceNow インシデントにプッシュされました",
"xpack.siem.case.caseView.backLabel": "ケースに戻る",
"xpack.siem.case.caseView.breadcrumb": "作成",
"xpack.siem.case.caseView.cancel": "キャンセル",
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -13156,7 +13156,6 @@
"xpack.siem.case.caseView.actionLabel.pushedNewIncident": "已推送为新事件",
"xpack.siem.case.caseView.actionLabel.removedField": "移除了",
"xpack.siem.case.caseView.actionLabel.updateIncident": "更新了事件",
"xpack.siem.case.caseView.alreadyPushedToService": "已推送到 Service Now 事件",
"xpack.siem.case.caseView.backLabel": "返回到案例",
"xpack.siem.case.caseView.breadcrumb": "创建",
"xpack.siem.case.caseView.cancel": "取消",
Expand Down

0 comments on commit e175cb6

Please sign in to comment.