[Maps] add i18n wrappers around missed text (#43635)
* [Maps] add i18n wrappers around missed text * fix i18n duplicated id
This commit is contained in:
parent
14a8192f0a
commit
898c3d0d87
|
@ -15,6 +15,7 @@ import {
|
|||
EuiPopover,
|
||||
} from '@elastic/eui';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
|
||||
function getViewString(lat, lon, zoom) {
|
||||
return `${lat},${lon},${zoom}`;
|
||||
|
@ -104,7 +105,9 @@ export class SetViewControl extends Component {
|
|||
min: -90,
|
||||
max: 90,
|
||||
onChange: this._onLatChange,
|
||||
label: 'Latitude',
|
||||
label: i18n.translate('xpack.maps.setViewControl.latitudeLabel', {
|
||||
defaultMessage: 'Latitude'
|
||||
}),
|
||||
dataTestSubj: 'latitudeInput',
|
||||
});
|
||||
|
||||
|
@ -113,7 +116,9 @@ export class SetViewControl extends Component {
|
|||
min: -180,
|
||||
max: 180,
|
||||
onChange: this._onLonChange,
|
||||
label: 'Longitude',
|
||||
label: i18n.translate('xpack.maps.setViewControl.longitudeLabel', {
|
||||
defaultMessage: 'Longitude'
|
||||
}),
|
||||
dataTestSubj: 'longitudeInput',
|
||||
});
|
||||
|
||||
|
@ -122,7 +127,9 @@ export class SetViewControl extends Component {
|
|||
min: 0,
|
||||
max: 24,
|
||||
onChange: this._onZoomChange,
|
||||
label: 'Zoom',
|
||||
label: i18n.translate('xpack.maps.setViewControl.zoomLabel', {
|
||||
defaultMessage: 'Zoom'
|
||||
}),
|
||||
dataTestSubj: 'zoomInput',
|
||||
});
|
||||
|
||||
|
@ -142,7 +149,10 @@ export class SetViewControl extends Component {
|
|||
onClick={this._onSubmit}
|
||||
data-test-subj="submitViewButton"
|
||||
>
|
||||
Go
|
||||
<FormattedMessage
|
||||
id="xpack.maps.setViewControl.submitButtonLabel"
|
||||
defaultMessage="Go"
|
||||
/>
|
||||
</EuiButton>
|
||||
</EuiFormRow>
|
||||
|
||||
|
@ -161,10 +171,10 @@ export class SetViewControl extends Component {
|
|||
data-test-subj="toggleSetViewVisibilityButton"
|
||||
iconType="crosshairs"
|
||||
color="text"
|
||||
aria-label={i18n.translate('xpack.maps.viewControl.goToButtonLabel', {
|
||||
aria-label={i18n.translate('xpack.maps.setViewControl.goToButtonLabel', {
|
||||
defaultMessage: 'Go to'
|
||||
})}
|
||||
title={i18n.translate('xpack.maps.viewControl.goToButtonLabel', {
|
||||
title={i18n.translate('xpack.maps.setViewControl.goToButtonLabel', {
|
||||
defaultMessage: 'Go to'
|
||||
})}
|
||||
/>
|
||||
|
|
|
@ -18,12 +18,17 @@ import _ from 'lodash';
|
|||
import {
|
||||
DEFAULT_APPLY_GLOBAL_QUERY
|
||||
} from './constants';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export class GeojsonFileSource extends AbstractVectorSource {
|
||||
|
||||
static type = GEOJSON_FILE;
|
||||
static title = 'Upload GeoJSON vector file';
|
||||
static description = 'Upload a GeoJSON file and index in Elasticsearch';
|
||||
static title = i18n.translate('xpack.maps.source.geojsonFileTitle', {
|
||||
defaultMessage: 'Upload GeoJSON vector file'
|
||||
});
|
||||
static description = i18n.translate('xpack.maps.source.geojsonFileDescription', {
|
||||
defaultMessage: 'Upload a GeoJSON file and index in Elasticsearch'
|
||||
});
|
||||
static icon = 'importAction';
|
||||
static isIndexingSource = true;
|
||||
static isBeta = true;
|
||||
|
|
|
@ -330,9 +330,6 @@
|
|||
"common.ui.errorUrlOverflow.howTofixError.removeStuffFromDashboardText": "ダッシュボードからいくつか項目を取り除きましょう。これにより URL が短くなり、IE の動作が改善されます。",
|
||||
"common.ui.errorUrlOverflow.howTofixErrorDescription": "これは大抵大規模で複雑なダッシュボードで起こるため、いくつかのオプションがあります。",
|
||||
"common.ui.errorUrlOverflow.howTofixErrorTitle": "どうすれば良いのでしょう?",
|
||||
"kibana-react.exitFullScreenButton.exitFullScreenModeButtonAreaLabel": "全画面モードを終了",
|
||||
"kibana-react.exitFullScreenButton.exitFullScreenModeButtonLabel": "全画面を終了",
|
||||
"kibana-react.exitFullScreenButton.fullScreenModeDescription": "ESC キーで全画面モードを修了します。",
|
||||
"common.ui.fieldEditor.actions.cancelButton": "キャンセル",
|
||||
"common.ui.fieldEditor.actions.createButton": "フィールドを作成",
|
||||
"common.ui.fieldEditor.actions.deleteButton": "削除",
|
||||
|
@ -598,11 +595,47 @@
|
|||
"common.ui.visualize.queryGeohashBounds.unableToGetBoundErrorTitle": "バウンドを取得できませんでした",
|
||||
"common.ui.welcomeErrorMessage": "Kibana が正常に読み込まれませんでした。詳細はサーバーアウトプットを確認してください。",
|
||||
"common.ui.welcomeMessage": "Kibana を読み込み中",
|
||||
"kibana-react.exitFullScreenButton.exitFullScreenModeButtonAreaLabel": "全画面モードを終了",
|
||||
"kibana-react.exitFullScreenButton.exitFullScreenModeButtonLabel": "全画面を終了",
|
||||
"kibana-react.exitFullScreenButton.fullScreenModeDescription": "ESC キーで全画面モードを修了します。",
|
||||
"inspector.closeButton": "インスペクターを閉じる",
|
||||
"inspector.reqTimestampDescription": "リクエストの開始が記録された時刻です",
|
||||
"inspector.reqTimestampKey": "リクエストのタイムスタンプ",
|
||||
"inspector.title": "インスペクター",
|
||||
"inspector.view": "{viewName} を表示",
|
||||
"inspector.data.dataDescriptionTooltip": "ビジュアライゼーションの元のデータを表示",
|
||||
"inspector.data.dataTitle": "データ",
|
||||
"inspector.data.downloadCSVButtonLabel": "CSV をダウンロード",
|
||||
"inspector.data.downloadCSVToggleButtonLabel": "CSV をダウンロード",
|
||||
"inspector.data.filterForValueButtonAriaLabel": "値でフィルタリング",
|
||||
"inspector.data.filterForValueButtonTooltip": "値でフィルタリング",
|
||||
"inspector.data.filterOutValueButtonAriaLabel": "値を除外",
|
||||
"inspector.data.filterOutValueButtonTooltip": "値を除外",
|
||||
"inspector.data.formattedCSVButtonLabel": "フォーマット済み CSV",
|
||||
"inspector.data.formattedCSVButtonTooltip": "データを表形式でダウンロード",
|
||||
"inspector.data.gatheringDataLabel": "データを収集中",
|
||||
"inspector.data.noDataAvailableDescription": "エレメントがデータを提供しませんでした。",
|
||||
"inspector.data.noDataAvailableTitle": "利用可能なデータがありません",
|
||||
"inspector.data.rawCSVButtonLabel": "CSV",
|
||||
"inspector.data.rawCSVButtonTooltip": "日付をタイムスタンプとしてなど、提供されたデータをそのままダウンロードします",
|
||||
"inspector.requests.descriptionRowIconAriaLabel": "説明",
|
||||
"inspector.requests.failedLabel": " (失敗)",
|
||||
"inspector.requests.noRequestsLoggedDescription.elementHasNotLoggedAnyRequestsText": "エレメントが (まだ) リクエストを記録していません。",
|
||||
"inspector.requests.noRequestsLoggedDescription.whatDoesItUsuallyMeanText": "これは通常、データを取得する必要がないか、エレメントがまだデータの取得を開始していないことを意味します。",
|
||||
"inspector.requests.noRequestsLoggedTitle": "リクエストが記録されていません",
|
||||
"inspector.requests.requestFailedTooltipTitle": "リクエストに失敗しました",
|
||||
"inspector.requests.requestInProgressAriaLabel": "リクエスト進行中",
|
||||
"inspector.requests.requestLabel": "リクエスト",
|
||||
"inspector.requests.requestsDescriptionTooltip": "データを収集したリクエストを表示します",
|
||||
"inspector.requests.requestsTitle": "リクエスト",
|
||||
"inspector.requests.requestSucceededTooltipTitle": "リクエスト成功",
|
||||
"inspector.requests.requestTabLabel": "リクエスト",
|
||||
"inspector.requests.requestTimeLabel": "{requestTime}ms",
|
||||
"inspector.requests.requestTooltipDescription": "リクエストの合計所要時間です。",
|
||||
"inspector.requests.requestWasMadeDescription": "{requestsCount, plural, one {# リクエストが} other {# リクエストが} } 行われました{failedRequests}",
|
||||
"inspector.requests.requestWasMadeDescription.requestHadFailureText": "、{failedCount} 件に失敗がありました",
|
||||
"inspector.requests.responseTabLabel": "応答",
|
||||
"inspector.requests.statisticsTabLabel": "統計",
|
||||
"core.chrome.legacyBrowserWarning": "ご使用のブラウザが Kibana のセキュリティ要件を満たしていません。",
|
||||
"core.euiBasicTable.selectAllRows": "すべての行を選択",
|
||||
"core.euiBasicTable.selectThisRow": "この行を選択",
|
||||
|
@ -868,39 +901,6 @@
|
|||
"inputControl.vis.inputControlVis.clearFormButtonLabel": "用語を消去",
|
||||
"inputControl.vis.listControl.selectPlaceholder": "選択してください…",
|
||||
"inputControl.vis.listControl.selectTextPlaceholder": "選択してください…",
|
||||
"inspector.data.dataDescriptionTooltip": "ビジュアライゼーションの元のデータを表示",
|
||||
"inspector.data.dataTitle": "データ",
|
||||
"inspector.data.downloadCSVButtonLabel": "CSV をダウンロード",
|
||||
"inspector.data.downloadCSVToggleButtonLabel": "CSV をダウンロード",
|
||||
"inspector.data.filterForValueButtonAriaLabel": "値でフィルタリング",
|
||||
"inspector.data.filterForValueButtonTooltip": "値でフィルタリング",
|
||||
"inspector.data.filterOutValueButtonAriaLabel": "値を除外",
|
||||
"inspector.data.filterOutValueButtonTooltip": "値を除外",
|
||||
"inspector.data.formattedCSVButtonLabel": "フォーマット済み CSV",
|
||||
"inspector.data.formattedCSVButtonTooltip": "データを表形式でダウンロード",
|
||||
"inspector.data.gatheringDataLabel": "データを収集中",
|
||||
"inspector.data.noDataAvailableDescription": "エレメントがデータを提供しませんでした。",
|
||||
"inspector.data.noDataAvailableTitle": "利用可能なデータがありません",
|
||||
"inspector.data.rawCSVButtonLabel": "CSV",
|
||||
"inspector.data.rawCSVButtonTooltip": "日付をタイムスタンプとしてなど、提供されたデータをそのままダウンロードします",
|
||||
"inspector.requests.descriptionRowIconAriaLabel": "説明",
|
||||
"inspector.requests.failedLabel": " (失敗)",
|
||||
"inspector.requests.noRequestsLoggedDescription.elementHasNotLoggedAnyRequestsText": "エレメントが (まだ) リクエストを記録していません。",
|
||||
"inspector.requests.noRequestsLoggedDescription.whatDoesItUsuallyMeanText": "これは通常、データを取得する必要がないか、エレメントがまだデータの取得を開始していないことを意味します。",
|
||||
"inspector.requests.noRequestsLoggedTitle": "リクエストが記録されていません",
|
||||
"inspector.requests.requestFailedTooltipTitle": "リクエストに失敗しました",
|
||||
"inspector.requests.requestInProgressAriaLabel": "リクエスト進行中",
|
||||
"inspector.requests.requestLabel": "リクエスト",
|
||||
"inspector.requests.requestsDescriptionTooltip": "データを収集したリクエストを表示します",
|
||||
"inspector.requests.requestsTitle": "リクエスト",
|
||||
"inspector.requests.requestSucceededTooltipTitle": "リクエスト成功",
|
||||
"inspector.requests.requestTabLabel": "リクエスト",
|
||||
"inspector.requests.requestTimeLabel": "{requestTime}ms",
|
||||
"inspector.requests.requestTooltipDescription": "リクエストの合計所要時間です。",
|
||||
"inspector.requests.requestWasMadeDescription": "{requestsCount, plural, one {# リクエストが} other {# リクエストが} } 行われました{failedRequests}",
|
||||
"inspector.requests.requestWasMadeDescription.requestHadFailureText": "、{failedCount} 件に失敗がありました",
|
||||
"inspector.requests.responseTabLabel": "応答",
|
||||
"inspector.requests.statisticsTabLabel": "統計",
|
||||
"interpreter.function.visDimension.accessor.help": "使用するデータセット内の列 (列インデックスまたは列名)",
|
||||
"interpreter.function.visDimension.error.accessor": "入力された列名は無効です。",
|
||||
"interpreter.function.visDimension.help": "visConfig ディメンションオブジェクトを生成します",
|
||||
|
@ -5654,7 +5654,6 @@
|
|||
"xpack.maps.vectorStyleEditor.lineLabel": "行",
|
||||
"xpack.maps.vectorStyleEditor.pointLabel": "ポイント",
|
||||
"xpack.maps.vectorStyleEditor.polygonLabel": "多角形",
|
||||
"xpack.maps.viewControl.goToButtonLabel": "移動:",
|
||||
"xpack.maps.viewControl.latLabel": "緯度:",
|
||||
"xpack.maps.viewControl.lonLabel": "経度:",
|
||||
"xpack.ml.accessDenied.backToKibanaHomeButtonLabel": "Kibana ホームに戻る",
|
||||
|
@ -10461,4 +10460,4 @@
|
|||
"xpack.watcher.watchActions.logging.logTextIsRequiredValidationMessage": "ログテキストが必要です。",
|
||||
"xpack.watcher.watcherDescription": "アラートの作成、管理、監視によりデータへの変更を検知します。"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -330,9 +330,6 @@
|
|||
"common.ui.errorUrlOverflow.howTofixError.removeStuffFromDashboardText": "从您的仪表板中删除一些内容。这回减小 URL 的长度,使 IE 能够处理它。",
|
||||
"common.ui.errorUrlOverflow.howTofixErrorDescription": "通常只有较大的、复杂的仪表板会发生此问题,因此您会有一些选项:",
|
||||
"common.ui.errorUrlOverflow.howTofixErrorTitle": "那么,我如何解决此问题?",
|
||||
"kibana-react.exitFullScreenButton.exitFullScreenModeButtonAreaLabel": "退出全屏模式",
|
||||
"kibana-react.exitFullScreenButton.exitFullScreenModeButtonLabel": "退出全屏",
|
||||
"kibana-react.exitFullScreenButton.fullScreenModeDescription": "在全屏模式下,按 ESC 键可退出。",
|
||||
"common.ui.fieldEditor.actions.cancelButton": "取消",
|
||||
"common.ui.fieldEditor.actions.createButton": "创建字段",
|
||||
"common.ui.fieldEditor.actions.deleteButton": "删除",
|
||||
|
@ -598,11 +595,47 @@
|
|||
"common.ui.visualize.queryGeohashBounds.unableToGetBoundErrorTitle": "无法获取边界",
|
||||
"common.ui.welcomeErrorMessage": "Kibana 未正确加载。检查服务器输出以了解详情。",
|
||||
"common.ui.welcomeMessage": "正在加载 Kibana",
|
||||
"kibana-react.exitFullScreenButton.exitFullScreenModeButtonAreaLabel": "退出全屏模式",
|
||||
"kibana-react.exitFullScreenButton.exitFullScreenModeButtonLabel": "退出全屏",
|
||||
"kibana-react.exitFullScreenButton.fullScreenModeDescription": "在全屏模式下,按 ESC 键可退出。",
|
||||
"inspector.closeButton": "关闭检查器",
|
||||
"inspector.reqTimestampDescription": "记录请求启动的时间",
|
||||
"inspector.reqTimestampKey": "请求时间戳",
|
||||
"inspector.title": "检查器",
|
||||
"inspector.view": "视图:{viewName}",
|
||||
"inspector.data.dataDescriptionTooltip": "查看可视化后面的数据",
|
||||
"inspector.data.dataTitle": "数据",
|
||||
"inspector.data.downloadCSVButtonLabel": "下载 CSV",
|
||||
"inspector.data.downloadCSVToggleButtonLabel": "下载 CSV",
|
||||
"inspector.data.filterForValueButtonAriaLabel": "筛留值",
|
||||
"inspector.data.filterForValueButtonTooltip": "筛留值",
|
||||
"inspector.data.filterOutValueButtonAriaLabel": "筛除值",
|
||||
"inspector.data.filterOutValueButtonTooltip": "筛除值",
|
||||
"inspector.data.formattedCSVButtonLabel": "格式化 CSV",
|
||||
"inspector.data.formattedCSVButtonTooltip": "以表格式下载数据",
|
||||
"inspector.data.gatheringDataLabel": "正在收集数据",
|
||||
"inspector.data.noDataAvailableDescription": "该元素未提供任何数据。",
|
||||
"inspector.data.noDataAvailableTitle": "没有可用数据",
|
||||
"inspector.data.rawCSVButtonLabel": "原始 CSV",
|
||||
"inspector.data.rawCSVButtonTooltip": "按原样下载数据,例如将日期作为时间戳下载",
|
||||
"inspector.requests.descriptionRowIconAriaLabel": "描述",
|
||||
"inspector.requests.failedLabel": " (失败)",
|
||||
"inspector.requests.noRequestsLoggedDescription.elementHasNotLoggedAnyRequestsText": "该元素尚未记录任何请求。",
|
||||
"inspector.requests.noRequestsLoggedDescription.whatDoesItUsuallyMeanText": "这通常表示无需提取任何数据,或该元素尚未开始提取数据。",
|
||||
"inspector.requests.noRequestsLoggedTitle": "未记录任何请求",
|
||||
"inspector.requests.requestFailedTooltipTitle": "请求失败",
|
||||
"inspector.requests.requestInProgressAriaLabel": "请求进行中",
|
||||
"inspector.requests.requestLabel": "请求:",
|
||||
"inspector.requests.requestsDescriptionTooltip": "查看已收集数据的请求",
|
||||
"inspector.requests.requestsTitle": "请求",
|
||||
"inspector.requests.requestSucceededTooltipTitle": "请求成功",
|
||||
"inspector.requests.requestTabLabel": "请求",
|
||||
"inspector.requests.requestTimeLabel": "{requestTime}ms",
|
||||
"inspector.requests.requestTooltipDescription": "请求所花费的总时间。",
|
||||
"inspector.requests.requestWasMadeDescription": "{requestsCount, plural, one {# 个请求已} other {# 个请求已} }发出{failedRequests}",
|
||||
"inspector.requests.requestWasMadeDescription.requestHadFailureText": ",{failedCount} 个失败",
|
||||
"inspector.requests.responseTabLabel": "响应",
|
||||
"inspector.requests.statisticsTabLabel": "统计信息",
|
||||
"core.chrome.legacyBrowserWarning": "您的浏览器不满足 Kibana 的安全要求。",
|
||||
"core.euiBasicTable.selectAllRows": "选择所有行",
|
||||
"core.euiBasicTable.selectThisRow": "选择此行",
|
||||
|
@ -868,39 +901,6 @@
|
|||
"inputControl.vis.inputControlVis.clearFormButtonLabel": "清除表单",
|
||||
"inputControl.vis.listControl.selectPlaceholder": "选择......",
|
||||
"inputControl.vis.listControl.selectTextPlaceholder": "选择......",
|
||||
"inspector.data.dataDescriptionTooltip": "查看可视化后面的数据",
|
||||
"inspector.data.dataTitle": "数据",
|
||||
"inspector.data.downloadCSVButtonLabel": "下载 CSV",
|
||||
"inspector.data.downloadCSVToggleButtonLabel": "下载 CSV",
|
||||
"inspector.data.filterForValueButtonAriaLabel": "筛留值",
|
||||
"inspector.data.filterForValueButtonTooltip": "筛留值",
|
||||
"inspector.data.filterOutValueButtonAriaLabel": "筛除值",
|
||||
"inspector.data.filterOutValueButtonTooltip": "筛除值",
|
||||
"inspector.data.formattedCSVButtonLabel": "格式化 CSV",
|
||||
"inspector.data.formattedCSVButtonTooltip": "以表格式下载数据",
|
||||
"inspector.data.gatheringDataLabel": "正在收集数据",
|
||||
"inspector.data.noDataAvailableDescription": "该元素未提供任何数据。",
|
||||
"inspector.data.noDataAvailableTitle": "没有可用数据",
|
||||
"inspector.data.rawCSVButtonLabel": "原始 CSV",
|
||||
"inspector.data.rawCSVButtonTooltip": "按原样下载数据,例如将日期作为时间戳下载",
|
||||
"inspector.requests.descriptionRowIconAriaLabel": "描述",
|
||||
"inspector.requests.failedLabel": " (失败)",
|
||||
"inspector.requests.noRequestsLoggedDescription.elementHasNotLoggedAnyRequestsText": "该元素尚未记录任何请求。",
|
||||
"inspector.requests.noRequestsLoggedDescription.whatDoesItUsuallyMeanText": "这通常表示无需提取任何数据,或该元素尚未开始提取数据。",
|
||||
"inspector.requests.noRequestsLoggedTitle": "未记录任何请求",
|
||||
"inspector.requests.requestFailedTooltipTitle": "请求失败",
|
||||
"inspector.requests.requestInProgressAriaLabel": "请求进行中",
|
||||
"inspector.requests.requestLabel": "请求:",
|
||||
"inspector.requests.requestsDescriptionTooltip": "查看已收集数据的请求",
|
||||
"inspector.requests.requestsTitle": "请求",
|
||||
"inspector.requests.requestSucceededTooltipTitle": "请求成功",
|
||||
"inspector.requests.requestTabLabel": "请求",
|
||||
"inspector.requests.requestTimeLabel": "{requestTime}ms",
|
||||
"inspector.requests.requestTooltipDescription": "请求所花费的总时间。",
|
||||
"inspector.requests.requestWasMadeDescription": "{requestsCount, plural, one {# 个请求已} other {# 个请求已} }发出{failedRequests}",
|
||||
"inspector.requests.requestWasMadeDescription.requestHadFailureText": ",{failedCount} 个失败",
|
||||
"inspector.requests.responseTabLabel": "响应",
|
||||
"inspector.requests.statisticsTabLabel": "统计信息",
|
||||
"interpreter.function.visDimension.accessor.help": "数据集中要使用的列(列索引或列名称)",
|
||||
"interpreter.function.visDimension.error.accessor": "提供的列名称无效",
|
||||
"interpreter.function.visDimension.help": "生成 visConfig 维度对象",
|
||||
|
@ -5797,7 +5797,6 @@
|
|||
"xpack.maps.vectorStyleEditor.lineLabel": "线",
|
||||
"xpack.maps.vectorStyleEditor.pointLabel": "Points",
|
||||
"xpack.maps.vectorStyleEditor.polygonLabel": "多边形",
|
||||
"xpack.maps.viewControl.goToButtonLabel": "前往",
|
||||
"xpack.maps.viewControl.latLabel": "纬度:",
|
||||
"xpack.maps.viewControl.lonLabel": "经度:",
|
||||
"xpack.ml.accessDenied.backToKibanaHomeButtonLabel": "返回 Kibana 主页",
|
||||
|
@ -10603,4 +10602,4 @@
|
|||
"xpack.watcher.watchActions.logging.logTextIsRequiredValidationMessage": "“日志文本”必填。",
|
||||
"xpack.watcher.watcherDescription": "通过创建、管理和监测警报来检测数据中的更改。"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue