# Sketcher: Change radius of circular edges while dragging a point on the edge
SET(SKETCHER_CHANGE_RADIUS_WHEN_MOVE TRUE)
+SET(MAKE_TRANSLATION NO)
+
+IF(${MAKE_TRANSLATION})
+ ADD_DEFINITIONS( -DMAKE_TRANSLATION )
+ENDIF(${MAKE_TRANSLATION})
+
+
ADD_SUBDIRECTORY (src/Config)
ADD_SUBDIRECTORY (src/Events)
ADD_SUBDIRECTORY (src/Selector)
// Load translations
QStringList aLangs;
- //aLangs << "*_en.ts"; // load by default eng translations
+#ifdef MAKE_TRANSLATION
QString aCurrLang = aResMgr->stringValue("language", "language", "en");
if(aCurrLang == "en") {
aLangs << "*_en.ts";
} else {
aLangs << "*_" + aCurrLang + ".ts"; // then replace with translated files
}
+#else
+ aLangs << "*_en.ts"; // load by default eng translations
+#endif
foreach(QString aLang, aLangs) {
QStringList aFilters;