fix: rename cache keys to avoid conflict
This commit is contained in:
parent
a1e052bbb5
commit
5c6ad3dfe2
1 changed files with 3 additions and 3 deletions
|
|
@ -18,9 +18,9 @@ from frappe.utils import get_bench_path
|
|||
DEFAULT_LANG = "en"
|
||||
PO_DIR = "locale" # po and pot files go into [app]/locale
|
||||
POT_FILE = "main.pot" # the app's pot file is always main.pot
|
||||
MERGED_TRANSLATION_KEY = "merged_translations"
|
||||
APP_TRANSLATION_KEY = "translations_from_apps"
|
||||
USER_TRANSLATION_KEY = "lang_user_translations"
|
||||
MERGED_TRANSLATION_KEY = "gettext_merged_translations"
|
||||
APP_TRANSLATION_KEY = "gettext_app_translations"
|
||||
USER_TRANSLATION_KEY = "gettext_user_translations"
|
||||
|
||||
|
||||
def new_catalog(app: str, locale: str | None = None) -> Catalog:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue