Moved the base account data from the "accounting.base_account.commands" module into the data directory as a CSV file, separating the code and the data. 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:
imacat committed 2023-02-08 10:28:02 +08:00
1 parent a839c5a41a
commit 2aacb67988
4 files changed
+548 -669

No files matched your search

+1
View File
@@ -53,3 +53,4 @@ accounting =
static/**
templates/**
translations/*/LC_MESSAGES/*.mo
data/**