IDE: use resource lisAdd instead of lisCodeTemplAdd in many places.

git-svn-id: trunk@35320 -
This commit is contained in:
juha 2012-02-12 13:03:15 +00:00
parent 59b13f50b1
commit c82d1b544d
14 changed files with 17 additions and 19 deletions

View File

@ -384,7 +384,7 @@ begin
lvBreakPoints.Columns[5].Caption:= lisPassCount;
lvBreakPoints.Columns[6].Caption:= lisGroup;
actShow.Caption := lisViewSource;
popAdd.Caption:= lisLazBuildAdd;
popAdd.Caption:= lisAdd;
actAddSourceBP.Caption := lisSourceBreakpoint;
actAddAddressBP.Caption := lisAddressBreakpoint;
actAddWatchPoint.Caption := lisWatchPoint;

View File

@ -147,7 +147,7 @@ begin
bgIgnoreExceptions.Caption := lisDebugOptionsFrmIgnoreTheseExceptions;
DbgLangExceptHint.Caption := lisTheseSettingsAreStoredWithTheProject;
cmdExceptionRemove.Caption := lisExtToolRemove;
cmdExceptionAdd.Caption := lisCodeTemplAdd;
cmdExceptionAdd.Caption := lisAdd;
cmdExceptionRemove.LoadGlyphFromLazarusResource('laz_delete');
cmdExceptionAdd.LoadGlyphFromLazarusResource('laz_add');
chkNotifyOnException.Caption := lisDebugOptionsFrmNotifyOnLazarusExceptions;

View File

@ -87,7 +87,7 @@ begin
lvSignals.Column[1].Caption := lisDebugOptionsFrmID;
lvSignals.Column[2].Caption := lisDebugOptionsFrmHandledBy;
lvSignals.Column[3].Caption := lisDebugOptionsFrmResume;
cmdSignalAdd.Caption := lisCodeTemplAdd;
cmdSignalAdd.Caption := lisAdd;
cmdSignalRemove.Caption := lisExtToolRemove;
cmdSignalAdd.LoadGlyphFromLazarusResource('laz_add');
cmdSignalRemove.LoadGlyphFromLazarusResource('laz_delete');

View File

@ -395,7 +395,7 @@ procedure TOIAddRemoveFavouriteDlg.UpdateMode;
begin
if AddMode then begin
Caption:=lisOIFAddToFavouriteProperties;
OkButton.Caption:=lisCodeTemplAdd;
OkButton.Caption:=lisAdd;
end else begin
Caption:=lisOIFRemoveFromFavouriteProperties;
OkButton.Caption:=lisExtToolRemove;
@ -430,7 +430,7 @@ begin
with OkButton do begin
Name:='AddButton';
SetBounds(5,100,80,25);
Caption:=lisCodeTemplAdd;
Caption:=lisAdd;
Parent:=Self;
OnClick:=@OkButtonClick;
end;

View File

@ -782,7 +782,7 @@ begin
AddButton:=TButton.Create(Self);
with AddButton do begin
Name:='AddButton';
Caption:=lisCodeTemplAdd;
Caption:=lisAdd;
OnClick:=@AddButtonClick;
Enabled:=false;
AutoSize:=true;

View File

@ -516,7 +516,7 @@ begin
MoveUpButton.ImageIndex :=IDEImages.LoadImage(16, 'arrow_up');
MoveDownButton.ImageIndex:=IDEImages.LoadImage(16, 'arrow_down');
AddButton.Caption:=lisLazBuildAdd;
AddButton.Caption:=lisAdd;
RemoveButton.Caption:=lisLazBuildRemove;
EditButton.Caption:=lisLazBuildRename;
MoveUpButton.Caption:=lisExtToolMoveUp;

View File

@ -941,7 +941,7 @@ begin
// init captions
Caption:=dlgEdCodeTempl;
AddButton.Caption:=lisCodeTemplAdd;
AddButton.Caption:=lisAdd;
RenameButton.Caption:=lisLazBuildRename;
DeleteButton.Caption:=dlgEdDelete;
TemplatesGroupBox.Caption:=lisCTDTemplates;

View File

@ -93,7 +93,7 @@ begin
AvailableGroupBox.Caption:=rsAvailableScanners;
ScannersGroupBox.Caption:=rsScanners;
AddSpeedButton.Hint:=lisCodeTemplAdd;
AddSpeedButton.Hint:=lisAdd;
RemoveSpeedButton.Hint:=lisExtToolRemove;
AddSpeedButton.LoadGlyphFromLazarusResource('arrow_left');

View File

@ -522,7 +522,7 @@ begin
ToolBar.Images := IDEImages.Images_16;
AddButton.Caption:=lisCodeTemplAdd;
AddButton.Caption:=lisAdd;
RemoveButton.Caption:=lisExtToolRemove;
EditButton.Caption:=lisCodeToolsDefsEdit;
MoveUpButton.Caption:=lisExtToolMoveUp;

