From: Manuel Nickschas Date: Sun, 15 Mar 2009 19:56:40 +0000 (+0100) Subject: Use %n for plural form in translation string X-Git-Tag: 0.4.1~12 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=5ee03e3153a251d3b106226a472e2c0831ab68c2 Use %n for plural form in translation string --- diff --git a/src/uisupport/inputline.cpp b/src/uisupport/inputline.cpp index 368852be..eaed70fe 100644 --- a/src/uisupport/inputline.cpp +++ b/src/uisupport/inputline.cpp @@ -145,7 +145,7 @@ void InputLine::on_textChanged(QString newText) { clear(); if(lines.count() >= 4) { - QString msg = tr("Do you really want to paste %1 lines?", "", lines.count()).arg(lines.count()); + QString msg = tr("Do you really want to paste %n lines?", "", lines.count()); msg += "

"; for(int i = 0; i < 3; i++) { msg += lines[i].left(40);