translated dialog header

This commit is contained in:
Vitaly Livshic 2017-09-13 15:50:06 +03:00
parent 515a9af98a
commit bc87c2d0c8
3 changed files with 3 additions and 1 deletions

View File

@ -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));

View File

@ -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

View File

@ -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=Сохранить как