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:
2023-02-08 10:25:29 +08:00
parent a839c5a41a
commit 2aacb67988
4 changed files with 548 additions and 669 deletions

View File

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