Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.
| File __init__.patch,
414 bytes
(added by jbinney, 3 years ago) |
|
|
-
|
old
|
new
|
|
| 123 | 123 | msg_id = msg_id.decode('utf-8') |
| 124 | 124 | translated = i18n.utils.google_translate( |
| 125 | 125 | from_lang, to_lang, msg_id) |
| 126 | | translated = translated.encode('utf-8') |
| 127 | 126 | catalog.update(path, msg_id, translated) |
| 128 | 127 | |
| 129 | 128 | [expose(format='json')] |
Download in other formats: