fix: extract translatable strings from the whole repo (#27848)
This commit is contained in:
parent
887ec49229
commit
06e963c365
2 changed files with 3 additions and 3 deletions
|
|
@ -1,11 +1,11 @@
|
|||
hooks.py,frappe.gettext.extractors.navbar.extract
|
||||
**/hooks.py,frappe.gettext.extractors.navbar.extract
|
||||
**/doctype/*/*.json,frappe.gettext.extractors.doctype.extract
|
||||
**/workspace/*/*.json,frappe.gettext.extractors.workspace.extract
|
||||
**/onboarding_step/*/*.json,frappe.gettext.extractors.onboarding_step.extract
|
||||
**/module_onboarding/*/*.json,frappe.gettext.extractors.module_onboarding.extract
|
||||
**/report/*/*.json,frappe.gettext.extractors.report.extract
|
||||
**.py,frappe.gettext.extractors.python.extract
|
||||
templates/**.js,frappe.gettext.extractors.html_template.extract
|
||||
**/templates/**.js,frappe.gettext.extractors.html_template.extract
|
||||
**.js,frappe.gettext.extractors.javascript.extract
|
||||
**.html,frappe.gettext.extractors.html_template.extract
|
||||
**.vue,frappe.gettext.extractors.html_template.extract
|
||||
|
|
|
|||
|
|
|
@ -134,7 +134,7 @@ def generate_pot(target_app: str | None = None):
|
|||
keywords["_lt"] = None
|
||||
|
||||
for app in apps:
|
||||
app_path = frappe.get_pymodule_path(app)
|
||||
app_path = frappe.get_pymodule_path(app, "..")
|
||||
catalog = new_catalog(app)
|
||||
|
||||
# Each file will only be processed by the first method that matches,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue