diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2017-10-01 07:45:55 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2017-10-01 07:45:55 -0400 |
| commit | 8fe3b06d40b0c052ba915fb76874e1d02b04c5bb (patch) | |
| tree | 92a843ed63ad1581319e048dad9b6d1d46d25c3e /www/lang | |
| parent | abb3fb46f5614cc9c3089b90e5cf174695670f50 (diff) | |
updates
Diffstat (limited to 'www/lang')
| -rwxr-xr-x | www/lang/checklang.py | 6 | ||||
| -rw-r--r-- | www/lang/locale-en.json | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/www/lang/checklang.py b/www/lang/checklang.py index 307f51df..c2ddc189 100755 --- a/www/lang/checklang.py +++ b/www/lang/checklang.py @@ -1,7 +1,7 @@ #!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals import sys -import json +import simplejson as json import os import getopt @@ -53,8 +53,8 @@ def compare(fname): with open (i) as json_data: try: newKeys = json.load(json_data) - except ValueError: - print('could not parse %s, skipping!' %fname) + except ValueError as err: + print('could not parse %s, skipping! %s' %(fname, err)) globBad+=1 return json_data.close() diff --git a/www/lang/locale-en.json b/www/lang/locale-en.json index 24f2a031..a134e923 100644 --- a/www/lang/locale-en.json +++ b/www/lang/locale-en.json @@ -72,7 +72,7 @@ "kDiscoveringPortal" :"discovering portal", "kDone" :"done", "kDownload" :"download", - "kEmailNotConfigured" : "Email not configured", + "kEmailNotConfigured" :"Email not configured", "kEnable24hr" :"enable 24hr time format", "kEnableDebug" :"Enable debug logs", "kEnableGIFMP4" :"Enable GIF/MP4 downloads", |
