diff --git a/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/en.ts b/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/en.ts index 12dac07b96..65312bc376 100644 --- a/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/en.ts +++ b/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/en.ts @@ -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'], ]; diff --git a/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/it.ts b/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/it.ts index 21c35558e5..a58e5b971f 100644 --- a/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/it.ts +++ b/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/it.ts @@ -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'], ]; diff --git a/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/ru.ts b/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/ru.ts index 962b437f83..66baf076a4 100644 --- a/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/ru.ts +++ b/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/ru.ts @@ -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', 'Подтвердить закрытие вкладок'], ]; diff --git a/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/zh.ts b/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/zh.ts index 65d49f2477..624a51f6f1 100644 --- a/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/zh.ts +++ b/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/zh.ts @@ -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'], ]; diff --git a/webapp/packages/plugin-sql-editor/src/SqlEditor/SqlEditorController.tsx b/webapp/packages/plugin-sql-editor/src/SqlEditor/SqlEditorController.tsx index 0e635328f3..160eca6017 100644 --- a/webapp/packages/plugin-sql-editor/src/SqlEditor/SqlEditorController.tsx +++ b/webapp/packages/plugin-sql-editor/src/SqlEditor/SqlEditorController.tsx @@ -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', });