Skip to content

Commit

Permalink
fix i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Mar 23, 2023
1 parent 8f1fadd commit f991e5a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ export const ScheduleNowActionName: FC<ScheduleNowActionNameProps> = ({

if (isBulkAction === true) {
completedBatchTransformMessage = i18n.translate(
'xpack.transform.transformList.completeBatchTransformBulkActionToolTip',
'xpack.transform.transformList.cannotScheduleNowCompleteBatchTransformBulkActionToolTip',
{
defaultMessage:
'One or more transforms are completed batch transforms and cannot be scheduled now.',
}
);
} else {
completedBatchTransformMessage = i18n.translate(
'xpack.transform.transformList.completeBatchTransformToolTip',
'xpack.transform.transformList.cannotScheduleNowCompleteBatchTransformToolTip',
{
defaultMessage: '{transformId} is a completed batch transform and cannot be scheduled now.',
values: { transformId: items[0] && items[0].config.id },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const StartActionName: FC<StartActionNameProps> = ({
}
);
completedBatchTransformMessage = i18n.translate(
'xpack.transform.transformList.completeBatchTransformBulkActionToolTip',
'xpack.transform.transformList.cannotStartCompleteBatchTransformBulkActionToolTip',
{
defaultMessage:
'One or more transforms are completed batch transforms and cannot be restarted.',
Expand All @@ -91,7 +91,7 @@ export const StartActionName: FC<StartActionNameProps> = ({
}
);
completedBatchTransformMessage = i18n.translate(
'xpack.transform.transformList.completeBatchTransformToolTip',
'xpack.transform.transformList.cannotRestartCompleteBatchTransformToolTip',
{
defaultMessage: '{transformId} is a completed batch transform and cannot be restarted.',
values: { transformId: items[0] && items[0].config.id },
Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/translations/translations/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -36140,7 +36140,6 @@
"xpack.transform.transformList.bulkResetTransformSuccessMessage": "Réinitialisation réussie de {count} {count, plural, one {transformation} other {transformations}}.",
"xpack.transform.transformList.bulkStartModalTitle": "Démarrer {count} {count, plural, one {transformation} other {transformations}} ?",
"xpack.transform.transformList.bulkStopModalTitle": "Arrêter {count} {count, plural, one {transformation} other {transformations}} ?",
"xpack.transform.transformList.completeBatchTransformToolTip": "{transformId} est une transformation par lots terminée et ne peut pas être redémarrée.",
"xpack.transform.transformList.deleteModalTitle": "Supprimer {transformId} ?",
"xpack.transform.transformList.deleteTransformErrorMessage": "Une erreur s'est produite lors de la suppression de la transformation {transformId}",
"xpack.transform.transformList.deleteTransformSuccessMessage": "La requête pour supprimer la transformation {transformId} a été reconnue.",
Expand Down Expand Up @@ -36432,7 +36431,6 @@
"xpack.transform.transformHealth.yellowLabel": "Dégradé",
"xpack.transform.transformList.alertingRules.screenReaderDescription": "Cette colonne affiche une icône lorsqu'il existe des règles d'alerte associées à une transformation",
"xpack.transform.transformList.cloneActionNameText": "Cloner",
"xpack.transform.transformList.completeBatchTransformBulkActionToolTip": "Une ou plusieurs transformations sont des transformations par lots terminées et ne peuvent pas être redémarrées.",
"xpack.transform.transformList.createAlertRuleNameText": "Créer une règle d'alerte",
"xpack.transform.transformList.createTransformButton": "Créer une transformation",
"xpack.transform.transformList.deleteActionDisabledToolTipContent": "Arrêtez la transformation pour pouvoir la supprimer.",
Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -36119,7 +36119,6 @@
"xpack.transform.transformList.bulkResetTransformSuccessMessage": "{count}個の{count, plural, other {変換}}が正常にリセットされました。",
"xpack.transform.transformList.bulkStartModalTitle": "{count}個の{count, plural, other {変換}}を開始しますか?",
"xpack.transform.transformList.bulkStopModalTitle": "{count}個のを{count, plural, other {変換}}停止しますか?",
"xpack.transform.transformList.completeBatchTransformToolTip": "{transformId} は完了済みの一斉変換で、再度開始できません。",
"xpack.transform.transformList.deleteModalTitle": "{transformId}を削除しますか?",
"xpack.transform.transformList.deleteTransformErrorMessage": "変換 {transformId} の削除中にエラーが発生しました",
"xpack.transform.transformList.deleteTransformSuccessMessage": "変換 {transformId} の削除リクエストが受け付けられました。",
Expand Down Expand Up @@ -36411,7 +36410,6 @@
"xpack.transform.transformHealth.yellowLabel": "劣化",
"xpack.transform.transformList.alertingRules.screenReaderDescription": "アラートルールがが変換に関連付けられているときには、この列にアイコンが表示されます",
"xpack.transform.transformList.cloneActionNameText": "クローンを作成",
"xpack.transform.transformList.completeBatchTransformBulkActionToolTip": "1 つまたは複数の変換が完了済みの一斉変換で、再度開始できません。",
"xpack.transform.transformList.createAlertRuleNameText": "アラートルールを作成",
"xpack.transform.transformList.createTransformButton": "変換の作成",
"xpack.transform.transformList.deleteActionDisabledToolTipContent": "削除するにはデータフレームジョブを停止してください。",
Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -36135,7 +36135,6 @@
"xpack.transform.transformList.bulkResetTransformSuccessMessage": "已成功重置 {count} 个{count, plural, other {转换}}。",
"xpack.transform.transformList.bulkStartModalTitle": "启动 {count} 个{count, plural, other {转换}}?",
"xpack.transform.transformList.bulkStopModalTitle": "停止 {count} 个{count, plural, other {转换}}?",
"xpack.transform.transformList.completeBatchTransformToolTip": "{transformId} 为已完成批量转换,无法重新启动。",
"xpack.transform.transformList.deleteModalTitle": "删除 {transformId}?",
"xpack.transform.transformList.deleteTransformErrorMessage": "删除转换 {transformId} 时发生错误",
"xpack.transform.transformList.deleteTransformSuccessMessage": "删除转换 {transformId} 的请求已确认。",
Expand Down Expand Up @@ -36427,7 +36426,6 @@
"xpack.transform.transformHealth.yellowLabel": "已降级",
"xpack.transform.transformList.alertingRules.screenReaderDescription": "存在与转换关联的告警规则时,此列显示图标",
"xpack.transform.transformList.cloneActionNameText": "克隆",
"xpack.transform.transformList.completeBatchTransformBulkActionToolTip": "一个或多个转换为已完成批量转换,无法重新启动。",
"xpack.transform.transformList.createAlertRuleNameText": "创建告警规则",
"xpack.transform.transformList.createTransformButton": "创建转换",
"xpack.transform.transformList.deleteActionDisabledToolTipContent": "停止数据帧作业,以便将其删除。",
Expand Down

0 comments on commit f991e5a

Please sign in to comment.