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:
Caledor 2019-01-06 20:48:20 +01:00 committed by ctrlaltca
parent 84f6da103f
commit ce140041e3
3 changed files with 16 additions and 15 deletions

View file

@ -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)));