Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gajim
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rhn
gajim
Commits
7cd239b9
Commit
7cd239b9
authored
Nov 14, 2012
by
Yann Leboulanger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[chrysn] pluralize some strings
parent
b66c30d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
6 deletions
+19
-6
po/de.po
po/de.po
+14
-4
src/dialogs.py
src/dialogs.py
+5
-2
No files found.
po/de.po
View file @
7cd239b9
...
...
@@ -7544,13 +7544,23 @@ msgstr ""
#: ../src/dialogs.py:3477
#, python-format
msgid "Added %s contacts"
msgstr "%s Kontakte hinzugefügt"
msgid "Added %d contacts"
msgstr "%d Kontakte hinzugefügt"
#: ../src/dialogs.py:3477
#, python-format
msgid "Added %d contact"
msgstr "%d Kontakt hinzugefügt"
#: ../src/dialogs.py:3514
#, python-format
msgid "Removed %d contacts"
msgstr "%d Kontakte entfernt"
#: ../src/dialogs.py:3514
#, python-format
msgid "Removed
%s contacts
"
msgstr "%
s Kontakte
entfernt"
msgid "Removed
%d contact
"
msgstr "%
d Kontakt
entfernt"
#: ../src/dialogs.py:3554 ../src/dialogs.py:3731
#, python-format
...
...
src/dialogs.py
View file @
7cd239b9
...
...
@@ -57,6 +57,7 @@ from advanced_configuration_window import AdvancedConfigurationWindow
from
common
import
gajim
from
common
import
helpers
from
common
import
i18n
from
common
import
dataforms
from
common.exceptions
import
GajimGeneralException
...
...
@@ -3558,7 +3559,8 @@ class RosterItemExchangeWindow:
self
.
account
,
groups
=
groups
,
nickname
=
model
[
iter_
][
2
],
auto_auth
=
True
)
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'
:
a
=
0
while
iter_
:
...
...
@@ -3595,7 +3597,8 @@ class RosterItemExchangeWindow:
gajim
.
interface
.
roster
.
remove_contact
(
jid
,
self
.
account
)
gajim
.
contacts
.
remove_jid
(
self
.
account
,
jid
)
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
()
def
on_cancel_button_clicked
(
self
,
widget
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment