Skip to content

Commit

Permalink
Fix en_US locale for Windows, re: #308
Browse files Browse the repository at this point in the history
  • Loading branch information
machawk1 committed Feb 18, 2019
1 parent 942b179 commit ece8eac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bundledApps/WAIL.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,11 @@ def setMementoCount(self, mCount, aCount=0):
if mCount is None:
memCountMsg = config.msg_fetchingMementos
elif mCount > 0:
locale.setlocale(locale.LC_ALL, 'en_US')
localeToSet = 'en_US'
if sys.platform.startswith('win32'):
localeToSet = ''

locale.setlocale(locale.LC_ALL, localeToSet)

mPlurality = 's'
aPlurality = 's'
Expand Down

0 comments on commit ece8eac

Please sign in to comment.