mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 01:25:07 +00:00
* 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]
(cherry picked from commit 72ece75b11)
Co-authored-by: Alan <2.alan.tom@gmail.com>
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"))
|