summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-05-29 13:48:34 +0200
committerMontel Laurent <[email protected]>2015-05-29 13:48:34 +0200
commit625c1021461562ee6146fcdda8007772d798a96b (patch)
treed1fe417672bd8d37e29b14243ef5e942895e3445
parent2db1317ffe976bcd0811963ad02c98ba10ac8b09 (diff)
Fix translation
-rw-r--r--CMakeLists.txt1
-rw-r--r--src/main.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9df612d..529513c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,7 +28,6 @@ include(KDECompilerSettings)
include(KDECMakeSettings)
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
-add_definitions(-DTRANSLATION_DOMAIN="kiriki")
add_subdirectory(src)
diff --git a/src/main.cpp b/src/main.cpp
index e8b50fc..e68926c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -20,6 +20,7 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
+ KLocalizedString::setApplicationDomain("kiriki");
KAboutData about("kiriki", i18n("Kiriki"), "0.2.1", i18n("A Yahtzee dice game for KDE"), KAboutLicense::GPL, i18n("© 2005-2007 Albert Astals Cid"), "http://games.kde.org/kiriki" );
about.addAuthor(i18n("Albert Astals Cid"), QString(), "[email protected]");
QCommandLineParser parser;