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

List:       koffice
Subject:    [Bug 88904] Plural i18n call missing
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-09-06 13:36:15
Message-ID: 20040906133615.25795.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=88904        




------- Additional Comments From nicolasg snafu de  2004-09-06 15:36 -------
CVS commit by goutte: 

I18N: Fix plural user-visible strings (Backport)
CCMAIL:88904 bugs kde org
CCMAIL:kde-i18n-doc kde org


  M +4 -4      koscript_eval.cc   1.22.2.1


--- koffice/lib/koscript/koscript_eval.cc  #1.22:1.22.2.1
 @ -740,6 +740,6  @ bool KSEval_func_dcl( KSParseNode* node,
   if ( !context.value()->listValue().isEmpty() )
   {
-    QString tmp( i18n("%1 arguments are not needed") );
-    context.setException( new KSException( "TooManyArguments", tmp.arg( \
context.value()->listValue().count() ), node->getLineNo() ) ); +    const QString \
tmp( i18n("1 argument is not needed", "%n arguments are not needed", \
context.value()->listValue().count() ) ); +    context.setException( new KSException( \
"TooManyArguments", tmp, node->getLineNo() ) );  context.scope()->popLocalScope();
     return false;
 @ -2127,6 +2127,6  @ bool KSEval_destructor_dcl( KSParseNode*
   if ( !context.value()->listValue().isEmpty() )
   {
-    QString tmp( i18n("%1 arguments are not needed") );
-    context.setException( new KSException( "TooManyArguments", tmp.arg( \
context.value()->listValue().count() ), node->getLineNo() ) ); +    const QString \
tmp( i18n("1 argument is not needed", "%n arguments are not needed", \
context.value()->listValue().count() ) ); +    context.setException( new KSException( \
"TooManyArguments", tmp, node->getLineNo() ) );  context.scope()->popLocalScope();
     return false;
____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice


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

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