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

List:       kde-commits
Subject:    kdenetwork/kopete/kopete/chatwindow
From:       David Faure <faure () kde ! org>
Date:       2005-04-12 8:38:16
Message-ID: 20050412083816.431CC63F () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

The master spoke: "plural forms are for plural of nouns not of verbs"


  M +7 -4      chatview.cpp   1.197


--- kdenetwork/kopete/kopete/chatwindow/chatview.cpp  #1.196:1.197
@@ -544,5 +544,4 @@ void ChatView::remoteTyping( const Kopet
         // Loop through the map, constructing a string of people typing
         QStringList typingList;
-        QString statusTyping;
         QPtrDictIterator<QTimer> it( m_remoteTypingMap );
 
@@ -554,10 +553,14 @@ void ChatView::remoteTyping( const Kopet
         }
 
-        statusTyping = typingList.join( QString::fromLatin1( ", " ) );
-
         // Update the status area
         if( !typingList.isEmpty() )
         {
-                setStatusText( i18n( "%1 is typing a message", "%1 are typing a \
message", typingList.count() ).arg( statusTyping ) ); +                if ( \
typingList.count() == 1 ) +                        setStatusText( i18n( "%1 is typing \
a message" ).arg( typingList.first() ) ); +                else
+                {
+                        QString statusTyping = typingList.join( QString::fromLatin1( \
", " ) ); +                        setStatusText( i18n( "%1 is a list of names", "%1 \
are typing a message" ).arg( statusTyping ) ); +                }
                 setTabState( Typing );
         }


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

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