From 818f7829b6885246bcda9c89c0f46e68f5835d13 Mon Sep 17 00:00:00 2001 From: Souheil CHELFOUH Date: Thu, 18 Oct 2018 12:18:32 +0200 Subject: Fixed typo and added file encoding in test. --- src/zope/i18n/gettextmessagecatalog.py | 2 +- src/zope/i18n/tests/test_plurals.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/zope/i18n/gettextmessagecatalog.py b/src/zope/i18n/gettextmessagecatalog.py index 675c7f2..8e1272b 100644 --- a/src/zope/i18n/gettextmessagecatalog.py +++ b/src/zope/i18n/gettextmessagecatalog.py @@ -34,7 +34,7 @@ class _KeyErrorRaisingFallback(object): def plural_formatting(func): """This decorator interpolates the possible formatting marker. This interpolation marker is usally present for plurals. - Example: `There are %d apples` or `They have %s pies.' + Example: `There are %d apples` or `They have %s pies.` Please note that the interpolation can be done, alternatively, using the mapping. This is only present as a conveniance. diff --git a/src/zope/i18n/tests/test_plurals.py b/src/zope/i18n/tests/test_plurals.py index 50e192d..596ff7f 100644 --- a/src/zope/i18n/tests/test_plurals.py +++ b/src/zope/i18n/tests/test_plurals.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- ############################################################################## # # Copyright (c) 2001, 2002 Zope Foundation and Contributors. -- cgit v1.2.1