From 4f69a40530beddc3f9cc3d5ddb4ff51d1c5089df Mon Sep 17 00:00:00 2001 From: Zevenberge Date: Sat, 23 Dec 2017 18:42:19 +0100 Subject: [PATCH] Changed the UI options and added english terms --- src/dlangide/ui/newfolder.d | 4 ++-- views/res/i18n/en.ini | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dlangide/ui/newfolder.d b/src/dlangide/ui/newfolder.d index d5bb665..9f0188d 100644 --- a/src/dlangide/ui/newfolder.d +++ b/src/dlangide/ui/newfolder.d @@ -29,7 +29,7 @@ class NewFolderDialog : Dialog { this(IDEFrame parent, Project currentProject, ProjectFolder folder) { super(UIString.fromId("OPTION_NEW_SOURCE_FILE"c), parent.window, - DialogFlag.Modal | DialogFlag.Resizable | DialogFlag.Popup, 800, 0); + DialogFlag.Modal | DialogFlag.Popup, 800, 0); layoutWidth = FILL_PARENT; _ide = parent; _icon = "dlangui-logo1"; @@ -59,7 +59,7 @@ class NewFolderDialog : Dialog { TextWidget { text: NAME } EditLine { id: fileName; text: "newfolder"; layoutWidth: fill } CheckBox { id: makePackage } - TextWidget { text: MAKE_PACKAGE} + TextWidget { text: OPTION_MAKE_PACKAGE} } TextWidget { id: statusText; text: ""; layoutWidth: fill; textColor: #FF0000 } } diff --git a/views/res/i18n/en.ini b/views/res/i18n/en.ini index d09c740..1ab1f82 100644 --- a/views/res/i18n/en.ini +++ b/views/res/i18n/en.ini @@ -197,6 +197,7 @@ OPTION_GDC_EXECUTABLE=GDC executable OPTION_LANGUAGE=Language OPTION_LDC2_EXECUTABLE=LDC2 executable OPTION_LDMD2_EXECUTABLE=LDMD2 executable +OPTION_MAKE_PACKAGE=Create package.d OPTION_MODULE_NAME=Module name OPTION_NEW_PROJECT=New project OPTION_NEW_SOURCE_FILE=New source file