forked from osmocom/wireshark
Qt: Pluralize "Copy Row(s)"
Properly pluralize "Copy Row(s)" entry in the popup menu. Change-Id: Ifc4f9c69ab63d2d2594648db3115087ba51a941f Reviewed-on: https://code.wireshark.org/review/31269 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
parent
103ffc1ed7
commit
c25dbfa8a7
|
@ -491,7 +491,8 @@ void AboutDialog::handleCopyMenu(QPoint pos)
|
|||
copyColumnAction->setData(VariantPointer<QTreeView>::asQVariant(tree));
|
||||
connect(copyColumnAction, SIGNAL(triggered()), this, SLOT(copyActionTriggered()));
|
||||
|
||||
QAction * copyRowAction = menu->addAction(tr("Copy Row(s)"));
|
||||
QModelIndexList selectedRows = tree->selectionModel()->selectedRows();
|
||||
QAction * copyRowAction = menu->addAction(tr("Copy Row(s)", "", selectedRows.count()));
|
||||
copyRowAction->setData(VariantPointer<QTreeView>::asQVariant(tree));
|
||||
connect(copyRowAction, SIGNAL(triggered()), this, SLOT(copyRowActionTriggered()));
|
||||
|
||||
|
|
|
@ -91,9 +91,12 @@
|
|||
<source>Copy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<message numerus="yes">
|
||||
<source>Copy Row(s)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation type="unfinished">
|
||||
<numerusform>Copy Row</numerusform>
|
||||
<numerusform>Copy Rows</numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
|
Loading…
Reference in New Issue