summaryrefslogtreecommitdiff
path: root/uidesigner
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2013-12-20 23:25:19 +0000
committerGraeme Geldenhuys <graemeg@gmail.com>2013-12-20 23:25:19 +0000
commit548e0111e8f5474adb967791fb713dfe71f71a42 (patch)
tree19132db41aff98c1f6551a47777230d91ad8561c /uidesigner
parent275addbe8d3581aa5ff0aff9232169c37838dffc (diff)
downloadfpGUI-548e0111e8f5474adb967791fb713dfe71f71a42.tar.xz
uidesigner: Adds last missed localisation of vfdmain unit.
Diffstat (limited to 'uidesigner')
-rw-r--r--uidesigner/vfd_constants.pas5
-rw-r--r--uidesigner/vfdmain.pas2
2 files changed, 4 insertions, 3 deletions
diff --git a/uidesigner/vfd_constants.pas b/uidesigner/vfd_constants.pas
index 7b49f7f5..25fe3ee3 100644
--- a/uidesigner/vfd_constants.pas
+++ b/uidesigner/vfd_constants.pas
@@ -14,8 +14,8 @@
Description:
This unit contains all the language resource strings used by the
UI Designer project. Thus making it possible to translate the UI Designer
- to other languages.
- }
+ to other languages. It also contains all project constants.
+}
unit vfd_constants;
@@ -41,6 +41,7 @@ resourcestring
rsVersion = 'Version: %s';
rsWrittenBy = 'Written by %s';
rsCompiledOn = 'Compiled on: %s';
+ rsNewUnnamedForm = 'new';
rsDlgProductInfo = 'Product Information...';
diff --git a/uidesigner/vfdmain.pas b/uidesigner/vfdmain.pas
index 51622b9f..5dcb90d4 100644
--- a/uidesigner/vfdmain.pas
+++ b/uidesigner/vfdmain.pas
@@ -460,7 +460,7 @@ begin
FEditedFileName := Value;
s := ExtractFileName(FEditedFileName);
if s = '' then
- s := '[new]';
+ s := '[' + rsNewUnnamedForm + ']';
frmMain.WindowTitle := cAppNameAndVersion + ' - ' + s;
end;