summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-01-03 17:16:07 +0100
committerMontel Laurent <[email protected]>2015-01-03 17:16:07 +0100
commite27bace30ede6d40e0b0e3714da04ade5eb051dc (patch)
tree4521fd5ed21afc1fa1029917cd8b8574c14ae15e
parent04dce7c4a807351a7c9967699368087e2644cea9 (diff)
Make it translate
-rw-r--r--CMakeLists.txt3
-rw-r--r--src/main.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e7603d8..e8d7297 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -58,6 +58,9 @@ if(OPENGL_SUPPORT)
add_definitions(-DOPENGL_SUPPORT)
endif(OPENGL_SUPPORT)
+add_definitions(-DTRANSLATION_DOMAIN="ksudoku")
+
+
add_subdirectory( src )
add_subdirectory( doc )
diff --git a/src/main.cpp b/src/main.cpp
index 3f120ab..4f01bb4 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -62,8 +62,6 @@ int main(int argc, char **argv)
options.add("+[URL]", ki18n( "Document to open" ));
KCmdLineArgs::addCmdLineOptions(options);
KApplication app;
- //KF5 port: remove this line and define TRANSLATION_DOMAIN in CMakeLists.txt instead
-//KLocalizedString::global()->insertCatalog( QLatin1String( "libkdegames" ));
// register ourselves as a dcop client
// app.dcopClient()->registerAs(app.name(), false); //TODO PORT