]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Config/Config_Translator.h
Salome HOME
Issue #1005: To improve user-friendship of error-messages for features and attributes
[modules/shaper.git] / src / Config / Config_Translator.h
index 158091be3f6a79c96745b679e14507f3006e8184..9359085fa4e6f75c536058c7e60259b08993de5f 100644 (file)
@@ -15,7 +15,7 @@
 
 
 /// The definition provides collection and writing of missed translations
-//#define MISSED_TRANSLATION
+#define MISSED_TRANSLATION
 
 /**
  * \class Config_Translator
@@ -65,6 +65,12 @@ public:
   */ 
   static CONFIG_EXPORT std::string codec(const std::string& theContext);
 
+  /**
+  * Returns codec for the context
+  * \param theInfo the info
+  */ 
+  static CONFIG_EXPORT std::string codec(const Events_InfoMessage& theInfo);
+
 #ifdef _DEBUG
 #ifdef MISSED_TRANSLATION
   static CONFIG_EXPORT void saveMissedTranslations();