feat(plugin-sql-editor): CB-1284 locale changes

This commit is contained in:
Naumov Alexey
2021-12-07 20:56:51 +03:00
parent 614ed789b9
commit b9e3d9fcb0
5 changed files with 5 additions and 5 deletions
@@ -19,5 +19,5 @@ export default [
['sql_editor_download_script_tooltip', 'Download sql script'],
['sql_editor_upload_script_unsaved_changes_dialog_message', 'Your current script will be overwritten by the uploaded script. Do you want to save it first?'],
['sql_editor_upload_script_max_size_title', 'File size exceeds max size'],
['sql_editor_close_result_tabs_dialog_title', 'Close extra tabs'],
['sql_editor_close_result_tabs_dialog_title', 'Confirm closing tabs'],
];
@@ -15,5 +15,5 @@ export default [
['sql_execution_plan_properties_panel_value', 'Valore'],
['sql_execution_plan_properties_panel_general', 'Generale'],
['sql_execution_plan_properties_panel_details', 'Dettagli'],
['sql_editor_close_result_tabs_dialog_title', 'Close extra tabs'],
['sql_editor_close_result_tabs_dialog_title', 'Confirm closing tabs'],
];
@@ -19,5 +19,5 @@ export default [
['sql_editor_download_script_tooltip', 'Скачать sql скрипт'],
['sql_editor_upload_script_unsaved_changes_dialog_message', 'Текущий скрипт будет перезаписан загруженным. Сохранить текущий?'],
['sql_editor_upload_script_max_size_title', 'Размер файла превышает максимально допустимый'],
['sql_editor_close_result_tabs_dialog_title', 'Закрыть лишние вкладки'],
['sql_editor_close_result_tabs_dialog_title', 'Подтвердить закрытие вкладок'],
];
@@ -19,5 +19,5 @@ export default [
['sql_editor_download_script_tooltip', '下载SQL脚本'],
['sql_editor_upload_script_unsaved_changes_dialog_message', '您当前的脚本将被上传的脚本覆盖。要先保存吗?'],
['sql_editor_upload_script_max_size_title', '文件大小超过最大大小'],
['sql_editor_close_result_tabs_dialog_title', 'Close extra tabs'],
['sql_editor_close_result_tabs_dialog_title', 'Confirm closing tabs'],
];
@@ -235,7 +235,7 @@ export class SqlEditorController implements IInitializableController, IDestructi
if (this.state.tabs.length) {
const result = await this.commonDialogService.open(ConfirmationDialog, {
title: 'sql_editor_close_result_tabs_dialog_title',
message: `There are unclosed result tabs: "${this.state.tabs.length}". Do you want to close these tabs before executing new query?`,
message: `Do you want to close ${this.state.tabs.length} tabs before executing script?`,
confirmActionText: 'ui_yes',
extraStatus: 'no',
});