Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update Vietnamese translation (thanks to Vietnam Red Cross!)

  • Loading branch information...
commit dfc5ad8c6d76abac634bd6af4ca5d12c0d25d6fa 1 parent 7a57de3
@flavour authored
Showing with 1,016 additions and 4,379 deletions.
  1. +1 −1  VERSION
  2. +1,012 −4,377 languages/vi.py
  3. +3 −1 modules/s3/s3translate.py
View
2  VERSION
@@ -1 +1 @@
-aa9ad7b (2013-03-23 20:57:56)
+7a57de3 (2013-03-24 18:47:43)
View
5,389 languages/vi.py
1,012 additions, 4,377 deletions not shown
View
4 modules/s3/s3translate.py
@@ -1255,7 +1255,8 @@ def convert_to_w2p(self, csvfiles, w2pfilename, option):
from subprocess import call
from tempfile import NamedTemporaryFile
- w2pfilename = os.path.join(current.request.folder, "languages", w2pfilename)
+ w2pfilename = os.path.join(current.request.folder, "languages",
+ w2pfilename)
# Dictionary to store (location,translated string)
# with untranslated string as the key
@@ -1300,6 +1301,7 @@ def convert_to_w2p(self, csvfiles, w2pfilename, option):
call(["csv2po", "-i", csvfilename, "-o", pofilename], shell=True)
# Convert the po file to w2p language file
+ # @ToDo: Catch errors, otherwise we lose output file!
call(["po2web2py", "-i", pofilename, "-o", w2pfilename], shell=True)
# Remove intermediate files
Please sign in to comment.
Something went wrong with that request. Please try again.