Changes between Version 30 and Version 31 of BluePrint/Translation
- Timestamp:
- 08/19/13 14:12:55 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrint/Translation
v30 v31 88 88 * Implementation Details: 89 89 * Function merge_pootle takes 2 arguments (language_code, preference). Preference defines which is given preference in case of a conflict (either po or py). 90 91 90 * Function download_strings takes the language_code and returns pootle strings and python strings in a tuple. 92 93 91 * Function merge_strings takes 2 set of strings and merges them on the basis of preference. 94 95 92 * Function upload_to_pootle takes language_code, a pootle file and uploads the pootle file to Sahana server on pootle using overwrite option. Mechanize library of python has been used to implement this. 96 93