[kde-doc-english] [skrooge] /: KF porting: About with translators

Stephane Mankowski stephane at mankowski.fr
Mon Jun 15 13:24:17 UTC 2015


Git commit 413deb50625126dd377a3a623fc9fe3d9c390791 by Stephane Mankowski.
Committed on 15/06/2015 at 13:24.
Pushed by smankowski into branch 'master'.

KF porting: About with translators

M  +2    -2    doc/index.docbook
M  +1    -5    skgbasegui/skgmainpanel.cpp
M  +2    -0    skrooge/main.cpp
M  +1    -0    skroogeconvert/main.cpp

http://commits.kde.org/skrooge/413deb50625126dd377a3a623fc9fe3d9c390791

diff --git a/doc/index.docbook b/doc/index.docbook
index 61313f2..eb9615c 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -50,8 +50,8 @@
     
     <legalnotice>&FDLNotice;</legalnotice>
     
-    <date>08/06/2014</date>
-    <releaseinfo>1.10.0</releaseinfo>
+    <date>15/06/2015</date>
+    <releaseinfo>2.0.0</releaseinfo>
     
     
     <abstract>
diff --git a/skgbasegui/skgmainpanel.cpp b/skgbasegui/skgmainpanel.cpp
index 1b8651e..af63521 100644
--- a/skgbasegui/skgmainpanel.cpp
+++ b/skgbasegui/skgmainpanel.cpp
@@ -389,11 +389,7 @@ SKGMainPanel::SKGMainPanel(QSplashScreen* iSplashScreen, SKGDocument* iDocument,
     // Add credits
     nb = listAuthors.count();
     for (int i = 0; i < nb; ++i) {
-        KAboutData::applicationData().addCredit(i18n("%1", listAuthors.at(i).toLatin1().data()),
-                                                i18n("%1", listTasks.at(i).toLatin1().data()),
-                                                listEmails.at(i).toLatin1(),
-                                                ""
-                                                , listOscs.at(i).toLatin1());
+        KAboutData::applicationData().addCredit(listAuthors.at(i), listTasks.at(i), listEmails.at(i), "" , listOscs.at(i));
     }
 
     // accept dnd
diff --git a/skrooge/main.cpp b/skrooge/main.cpp
index f1fc9da..1bfe6ad 100644
--- a/skrooge/main.cpp
+++ b/skrooge/main.cpp
@@ -104,6 +104,8 @@ int main(int argc, char** argv)
                     , "h4xordood"
                    );
     about.setOtherText(i18nc("The description of the application", "The application name is inspired by Charles Dicken's tale <i>A Christmas Carol</i>, where the main character, Ebenezer Scrooge, a grumpy old narrow man, gets visited by three ghosts who change the way he sees the world, in a good way."));
+    about.setTranslator(i18nc("NAME OF TRANSLATORS", "Your names"), i18nc("EMAIL OF TRANSLATORS", "Your emails"));
+
     KAboutData::setApplicationData(about);
 
     app.setApplicationName(about.componentName());
diff --git a/skroogeconvert/main.cpp b/skroogeconvert/main.cpp
index 7f0b2e6..73078d7 100644
--- a/skroogeconvert/main.cpp
+++ b/skroogeconvert/main.cpp
@@ -75,6 +75,7 @@ int main(int argc, char** argv)
                     , "willy9"
                    );
     about.setOtherText(i18nc("The description of the application", "The application name is inspired by Charles Dicken's tale <i>A Christmas Carol</i>, where the main character, Ebenezer Scrooge, a grumpy old narrow man, gets visited by three ghosts who change the way he sees the world, in a good way."));
+    about.setTranslator(i18nc("NAME OF TRANSLATORS", "Your names"), i18nc("EMAIL OF TRANSLATORS", "Your emails"));
     KAboutData::setApplicationData(about);
 
     QCoreApplication app(argc, argv);


More information about the kde-doc-english mailing list