diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-11-01 19:10:09 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-11-01 19:10:09 +0100 |
commit | 0c7b6b04b8f603c548b3deb6c7607d9f45fda365 (patch) | |
tree | de6336a97c6e739f05fc0cfd5db9eb5114aa840e | |
parent | a4438ac223178e49090ba0527fa52e789fdba42f (diff) | |
download | Ishtar-0c7b6b04b8f603c548b3deb6c7607d9f45fda365.tar.bz2 Ishtar-0c7b6b04b8f603c548b3deb6c7607d9f45fda365.zip |
Do not translate types on forms
-rw-r--r-- | CHANGES.md | 5 | ||||
-rw-r--r-- | ishtar_common/models_common.py | 2 | ||||
-rw-r--r-- | ishtar_common/version.py | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/CHANGES.md b/CHANGES.md index cccc94cdf..84cfe7b68 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,11 @@ Ishtar changelog ================ +v3.1.38 - 2021-11-01 +-------------------- +### Bugs ### +- do not translate type labels on forms + v3.1.37 - 2021-10-20 -------------------- ### Features ### diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index db7e77ce0..b605d13f2 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -461,7 +461,7 @@ class GeneralType(Cached, models.Model): item.rank = 0 yield item else: - yield (item.pk, _(str(item)) if item and str(item) else "") + yield item.pk, str(item) if item and str(item) else "" @classmethod def _get_childs_list(cls, dct=None, exclude=None, instances=False): diff --git a/ishtar_common/version.py b/ishtar_common/version.py index 2fdd5bcf7..1b13c86b7 100644 --- a/ishtar_common/version.py +++ b/ishtar_common/version.py @@ -1,5 +1,5 @@ -# 3.1.37 -VERSION = (3, 1, 37) +# 3.1.38 +VERSION = (3, 1, 38) def get_version(): |