Skip to content
This repository was archived by the owner on Nov 11, 2018. It is now read-only.

Commit a6732a2

Browse files
committed
Add support for polish locale
1 parent c054370 commit a6732a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

util.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class Format(object):
1414
LOCALE_DE = 'de'
1515
LOCALE_ES = 'es'
1616
LOCALE_FR = 'fr'
17+
LOCALE_PL = 'pl'
1718
LOCALE_EN = 'en'
1819
DEFAULT_LOCALE = 'en'
1920

@@ -67,4 +68,4 @@ def float(self, number):
6768
return "%.1f" % float(number)
6869

6970
def isDe(self):
70-
return self.locale in [Format.LOCALE_DE, Format.LOCALE_ES, Format.LOCALE_FR]
71+
return self.locale in [Format.LOCALE_DE, Format.LOCALE_ES, Format.LOCALE_FR, Format.LOCALE_PL]

0 commit comments

Comments
 (0)