mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
Switch from (s) to plural form whenever possible in message log (#3487)
* Use plural form whenever possible Change for "%1 draws %2 card(s)" is self explanatory Change for "look top X" switches var %2 and %3 so i can skip %3 for singular and translate as "top card", as explained in tr comment For "counter(s)" i just moved it into %3 (each color) since plural form is already used there. * clangify * manual clangify attempt * Add missing tr * More missing tr
This commit is contained in:
parent
84f6da103f
commit
ce140041e3
3 changed files with 16 additions and 15 deletions
|
|
@ -649,7 +649,7 @@ MessagesSettingsPage::MessagesSettingsPage()
|
|||
connect(&roomHistory, SIGNAL(stateChanged(int)), settingsCache, SLOT(setRoomHistory(int)));
|
||||
|
||||
customAlertString = new QLineEdit();
|
||||
customAlertString->setPlaceholderText("Word1 Word2 Word3");
|
||||
customAlertString->setPlaceholderText(tr("Word1 Word2 Word3"));
|
||||
customAlertString->setText(settingsCache->getHighlightWords());
|
||||
connect(customAlertString, SIGNAL(textChanged(QString)), settingsCache, SLOT(setHighlightWords(QString)));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue