projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use %n for plural form in translation string
[quassel.git]
/
src
/
uisupport
/
inputline.cpp
diff --git
a/src/uisupport/inputline.cpp
b/src/uisupport/inputline.cpp
index
368852b
..
eaed70f
100644
(file)
--- 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) {
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 += "<p>";
for(int i = 0; i < 3; i++) {
msg += lines[i].left(40);
msg += "<p>";
for(int i = 0; i < 3; i++) {
msg += lines[i].left(40);