72ece75b11
* ci(semgrep): add translation checks for report labels * refactor: shift report tests to it's own yml path can't be applied on a test id basis * ci: ignore regional report in translation checks [skip ci]
16 lines
371 B
Python
16 lines
371 B
Python
from frappe import _
|
|
|
|
|
|
# ruleid: frappe-missing-translate-function-in-report-python
|
|
{"label": "Field Label"}
|
|
|
|
# ruleid: frappe-missing-translate-function-in-report-python
|
|
dict(label="Field Label")
|
|
|
|
|
|
# ok: frappe-missing-translate-function-in-report-python
|
|
{"label": _("Field Label")}
|
|
|
|
# ok: frappe-missing-translate-function-in-report-python
|
|
dict(label=_("Field Label"))
|