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

List:       kde-commits
Subject:    [spacebar] app/package/contents/ui: [app] Fix the i18n string for "contact is typing"
From:       Martin Klapetek <mklapetek () kde ! org>
Date:       2016-03-17 18:47:24
Message-ID: E1agcxA-0007A6-Sd () scm ! kde ! org
[Download RAW message or body]

Git commit 362f9c24d78731bf3cace954638f7e97033611a2 by Martin Klapetek.
Committed on 17/03/2016 at 18:46.
Pushed by mklapetek into branch 'master'.

[app] Fix the i18n string for "contact is typing"

M  +6    -2    app/package/contents/ui/ConversationPage.qml

http://commits.kde.org/spacebar/362f9c24d78731bf3cace954638f7e97033611a2

diff --git a/app/package/contents/ui/ConversationPage.qml b/app/package/contents/ui/ConversationPage.qml
index 6589aad..ea05b31 100644
--- a/app/package/contents/ui/ConversationPage.qml
+++ b/app/package/contents/ui/ConversationPage.qml
@@ -164,13 +164,17 @@ MobileComponents.Page {
                     Component.onCompleted: {
                         conversation.messages.visibleToUser = true;
                     }
+
+                    Component.onDestruction: {
+                        conversation.messages.visibleToUser = false;
+                    }
     //                 }
             }
 
             PlasmaComponents.Label {
                 Layout.fillWidth: true
-                // FIXME the i18n seems wrong
-                text: conversation.isContactTyping ? i18n(conversation.title + " is typing...") : ""
+                text: conversation.isContactTyping ? i18nc("Contact is composing a message",
+                                                           "%1 is typing...", conversation.title) : ""
                 height: text.length == 0 ? 0 : paintedHeight
 
                 Behavior on height {

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

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