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

List:       kde-commits
Subject:    [kapptemplate] src/application: Have "no sample picture" translated
From:       Friedrich W. H. Kossebau <kossebau () kde ! org>
Date:       2016-03-31 19:29:04
Message-ID: E1aliHA-00019E-Vo () scm ! kde ! org
[Download RAW message or body]

Git commit 390787ff6f66160b3f9f0d858a09577b4216da5e by Friedrich W. H. Koss=
ebau.
Committed on 31/03/2016 at 19:28.
Pushed by kossebau into branch 'master'.

Have "no sample picture" translated

M  +1    -2    src/application/choicepage.cpp

http://commits.kde.org/kapptemplate/390787ff6f66160b3f9f0d858a09577b4216da5e

diff --git a/src/application/choicepage.cpp b/src/application/choicepage.cpp
index 719de50..9a941d8 100644
--- a/src/application/choicepage.cpp
+++ b/src/application/choicepage.cpp
@@ -83,8 +83,7 @@ void ChoicePage::itemSelected(const QModelIndex &index)
     }
 =

     if (picPath.isEmpty()) {
-        // TODO: i18n
-        ui_choice.pictureLabel->setText("No sample picture available.");
+        ui_choice.pictureLabel->setText(i18n("No sample picture available.=
"));
     } else {
         QPixmap pixmap(picPath);
         ui_choice.pictureLabel->setPixmap(pixmap);
[prev in list] [next in list] [prev in thread] [next in thread] 

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