mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
[DeckShare] Join the selected-count label with a non-translatable separator
This commit is contained in:
parent
2b9fdc054f
commit
29947d1429
1 changed files with 3 additions and 2 deletions
|
|
@ -20,9 +20,9 @@
|
|||
#include <QInputDialog>
|
||||
#include <QLineEdit>
|
||||
#include <QMessageBox>
|
||||
#include <QTimer>
|
||||
#include <QToolBar>
|
||||
#include <QTreeView>
|
||||
#include <QTimer>
|
||||
#include <QUrl>
|
||||
#include <QVBoxLayout>
|
||||
#include <libcockatrice/deck_list/deck_list.h>
|
||||
|
|
@ -716,7 +716,8 @@ void TabDeckStorage::onServerSelectionChanged()
|
|||
if (files > 0) {
|
||||
parts << tr("%n deck(s)", "", files);
|
||||
}
|
||||
shareBar->setCountText(parts.isEmpty() ? tr("No decks selected") : tr("Selected: %1").arg(parts.join(tr(", "))));
|
||||
shareBar->setCountText(parts.isEmpty() ? tr("No decks selected")
|
||||
: tr("Selected: %1").arg(parts.join(QStringLiteral(", "))));
|
||||
}
|
||||
|
||||
void TabDeckStorage::actShareSelection()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue