mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 21:16:05 +02:00
Cody/Dictionary: Add resource strings for context menu items
This commit is contained in:
parent
1e1a6a44e7
commit
e240a8897b
@ -1054,10 +1054,10 @@ begin
|
||||
Handled := not FindSelectedItem(Identifier, UnitFilename, GroupName, GroupFilename);
|
||||
if Handled then exit;
|
||||
|
||||
UseMenuItem .Caption := 'Use ' + Identifier;
|
||||
JumpMenuItem .Caption := 'Jump to ' + Identifier;
|
||||
DeleteUnitMenuItem .Caption := 'Delete unit ' + ExtractFilename(UnitFilename);
|
||||
DeletePackageMenuItem.Caption := 'Delete package ' + ExtractFilename(GroupFilename);
|
||||
UseMenuItem .Caption := Format(crsContextUseIdentifier, [Identifier]);
|
||||
JumpMenuItem .Caption := Format(crsContextJumpTo , [Identifier]);
|
||||
DeleteUnitMenuItem .Caption := Format(crsContextDeleteUnit , [ExtractFilename(UnitFilename)]);
|
||||
DeletePackageMenuItem.Caption := Format(crsContextDeletePackage, [ExtractFilename(GroupFilename)]);
|
||||
end;
|
||||
|
||||
procedure TCodyIdentifiersDlg.StartsRadioButtonClick(Sender: TObject);
|
||||
|
@ -183,6 +183,10 @@ resourcestring
|
||||
+'containing filter text';
|
||||
crsUseIdentifier = '&Use identifier';
|
||||
crsAndMoreIdentifiers = '... and %s more identifiers';
|
||||
crsContextUseIdentifier = 'Use "%s"';
|
||||
crsContextJumpTo = 'Jump to "%s"';
|
||||
crsContextDeleteUnit = 'Delete unit "%s"';
|
||||
crsContextDeletePackage = 'Delete package "%s"';
|
||||
crsCodyIdentifierDictionary = 'Identifier Dictionary';
|
||||
crsReallyDeleteTheUnitFromTheDatabaseNoteThisDoesNo = 'Really delete the '
|
||||
+'unit from the database?%sNote: This does not change the source or any'
|
||||
|
Loading…
Reference in New Issue
Block a user