浏览代码

Correcting action component name

(also to get the component treated correctly for translation ignore rules to exclude the Category property)

Source commit: 8c9e97696386e61fd473903f19927d90e18e1c45
Martin Prikryl 6 年之前
父节点
当前提交
a5b05ac9b5

+ 2 - 2
source/forms/NonVisual.cpp

@@ -333,7 +333,7 @@ void __fastcall TNonVisualDataModule::ExplorerActionsUpdate(
     AutoReadDirectoryAfterOpAction->Checked = Configuration->AutoReadDirectoryAfterOp, )
   UPD(PreferencesAction, true)
   UPD(PresetsPreferencesAction, true)
-  UPD(FileColorsPreferences, true)
+  UPD(FileColorsPreferencesAction, true)
   UPDEX(LockToolbarsAction, true,
     LockToolbarsAction->Checked = WinConfiguration->LockToolbars, )
   UPDEX(SelectiveToolbarTextAction, true,
@@ -651,7 +651,7 @@ void __fastcall TNonVisualDataModule::ExplorerActionsExecute(
     EXE(AutoReadDirectoryAfterOpAction, ScpExplorer->ToggleAutoReadDirectoryAfterOp())
     EXE(PreferencesAction, PreferencesDialog(::pmDefault) )
     EXE(PresetsPreferencesAction, PreferencesDialog(pmPresets) )
-    EXE(FileColorsPreferences, PreferencesDialog(pmFileColors) )
+    EXE(FileColorsPreferencesAction, PreferencesDialog(pmFileColors) )
     EXE(LockToolbarsAction, WinConfiguration->LockToolbars = !WinConfiguration->LockToolbars)
     EXE(SelectiveToolbarTextAction, WinConfiguration->SelectiveToolbarText = !WinConfiguration->SelectiveToolbarText)
     EXECOMP(CustomCommandsBand)

+ 1 - 1
source/forms/NonVisual.dfm

@@ -2253,7 +2253,7 @@ object NonVisualDataModule: TNonVisualDataModule
       ImageIndex = 111
       ShortCut = 16451
     end
-    object FileColorsPreferences: TAction
+    object FileColorsPreferencesAction: TAction
       Tag = 15
       Category = 'View'
       Caption = 'File &Colors...'

+ 1 - 1
source/forms/NonVisual.h

@@ -619,7 +619,7 @@ __published:    // IDE-managed Components
   TAction *RenameSessionAction;
   TTBXItem *TBXItem78;
   TAction *CurrentCopyAction;
-  TAction *FileColorsPreferences;
+  TAction *FileColorsPreferencesAction;
   void __fastcall ExplorerActionsUpdate(TBasicAction *Action, bool &Handled);
   void __fastcall ExplorerActionsExecute(TBasicAction *Action, bool &Handled);
   void __fastcall SessionIdleTimerTimer(TObject *Sender);

+ 2 - 2
source/forms/ScpCommander.dfm

@@ -1218,7 +1218,7 @@ inherited ScpCommanderForm: TScpCommanderForm
           object TBXSeparatorItem63: TTBXSeparatorItem
           end
           object TBXItem237: TTBXItem
-            Action = NonVisualDataModule.FileColorsPreferences
+            Action = NonVisualDataModule.FileColorsPreferencesAction
           end
         end
       end
@@ -1559,7 +1559,7 @@ inherited ScpCommanderForm: TScpCommanderForm
           object TBXSeparatorItem64: TTBXSeparatorItem
           end
           object TBXItem251: TTBXItem
-            Action = NonVisualDataModule.FileColorsPreferences
+            Action = NonVisualDataModule.FileColorsPreferencesAction
           end
         end
       end

+ 1 - 1
source/forms/ScpExplorer.dfm

@@ -921,7 +921,7 @@ inherited ScpExplorerForm: TScpExplorerForm
         object TBXSeparatorItem43: TTBXSeparatorItem
         end
         object TBXItem161: TTBXItem
-          Action = NonVisualDataModule.FileColorsPreferences
+          Action = NonVisualDataModule.FileColorsPreferencesAction
         end
       end
     end