Skip to content

Commit

Permalink
Merge 3fbbf48 into 8b62b3b
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Jul 10, 2019
2 parents 8b62b3b + 3fbbf48 commit c844fc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Expand Up @@ -5,7 +5,8 @@
4.6.3 (unreleased)
==================

- Nothing changed yet.
- Fix the signature of ``IMessageCatalog.getPluralMessage()``. See `issue 41
<https://zopefoundation/zope.i18n/issue/41>`_.


4.6.2 (2019-02-19)
Expand Down
6 changes: 3 additions & 3 deletions src/zope/i18n/interfaces/__init__.py
Expand Up @@ -60,14 +60,14 @@ def getMessage(msgid):
An exception is raised if the message id is not found.
"""

def queryMessage(msgid, default=None):
"""Look for the appropriate text for the given message id.
If the message id is not found, default is returned.
"""

def getPluralMessage(self, singular, plural, n):
def getPluralMessage(singular, plural, n):
"""Get the appropriate text for the given message id and the
plural id.
Expand Down Expand Up @@ -328,7 +328,7 @@ def format(obj, pattern=None):


class INumberFormat(IFormat):
"""Specific number formatting interface. Here are the formatting
r"""Specific number formatting interface. Here are the formatting
rules (I modified the rules from ICU a bit, since I think they did not
agree well with the real world XML formatting strings):
Expand Down

0 comments on commit c844fc4

Please sign in to comment.