Salome HOME
CAM_Application: Fix log message (no translation needed).
authorPascal Obry <pascal.obry@edf.fr>
Mon, 15 May 2023 08:28:39 +0000 (10:28 +0200)
committerPascal Obry <pascal.obry@edf.fr>
Tue, 5 Sep 2023 09:36:26 +0000 (11:36 +0200)
src/CAM/CAM_Application.cxx

index d524028f4828139ae872d6d3ae761dabeafc39eb..7a9273171212677bbde07bd7cb421edb6b70176f 100644 (file)
@@ -1082,15 +1082,15 @@ void CAM_Application::logAction( QAction* action, const QString& moduleName )
     {
       logStructuredUserEvent ( moduleName,
                                "",
-                               tr( "ACTION_TOGGLED" ),
-                               action->isChecked() ? tr( "ACTION_ON" ) : tr( "ACTION_OFF" ),
+                               "toggled",
+                               action->isChecked() ? "on" : "off",
                                text );
     }
     else
     {
       logStructuredUserEvent ( moduleName,
                                "",
-                               tr( "ACTION_TRIGGERED" ),
+                               "triggered",
                                "",
                                text );
     }