mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-17 05:20:48 +01:00
IDE: use resource lisAdd instead of lisCodeTemplAdd in many places.
git-svn-id: trunk@35320 -
This commit is contained in:
parent
59b13f50b1
commit
c82d1b544d
@ -384,7 +384,7 @@ begin
|
|||||||
lvBreakPoints.Columns[5].Caption:= lisPassCount;
|
lvBreakPoints.Columns[5].Caption:= lisPassCount;
|
||||||
lvBreakPoints.Columns[6].Caption:= lisGroup;
|
lvBreakPoints.Columns[6].Caption:= lisGroup;
|
||||||
actShow.Caption := lisViewSource;
|
actShow.Caption := lisViewSource;
|
||||||
popAdd.Caption:= lisLazBuildAdd;
|
popAdd.Caption:= lisAdd;
|
||||||
actAddSourceBP.Caption := lisSourceBreakpoint;
|
actAddSourceBP.Caption := lisSourceBreakpoint;
|
||||||
actAddAddressBP.Caption := lisAddressBreakpoint;
|
actAddAddressBP.Caption := lisAddressBreakpoint;
|
||||||
actAddWatchPoint.Caption := lisWatchPoint;
|
actAddWatchPoint.Caption := lisWatchPoint;
|
||||||
|
|||||||
@ -147,7 +147,7 @@ begin
|
|||||||
bgIgnoreExceptions.Caption := lisDebugOptionsFrmIgnoreTheseExceptions;
|
bgIgnoreExceptions.Caption := lisDebugOptionsFrmIgnoreTheseExceptions;
|
||||||
DbgLangExceptHint.Caption := lisTheseSettingsAreStoredWithTheProject;
|
DbgLangExceptHint.Caption := lisTheseSettingsAreStoredWithTheProject;
|
||||||
cmdExceptionRemove.Caption := lisExtToolRemove;
|
cmdExceptionRemove.Caption := lisExtToolRemove;
|
||||||
cmdExceptionAdd.Caption := lisCodeTemplAdd;
|
cmdExceptionAdd.Caption := lisAdd;
|
||||||
cmdExceptionRemove.LoadGlyphFromLazarusResource('laz_delete');
|
cmdExceptionRemove.LoadGlyphFromLazarusResource('laz_delete');
|
||||||
cmdExceptionAdd.LoadGlyphFromLazarusResource('laz_add');
|
cmdExceptionAdd.LoadGlyphFromLazarusResource('laz_add');
|
||||||
chkNotifyOnException.Caption := lisDebugOptionsFrmNotifyOnLazarusExceptions;
|
chkNotifyOnException.Caption := lisDebugOptionsFrmNotifyOnLazarusExceptions;
|
||||||
|
|||||||
@ -87,7 +87,7 @@ begin
|
|||||||
lvSignals.Column[1].Caption := lisDebugOptionsFrmID;
|
lvSignals.Column[1].Caption := lisDebugOptionsFrmID;
|
||||||
lvSignals.Column[2].Caption := lisDebugOptionsFrmHandledBy;
|
lvSignals.Column[2].Caption := lisDebugOptionsFrmHandledBy;
|
||||||
lvSignals.Column[3].Caption := lisDebugOptionsFrmResume;
|
lvSignals.Column[3].Caption := lisDebugOptionsFrmResume;
|
||||||
cmdSignalAdd.Caption := lisCodeTemplAdd;
|
cmdSignalAdd.Caption := lisAdd;
|
||||||
cmdSignalRemove.Caption := lisExtToolRemove;
|
cmdSignalRemove.Caption := lisExtToolRemove;
|
||||||
cmdSignalAdd.LoadGlyphFromLazarusResource('laz_add');
|
cmdSignalAdd.LoadGlyphFromLazarusResource('laz_add');
|
||||||
cmdSignalRemove.LoadGlyphFromLazarusResource('laz_delete');
|
cmdSignalRemove.LoadGlyphFromLazarusResource('laz_delete');
|
||||||
|
|||||||
@ -395,7 +395,7 @@ procedure TOIAddRemoveFavouriteDlg.UpdateMode;
|
|||||||
begin
|
begin
|
||||||
if AddMode then begin
|
if AddMode then begin
|
||||||
Caption:=lisOIFAddToFavouriteProperties;
|
Caption:=lisOIFAddToFavouriteProperties;
|
||||||
OkButton.Caption:=lisCodeTemplAdd;
|
OkButton.Caption:=lisAdd;
|
||||||
end else begin
|
end else begin
|
||||||
Caption:=lisOIFRemoveFromFavouriteProperties;
|
Caption:=lisOIFRemoveFromFavouriteProperties;
|
||||||
OkButton.Caption:=lisExtToolRemove;
|
OkButton.Caption:=lisExtToolRemove;
|
||||||
@ -430,7 +430,7 @@ begin
|
|||||||
with OkButton do begin
|
with OkButton do begin
|
||||||
Name:='AddButton';
|
Name:='AddButton';
|
||||||
SetBounds(5,100,80,25);
|
SetBounds(5,100,80,25);
|
||||||
Caption:=lisCodeTemplAdd;
|
Caption:=lisAdd;
|
||||||
Parent:=Self;
|
Parent:=Self;
|
||||||
OnClick:=@OkButtonClick;
|
OnClick:=@OkButtonClick;
|
||||||
end;
|
end;
|
||||||
|
|||||||
@ -782,7 +782,7 @@ begin
|
|||||||
AddButton:=TButton.Create(Self);
|
AddButton:=TButton.Create(Self);
|
||||||
with AddButton do begin
|
with AddButton do begin
|
||||||
Name:='AddButton';
|
Name:='AddButton';
|
||||||
Caption:=lisCodeTemplAdd;
|
Caption:=lisAdd;
|
||||||
OnClick:=@AddButtonClick;
|
OnClick:=@AddButtonClick;
|
||||||
Enabled:=false;
|
Enabled:=false;
|
||||||
AutoSize:=true;
|
AutoSize:=true;
|
||||||
|
|||||||
@ -516,7 +516,7 @@ begin
|
|||||||
MoveUpButton.ImageIndex :=IDEImages.LoadImage(16, 'arrow_up');
|
MoveUpButton.ImageIndex :=IDEImages.LoadImage(16, 'arrow_up');
|
||||||
MoveDownButton.ImageIndex:=IDEImages.LoadImage(16, 'arrow_down');
|
MoveDownButton.ImageIndex:=IDEImages.LoadImage(16, 'arrow_down');
|
||||||
|
|
||||||
AddButton.Caption:=lisLazBuildAdd;
|
AddButton.Caption:=lisAdd;
|
||||||
RemoveButton.Caption:=lisLazBuildRemove;
|
RemoveButton.Caption:=lisLazBuildRemove;
|
||||||
EditButton.Caption:=lisLazBuildRename;
|
EditButton.Caption:=lisLazBuildRename;
|
||||||
MoveUpButton.Caption:=lisExtToolMoveUp;
|
MoveUpButton.Caption:=lisExtToolMoveUp;
|
||||||
|
|||||||
@ -941,7 +941,7 @@ begin
|
|||||||
|
|
||||||
// init captions
|
// init captions
|
||||||
Caption:=dlgEdCodeTempl;
|
Caption:=dlgEdCodeTempl;
|
||||||
AddButton.Caption:=lisCodeTemplAdd;
|
AddButton.Caption:=lisAdd;
|
||||||
RenameButton.Caption:=lisLazBuildRename;
|
RenameButton.Caption:=lisLazBuildRename;
|
||||||
DeleteButton.Caption:=dlgEdDelete;
|
DeleteButton.Caption:=dlgEdDelete;
|
||||||
TemplatesGroupBox.Caption:=lisCTDTemplates;
|
TemplatesGroupBox.Caption:=lisCTDTemplates;
|
||||||
|
|||||||
@ -93,7 +93,7 @@ begin
|
|||||||
|
|
||||||
AvailableGroupBox.Caption:=rsAvailableScanners;
|
AvailableGroupBox.Caption:=rsAvailableScanners;
|
||||||
ScannersGroupBox.Caption:=rsScanners;
|
ScannersGroupBox.Caption:=rsScanners;
|
||||||
AddSpeedButton.Hint:=lisCodeTemplAdd;
|
AddSpeedButton.Hint:=lisAdd;
|
||||||
RemoveSpeedButton.Hint:=lisExtToolRemove;
|
RemoveSpeedButton.Hint:=lisExtToolRemove;
|
||||||
|
|
||||||
AddSpeedButton.LoadGlyphFromLazarusResource('arrow_left');
|
AddSpeedButton.LoadGlyphFromLazarusResource('arrow_left');
|
||||||
|
|||||||
@ -522,7 +522,7 @@ begin
|
|||||||
|
|
||||||
ToolBar.Images := IDEImages.Images_16;
|
ToolBar.Images := IDEImages.Images_16;
|
||||||
|
|
||||||
AddButton.Caption:=lisCodeTemplAdd;
|
AddButton.Caption:=lisAdd;
|
||||||
RemoveButton.Caption:=lisExtToolRemove;
|
RemoveButton.Caption:=lisExtToolRemove;
|
||||||
EditButton.Caption:=lisCodeToolsDefsEdit;
|
EditButton.Caption:=lisCodeToolsDefsEdit;
|
||||||
MoveUpButton.Caption:=lisExtToolMoveUp;
|
MoveUpButton.Caption:=lisExtToolMoveUp;
|
||||||
|
|||||||
@ -267,7 +267,7 @@ begin
|
|||||||
Caption:=lisEdtExtToolMacros;
|
Caption:=lisEdtExtToolMacros;
|
||||||
|
|
||||||
with MacrosInsertButton do
|
with MacrosInsertButton do
|
||||||
Caption:=lisCodeTemplAdd;
|
Caption:=lisAdd;
|
||||||
|
|
||||||
ButtonPanel.OKButton.Caption:=lisOk;
|
ButtonPanel.OKButton.Caption:=lisOk;
|
||||||
ButtonPanel.HelpButton.Caption:=lisMenuHelp;
|
ButtonPanel.HelpButton.Caption:=lisMenuHelp;
|
||||||
|
|||||||
@ -694,8 +694,8 @@ begin
|
|||||||
|
|
||||||
BtnImport.Caption := dlgMouseOptBtnImport;
|
BtnImport.Caption := dlgMouseOptBtnImport;
|
||||||
BtnExport.Caption := dlgMouseOptBtnExport;
|
BtnExport.Caption := dlgMouseOptBtnExport;
|
||||||
UpdateButton.Caption := dlgMouseOptBtnUdp;
|
UpdateButton.Caption := lisChange;
|
||||||
AddNewButton.Caption := dlgMouseOptBtnAdd;
|
AddNewButton.Caption := lisAdd;
|
||||||
DelButton.Caption := dlgMouseOptBtnDel;
|
DelButton.Caption := dlgMouseOptBtnDel;
|
||||||
OtherActionLabel.Caption := dlgMouseOptOtherAct;
|
OtherActionLabel.Caption := dlgMouseOptOtherAct;
|
||||||
OtherActionLabel.Hint := dlgMouseOptOtherActHint;
|
OtherActionLabel.Hint := dlgMouseOptOtherActHint;
|
||||||
|
|||||||
@ -42,6 +42,7 @@ uses
|
|||||||
resourcestring
|
resourcestring
|
||||||
// Common strings that can be used around Lazarus:
|
// Common strings that can be used around Lazarus:
|
||||||
lisAdd = 'Add';
|
lisAdd = 'Add';
|
||||||
|
lisChange = 'Change';
|
||||||
|
|
||||||
// errors
|
// errors
|
||||||
lisErrInvalidOption = 'Invalid option at position %d: "%s"';
|
lisErrInvalidOption = 'Invalid option at position %d: "%s"';
|
||||||
@ -1450,8 +1451,6 @@ resourcestring
|
|||||||
dlgMouseOptOtherAct = 'Other actions using the same button';
|
dlgMouseOptOtherAct = 'Other actions using the same button';
|
||||||
dlgMouseOptOtherActHint = 'They may be executed depending on the Modifier Keys, Fallthrough settings, Single/Double, Up/Down ...';
|
dlgMouseOptOtherActHint = 'They may be executed depending on the Modifier Keys, Fallthrough settings, Single/Double, Up/Down ...';
|
||||||
dlgMouseOptOtherActToggle = 'Filter Mod-Keys';
|
dlgMouseOptOtherActToggle = 'Filter Mod-Keys';
|
||||||
dlgMouseOptBtnUdp = 'Change';
|
|
||||||
dlgMouseOptBtnAdd = 'Add';
|
|
||||||
dlgMouseOptBtnImport = 'Import';
|
dlgMouseOptBtnImport = 'Import';
|
||||||
dlgMouseOptBtnExport = 'Export';
|
dlgMouseOptBtnExport = 'Export';
|
||||||
dlgMouseOptBtnOk = 'OK';
|
dlgMouseOptBtnOk = 'OK';
|
||||||
@ -2930,7 +2929,6 @@ resourcestring
|
|||||||
lisLazBuildConfirmBuild = 'Confirm before build';
|
lisLazBuildConfirmBuild = 'Confirm before build';
|
||||||
lisLazBuildOk = 'OK';
|
lisLazBuildOk = 'OK';
|
||||||
lisPERemoveFiles = 'Remove files';
|
lisPERemoveFiles = 'Remove files';
|
||||||
lisLazBuildAdd = 'Add';
|
|
||||||
lisLazBuildNewProf = 'Add New Profile';
|
lisLazBuildNewProf = 'Add New Profile';
|
||||||
lisLazBuildNewProfInfo = 'Current build options will be associated with:';
|
lisLazBuildNewProfInfo = 'Current build options will be associated with:';
|
||||||
lisLazBuildRemove = 'Remove';
|
lisLazBuildRemove = 'Remove';
|
||||||
@ -3192,7 +3190,7 @@ resourcestring
|
|||||||
|
|
||||||
// code template dialog
|
// code template dialog
|
||||||
lisCodeTemplAddCodeTemplate = 'Add code template';
|
lisCodeTemplAddCodeTemplate = 'Add code template';
|
||||||
lisCodeTemplAdd = 'Add';
|
lisCodeTemplAdd = 'Add template';
|
||||||
lisCodeTemplEditCodeTemplate = 'Edit code template';
|
lisCodeTemplEditCodeTemplate = 'Edit code template';
|
||||||
lisCodeTemplAutoCompleteOn = 'Auto complete on';
|
lisCodeTemplAutoCompleteOn = 'Auto complete on';
|
||||||
lisCodeTemplChange = 'Change';
|
lisCodeTemplChange = 'Change';
|
||||||
|
|||||||
@ -603,7 +603,7 @@ begin
|
|||||||
ToolBar.Images := IDEImages.Images_16;
|
ToolBar.Images := IDEImages.Images_16;
|
||||||
FilterEdit.OnGetImageIndex:=@ChooseImageIndex;
|
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);
|
RemoveBitBtn := CreateToolButton('RemoveBitBtn', lisExtToolRemove, lisPckEditRemoveSelectedItem, 'laz_delete', @RemoveBitBtnClick);
|
||||||
CreateDivider;
|
CreateDivider;
|
||||||
OptionsBitBtn := CreateToolButton('OptionsBitBtn', dlgFROpts, lisPckEditEditGeneralOptions, 'menu_environment_options', @OptionsBitBtnClick);
|
OptionsBitBtn := CreateToolButton('OptionsBitBtn', dlgFROpts, lisPckEditEditGeneralOptions, 'menu_environment_options', @OptionsBitBtnClick);
|
||||||
|
|||||||
@ -1294,7 +1294,7 @@ begin
|
|||||||
CompileBitBtn := CreateToolButton('CompileBitBtn', lisPckEditCompile, lisPckEditCompilePackage, 'pkg_compile', @CompileBitBtnClick);
|
CompileBitBtn := CreateToolButton('CompileBitBtn', lisPckEditCompile, lisPckEditCompilePackage, 'pkg_compile', @CompileBitBtnClick);
|
||||||
UseBitBtn := CreateToolButton('UseBitBtn', lisPckEditInstall, lisPckEditInstallPackageInTheIDE, 'pkg_install', nil);
|
UseBitBtn := CreateToolButton('UseBitBtn', lisPckEditInstall, lisPckEditInstallPackageInTheIDE, 'pkg_install', nil);
|
||||||
CreateDivider;
|
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);
|
RemoveBitBtn := CreateToolButton('RemoveBitBtn', lisExtToolRemove, lisPckEditRemoveSelectedItem, 'laz_delete', @RemoveBitBtnClick);
|
||||||
CreateDivider;
|
CreateDivider;
|
||||||
OptionsBitBtn := CreateToolButton('OptionsBitBtn', dlgFROpts, lisPckEditEditGeneralOptions, 'pkg_properties', @OptionsBitBtnClick);
|
OptionsBitBtn := CreateToolButton('OptionsBitBtn', dlgFROpts, lisPckEditEditGeneralOptions, 'pkg_properties', @OptionsBitBtnClick);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user