@@ -139,7 +139,7 @@ implementation
139
139
DataModules.Icons, Forms.Main, AppConfig.Main, VirtualTree.Methods,
140
140
Utility.System, Forms.GraphicMenu, Kernel.Types, NodeDataTypes.Files,
141
141
NodeDataTypes.Custom, NodeDataTypes.Base, Kernel.Consts, Kernel.Logger,
142
- Utility.Misc, Utility.FileFolder, Windows;
142
+ Utility.Misc, Utility.FileFolder, Windows, Kernel.ResourceStrings ;
143
143
144
144
{ $R *.lfm}
145
145
@@ -221,7 +221,7 @@ procedure TdmTrayMenu.SearchAddDirectory(AMI: TMenuItem; FolderPath: string);
221
221
AddSub(NMI);
222
222
end
223
223
else begin
224
- // NMI.Caption := DKLangConstW(' msgCMOpenFolder') ;
224
+ NMI.Caption := msgCMOpenFolder;
225
225
NMI.OnClick := OpenFile;
226
226
// TODO: NewBottomLine ???
227
227
// AMI.NewBottomLine;
@@ -381,14 +381,14 @@ procedure TdmTrayMenu.UpdateClassicMenu(Menu: TPopUpMenu);
381
381
if Config.SubMenuMFU then
382
382
begin
383
383
CreateSeparator(Menu);
384
- // CreateSpecialList(Menu, Config.ListManager.MFUList, Config.MFUNumber, DKLangConstW(' msgLongMFU') );
384
+ CreateSpecialList(Menu, Config.ListManager.MFUList, Config.MFUNumber, msgLongMFU);
385
385
end
386
386
else begin
387
- // CreateSeparator(Menu, DKLangConstW(' msgLongMFU') );
387
+ CreateSeparator(Menu, msgLongMFU);
388
388
CreateSpecialList(Menu, Config.ListManager.MFUList, Config.MFUNumber);
389
389
end ;
390
390
end ;
391
- // CreateSeparator(Menu,DKLangConstW(' msgList') );
391
+ CreateSeparator(Menu,msgList);
392
392
// List
393
393
PopulateCategoryItems(nil );
394
394
// MRU
@@ -397,10 +397,10 @@ procedure TdmTrayMenu.UpdateClassicMenu(Menu: TPopUpMenu);
397
397
if Config.SubMenuMRU then
398
398
begin
399
399
CreateSeparator(Menu);
400
- // CreateSpecialList(Menu, Config.ListManager.MRUList, Config.MRUNumber, DKLangConstW(' msgLongMRU') );
400
+ CreateSpecialList(Menu, Config.ListManager.MRUList, Config.MRUNumber, msgLongMRU);
401
401
end
402
402
else begin
403
- // CreateSeparator(Menu,DKLangConstW(' msgLongMRU') );
403
+ CreateSeparator(Menu,msgLongMRU);
404
404
CreateSpecialList(Menu, Config.ListManager.MRUList, Config.MRUNumber,' ' );
405
405
end ;
406
406
end ;
@@ -423,14 +423,14 @@ procedure TdmTrayMenu.CreateHeaderItems(Menu: TPopupMenu);
423
423
case I of
424
424
0 :
425
425
begin
426
- // MenuItem.Caption := DKLangConstW(' msgShowASuite') ;
426
+ MenuItem.Caption := msgShowASuite;
427
427
MenuItem.ImageIndex := Config.IconsManager.GetIconIndex(' asuite' );
428
428
MenuItem.OnClick := ShowMainForm;
429
429
MenuItem.Default := true;
430
430
end ;
431
431
1 :
432
432
begin
433
- // MenuItem.Caption := DKLangConstW(' msgOpenOptions') ;
433
+ MenuItem.Caption := msgOpenOptions;
434
434
MenuItem.ImageIndex := Config.IconsManager.GetIconIndex(' options' );
435
435
MenuItem.OnClick := frmMain.miOptionsClick;
436
436
MenuItem.Enabled := Not (Config.ReadOnlyMode);
@@ -481,12 +481,12 @@ procedure TdmTrayMenu.CreateFooterItems(Menu: TPopupMenu);
481
481
case I of
482
482
0 :
483
483
begin
484
- // MenuItem.Caption := DKLangConstW(' msgEjectHardware') ;
484
+ MenuItem.Caption := msgEjectHardware;
485
485
MenuItem.OnClick := EjectDialog;
486
486
end ;
487
487
1 :
488
488
begin
489
- // MenuItem.Caption := DKLangConstW(' msgExit') ;
489
+ MenuItem.Caption := msgExit;
490
490
MenuItem.OnClick := frmMain.miExitClick;
491
491
end ;
492
492
end ;
0 commit comments