From dee28f6a01d7970f9b8266d016ca3b9af832a744 Mon Sep 17 00:00:00 2001 From: maxim Date: Sun, 17 Apr 2011 12:05:49 +0000 Subject: [PATCH] IDE, Tab order dialog: improved localization git-svn-id: trunk@30343 - --- designer/taborderdlg.pas | 2 +- ide/lazarusidestrconsts.pas | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/designer/taborderdlg.pas b/designer/taborderdlg.pas index 1a2d772b23..9accc7382a 100644 --- a/designer/taborderdlg.pas +++ b/designer/taborderdlg.pas @@ -183,7 +183,7 @@ begin LookupRoot := GlobalDesignHook.LookupRoot; if Assigned(LookupRoot) and (LookupRoot is TWinControl) then begin CreateNodes(TWinControl(LookupRoot), nil); - Caption:=lisTabOrderOf + ' ' + TWinControl(LookupRoot).Name; + Caption:=Format(lisTabOrderOf, [TWinControl(LookupRoot).Name]); end; finally ItemTreeview.EndUpdate; diff --git a/ide/lazarusidestrconsts.pas b/ide/lazarusidestrconsts.pas index a823794f99..e4ba0b6937 100644 --- a/ide/lazarusidestrconsts.pas +++ b/ide/lazarusidestrconsts.pas @@ -4402,7 +4402,7 @@ resourcestring lisPODoNotSaveAnySessionInfo = 'Do not save any session info'; lisPOSaveSessionInformationIn = 'Save session information in'; lisMVSaveMessagesToFileTxt = 'Save messages to file (*.txt)'; - lisTabOrderOf = 'Tab Order of'; + lisTabOrderOf = 'Tab Order of %s'; lisAnchorEnabledHint = 'Enabled = Include %s in Anchors'; lisAroundBorderSpaceHint = 'Borderspace around the control. The other four borderspaces are added to this value.';