View File

@ -267,7 +267,7 @@ begin
Caption:=lisEdtExtToolMacros;
with MacrosInsertButton do
Caption:=lisCodeTemplAdd;
Caption:=lisAdd;
ButtonPanel.OKButton.Caption:=lisOk;
ButtonPanel.HelpButton.Caption:=lisMenuHelp;

View File

@ -694,8 +694,8 @@ begin
BtnImport.Caption := dlgMouseOptBtnImport;
BtnExport.Caption := dlgMouseOptBtnExport;
UpdateButton.Caption := dlgMouseOptBtnUdp;
AddNewButton.Caption := dlgMouseOptBtnAdd;
UpdateButton.Caption := lisChange;
AddNewButton.Caption := lisAdd;
DelButton.Caption := dlgMouseOptBtnDel;
OtherActionLabel.Caption := dlgMouseOptOtherAct;
OtherActionLabel.Hint := dlgMouseOptOtherActHint;

View File

@ -42,6 +42,7 @@ uses
resourcestring
// Common strings that can be used around Lazarus:
lisAdd = 'Add';
lisChange = 'Change';
// errors
lisErrInvalidOption = 'Invalid option at position %d: "%s"';
@ -1450,8 +1451,6 @@ resourcestring
dlgMouseOptOtherAct = 'Other actions using the same button';
dlgMouseOptOtherActHint = 'They may be executed depending on the Modifier Keys, Fallthrough settings, Single/Double, Up/Down ...';
dlgMouseOptOtherActToggle = 'Filter Mod-Keys';
dlgMouseOptBtnUdp = 'Change';
dlgMouseOptBtnAdd = 'Add';
dlgMouseOptBtnImport = 'Import';
dlgMouseOptBtnExport = 'Export';
dlgMouseOptBtnOk = 'OK';
@ -2930,7 +2929,6 @@ resourcestring
lisLazBuildConfirmBuild = 'Confirm before build';
lisLazBuildOk = 'OK';
lisPERemoveFiles = 'Remove files';
lisLazBuildAdd = 'Add';
lisLazBuildNewProf = 'Add New Profile';
lisLazBuildNewProfInfo = 'Current build options will be associated with:';
lisLazBuildRemove = 'Remove';
@ -3192,7 +3190,7 @@ resourcestring
// code template dialog
lisCodeTemplAddCodeTemplate = 'Add code template';
lisCodeTemplAdd = 'Add';
lisCodeTemplAdd = 'Add template';
lisCodeTemplEditCodeTemplate = 'Edit code template';
lisCodeTemplAutoCompleteOn = 'Auto complete on';
lisCodeTemplChange = 'Change';

View File

@ -603,7 +603,7 @@ begin
ToolBar.Images := IDEImages.Images_16;
FilterEdit.OnGetImageIndex:=@ChooseImageIndex;
AddBitBtn := CreateToolButton('AddBitBtn', lisCodeTemplAdd, lisPckEditAddAnItem, 'laz_add', @AddBitBtnClick);
AddBitBtn := CreateToolButton('AddBitBtn', lisAdd, lisPckEditAddAnItem, 'laz_add', @AddBitBtnClick);
RemoveBitBtn := CreateToolButton('RemoveBitBtn', lisExtToolRemove, lisPckEditRemoveSelectedItem, 'laz_delete', @RemoveBitBtnClick);
CreateDivider;
OptionsBitBtn := CreateToolButton('OptionsBitBtn', dlgFROpts, lisPckEditEditGeneralOptions, 'menu_environment_options', @OptionsBitBtnClick);

View File

@ -1294,7 +1294,7 @@ begin
CompileBitBtn := CreateToolButton('CompileBitBtn', lisPckEditCompile, lisPckEditCompilePackage, 'pkg_compile', @CompileBitBtnClick);
UseBitBtn := CreateToolButton('UseBitBtn', lisPckEditInstall, lisPckEditInstallPackageInTheIDE, 'pkg_install', nil);
CreateDivider;
AddBitBtn := CreateToolButton('AddBitBtn', lisCodeTemplAdd, lisPckEditAddAnItem, 'laz_add', @AddBitBtnClick);
AddBitBtn := CreateToolButton('AddBitBtn', lisAdd, lisPckEditAddAnItem, 'laz_add', @AddBitBtnClick);
RemoveBitBtn := CreateToolButton('RemoveBitBtn', lisExtToolRemove, lisPckEditRemoveSelectedItem, 'laz_delete', @RemoveBitBtnClick);
CreateDivider;
OptionsBitBtn := CreateToolButton('OptionsBitBtn', dlgFROpts, lisPckEditEditGeneralOptions, 'pkg_properties', @OptionsBitBtnClick);