mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
add internationalization for typeclasses.models.py
This commit is contained in:
parent
6382727a6f
commit
1aa6ff3562
1 changed files with 2 additions and 1 deletions
|
|
@ -36,6 +36,7 @@ from django.urls import reverse
|
|||
from django.utils import timezone
|
||||
from django.utils.encoding import smart_str
|
||||
from django.utils.text import slugify
|
||||
from django.utils.translation import gettext as _
|
||||
|
||||
import evennia
|
||||
from evennia.locks.lockhandler import LockHandler
|
||||
|
|
@ -883,7 +884,7 @@ class TypedObject(SharedMemoryModel):
|
|||
"""
|
||||
|
||||
if self.location == looker:
|
||||
return " (carried)"
|
||||
return _(" (carried)")
|
||||
return ""
|
||||
|
||||
def at_rename(self, oldname, newname):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue