[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 88904] Plural i18n call missing
From: Nicolas Goutte <nicolasg () snafu ! de>
Date: 2004-09-06 12:27:54
Message-ID: 20040906122754.13317.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=88904
nicolasg snafu de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From nicolasg snafu de 2004-09-06 14:27 \
------- CVS commit by goutte:
Fix plural user visible strings
CCMAIL:88904-close bugs kde org
M +4 -4 koscript_eval.cc 1.23
--- koffice/lib/koscript/koscript_eval.cc #1.22:1.23
@ -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;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic