From bc87c2d0c85cc81b509e6cbf57e8d482eacabc46 Mon Sep 17 00:00:00 2001 From: Vitaly Livshic Date: Wed, 13 Sep 2017 15:50:06 +0300 Subject: [PATCH] translated dialog header --- src/dlangide/ui/frame.d | 2 +- views/res/i18n/en.ini | 1 + views/res/i18n/ru.ini | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dlangide/ui/frame.d b/src/dlangide/ui/frame.d index 1b2e7bd..fd17c17 100644 --- a/src/dlangide/ui/frame.d +++ b/src/dlangide/ui/frame.d @@ -1358,7 +1358,7 @@ class IDEFrame : AppFrame, ProgramExecutionStatusListener, BreakpointListChangeL if (!project) return; Setting s = project.settings.copySettings(); - SettingsDialog dlg = new SettingsDialog(UIString.fromRaw(project.name ~ " settings"d), window, s, createProjectSettingsPages()); + SettingsDialog dlg = new SettingsDialog(UIString.fromRaw(project.name ~ " - "d ~ UIString.fromId("HEADER_PROJECT_SETTINGS"c)), window, s, createProjectSettingsPages()); dlg.dialogResult = delegate(Dialog dlg, const Action result) { if (result.id == ACTION_APPLY.id) { //Log.d("settings after edit:\n", s.toJSON(true)); diff --git a/views/res/i18n/en.ini b/views/res/i18n/en.ini index 7bfcf07..c5b39d4 100644 --- a/views/res/i18n/en.ini +++ b/views/res/i18n/en.ini @@ -132,6 +132,7 @@ HEADER_OPEN_WORKSPACE_OR_PROJECT=Open Workspace or Project HEADER_OPEN_TEXT_FILE=Open Text File HEADER_CLOSE_FILE=Close file HEADER_CLOSE_TAB=Close tab +HEADER_PROJECT_SETTINGS=project settings HEADER_REMOVE_FILE=Remove file HEADER_SAVE_FILE_AS=Save File As diff --git a/views/res/i18n/ru.ini b/views/res/i18n/ru.ini index 1a925bb..bc567bb 100644 --- a/views/res/i18n/ru.ini +++ b/views/res/i18n/ru.ini @@ -132,6 +132,7 @@ HEADER_OPEN_WORKSPACE_OR_PROJECT=Открыть рабочее простран HEADER_OPEN_TEXT_FILE=Открыть текстовый файл HEADER_CLOSE_FILE=Закрыть файл HEADER_CLOSE_TAB=Закрыть вкладку +HEADER_PROJECT_SETTINGS=настройки проекта HEADER_REMOVE_FILE=Удалить файл HEADER_SAVE_FILE_AS=Сохранить как