mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
[DeckShare] Provide the full share hint in each plural form
This commit is contained in:
parent
6fa4a2eb0c
commit
2b9fdc054f
1 changed files with 3 additions and 2 deletions
|
|
@ -126,9 +126,10 @@ void TabDeckStorageVisual::updateShareHint()
|
|||
shareBar->setCountText(tr("%n deck(s)", "", count));
|
||||
if (count == 0) {
|
||||
shareBar->setHintText(tr("Click deck tiles to select the decks you want to share."), true);
|
||||
} else if (count == 1) {
|
||||
shareBar->setHintText(tr("One deck selected. Create the link to share it with other players."), true);
|
||||
} else {
|
||||
shareBar->setHintText(tr("%n deck(s) selected. Create the link to share %1 with other players.", "", count)
|
||||
.arg(count == 1 ? tr("it") : tr("them")),
|
||||
shareBar->setHintText(tr("%n decks selected. Create the link to share them with other players.", "", count),
|
||||
true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue