[chrysn] pluralize some strings
This commit is contained in:
parent
b66c30d573
commit
7cd239b993
2 changed files with 19 additions and 6 deletions
18
po/de.po
18
po/de.po
|
@ -7544,13 +7544,23 @@ msgstr ""
|
||||||
|
|
||||||
#: ../src/dialogs.py:3477
|
#: ../src/dialogs.py:3477
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Added %s contacts"
|
msgid "Added %d contacts"
|
||||||
msgstr "%s Kontakte hinzugefügt"
|
msgstr "%d Kontakte hinzugefügt"
|
||||||
|
|
||||||
|
#: ../src/dialogs.py:3477
|
||||||
|
#, python-format
|
||||||
|
msgid "Added %d contact"
|
||||||
|
msgstr "%d Kontakt hinzugefügt"
|
||||||
|
|
||||||
#: ../src/dialogs.py:3514
|
#: ../src/dialogs.py:3514
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Removed %s contacts"
|
msgid "Removed %d contacts"
|
||||||
msgstr "%s Kontakte entfernt"
|
msgstr "%d Kontakte entfernt"
|
||||||
|
|
||||||
|
#: ../src/dialogs.py:3514
|
||||||
|
#, python-format
|
||||||
|
msgid "Removed %d contact"
|
||||||
|
msgstr "%d Kontakt entfernt"
|
||||||
|
|
||||||
#: ../src/dialogs.py:3554 ../src/dialogs.py:3731
|
#: ../src/dialogs.py:3554 ../src/dialogs.py:3731
|
||||||
#, python-format
|
#, python-format
|
||||||
|
|
|
@ -57,6 +57,7 @@ from advanced_configuration_window import AdvancedConfigurationWindow
|
||||||
|
|
||||||
from common import gajim
|
from common import gajim
|
||||||
from common import helpers
|
from common import helpers
|
||||||
|
from common import i18n
|
||||||
from common import dataforms
|
from common import dataforms
|
||||||
from common.exceptions import GajimGeneralException
|
from common.exceptions import GajimGeneralException
|
||||||
|
|
||||||
|
@ -3558,7 +3559,8 @@ class RosterItemExchangeWindow:
|
||||||
self.account, groups=groups, nickname=model[iter_][2],
|
self.account, groups=groups, nickname=model[iter_][2],
|
||||||
auto_auth=True)
|
auto_auth=True)
|
||||||
iter_ = model.iter_next(iter_)
|
iter_ = model.iter_next(iter_)
|
||||||
InformationDialog(_('Added %s contacts') % str(a))
|
InformationDialog(i18n.ngettext('Added %d contact',
|
||||||
|
'Added %d contacts', a, a, a))
|
||||||
elif self.action == 'modify':
|
elif self.action == 'modify':
|
||||||
a = 0
|
a = 0
|
||||||
while iter_:
|
while iter_:
|
||||||
|
@ -3595,7 +3597,8 @@ class RosterItemExchangeWindow:
|
||||||
gajim.interface.roster.remove_contact(jid, self.account)
|
gajim.interface.roster.remove_contact(jid, self.account)
|
||||||
gajim.contacts.remove_jid(self.account, jid)
|
gajim.contacts.remove_jid(self.account, jid)
|
||||||
iter_ = model.iter_next(iter_)
|
iter_ = model.iter_next(iter_)
|
||||||
InformationDialog(_('Removed %s contacts') % str(a))
|
InformationDialog(i18n.ngettext('Removed %d contact',
|
||||||
|
'Removed %d contacts', a, a, a))
|
||||||
self.window.destroy()
|
self.window.destroy()
|
||||||
|
|
||||||
def on_cancel_button_clicked(self, widget):
|
def on_cancel_button_clicked(self, widget):
|
||||||
|
|
Loading…
Add table
Reference in a new issue