2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 18:15:40 +00:00

update trnaslation function name to new default (#3497)

This commit is contained in:
Matthias Mair
2022-08-07 23:50:36 +02:00
committed by GitHub
parent 9182f62bc4
commit a77f21b17e
2 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ Any user-facing strings *must* be passed through the translation engine.
For strings exposed via Python code, use the following format:
```python
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
user_facing_string = _('This string will be exposed to the translation engine!')
```