tool4po --get-list-trans incorrect function call
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ADempiere ERP Localization |
Fix Released
|
Medium
|
PeanutBlake |
Bug Description
I tried to run the command to get the translation list on tool4po 0.99 based on the README:
$ python3.1 tool4po.py --get-list-trans 'en_US_
However this failed with the following error message:
Default Language: nl_NL
-------
Warning: LANGUAGE_
-------
Error! Wrong mode in run_get_list_trans!
mode: en_US_360LTS_
Upon inspecting the code I found that the command translates into a function call in the following way:
run_get_
This does not seem consitend with the current definition:
def run_get_
I therefore changed the call:
run_get_
Which seems to restore the --get-list-trans functionality.
Please review and merge patch I have attached
Changed in aderp: | |
assignee: | nobody → PeanutBlake (peanutblake) |
importance: | Undecided → Low |
Changed in aderp: | |
importance: | Low → Medium |
status: | New → Fix Released |
Hi, dtech.
Thanks very much!
Yes, it is a bug.
I found this bug on Mar 09, 2012, but didn't update the wiki link (http:// www.adempiere. com/Tool4po).
Sorry!
You can download verion 1.10 here: /launchpad. net/aderp/ tool4po/ v1.10
https:/
Please refer here for lastest update: https:/ /launchpad. net/aderp/ tool4po/