Moved the currency data from the "accounting.currency.commands" module into the currencies.csv file, separating the code and the data. Rewrote the test case to test against each all the content imported. The locales are read from the CSV file instead of hard-coded in the code, so that the translations are not hard-coded to Mandarin.
This commit is contained in:
1 parent
d8e0e30c41
commit
354f1ff3d8
3 files changed
+48
-22
No files matched your search
@@ -0,0 +1,3 @@
|
||||
code,name,l10n-zh_Hant,l10n-zh_Hans
|
||||
TWD,New Taiwan dollar,新臺幣,新台币
|
||||
USD,United States dollar,美元,美元
|
||||
|
Reference in new issue
Block a user