diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-11-14 22:35:10 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-11-14 22:35:10 +0000 |
commit | 1745e131fcc50e5791a147549b79e72751dcca42 (patch) | |
tree | 8f86cdf8bdbee99abe0d15a700df23e1ab015c25 /ui/qt/follow_stream_dialog.cpp | |
parent | 64f4e13fff579b3a4a78e6cd327f15516e1ef3bb (diff) | |
download | wireshark-1745e131fcc50e5791a147549b79e72751dcca42.tar.gz |
Create a plural-only English translation. Use it to pluralize the Follow
Stream and Flow Graph hint statistics.
svn path=/trunk/; revision=53326
Diffstat (limited to 'ui/qt/follow_stream_dialog.cpp')
-rw-r--r-- | ui/qt/follow_stream_dialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/qt/follow_stream_dialog.cpp b/ui/qt/follow_stream_dialog.cpp index 1590afc064..b1126f49d1 100644 --- a/ui/qt/follow_stream_dialog.cpp +++ b/ui/qt/follow_stream_dialog.cpp @@ -136,8 +136,9 @@ void FollowStreamDialog::fillHintLabel(int text_pos) hint = QString("Packet %1. ").arg(pkt); } - hint.append(QString("%1 client pkts, %2 server pkts, %3 turns.") - .arg(client_packet_count_).arg(server_packet_count_).arg(turns_)); + hint += tr("%Ln client pkt(s), ", "", client_packet_count_) + + tr("%Ln server pkt(s), ", "", server_packet_count_) + + tr("%Ln turn(s).", "", turns_); if (pkt > 0) { hint.append(QString(" Click to select.")); |