[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [klettres] src: Add translation domain.
From:       Andreas Cord-Landwehr <cordlandwehr () kde ! org>
Date:       2015-03-31 18:58:00
Message-ID: E1Yd1MO-0006D9-I1 () scm ! kde ! org
[Download RAW message or body]

Git commit ddee23e4243d7f455bd70d6b185bdfd42b43e6a1 by Andreas Cord-Landwehr.
Committed on 31/03/2015 at 18:47.
Pushed by cordlandwehr into branch 'master'.

Add translation domain.

M  +2    -0    src/main.cpp

http://commits.kde.org/klettres/ddee23e4243d7f455bd70d6b185bdfd42b43e6a1

diff --git a/src/main.cpp b/src/main.cpp
index 4d835c2..597c097 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -40,6 +40,8 @@ static const char version[] = "2.1";
 
 int main(int argc, char **argv)
 {
+    KLocalizedString::setApplicationDomain("klettres");
+
     QStringList configFiles;
     QStringList rcFiles;
     configFiles << QLatin1String("klettresrc");
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic