mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 01:23:48 +01:00
parent
5eb202941a
commit
2869876b67
@ -1011,7 +1011,7 @@ class Tag(db.Model):
|
|||||||
# Translations are automated on dynamic data using `extract_translations.py`
|
# Translations are automated on dynamic data using `extract_translations.py`
|
||||||
return {
|
return {
|
||||||
"title": gettext(self.title),
|
"title": gettext(self.title),
|
||||||
"description": gettext(self.description),
|
"description": gettext(self.description) if self.description else "",
|
||||||
}
|
}
|
||||||
|
|
||||||
def as_dict(self):
|
def as_dict(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user