mirror of https://github.com/django/django.git
Added two translator comments in contrib apps
Thanks GunChleoc for the suggestions.
This commit is contained in:
parent
11f10b70f3
commit
867faeda9e
|
@ -47,6 +47,7 @@ class LogEntry(models.Model):
|
||||||
blank=True, null=True,
|
blank=True, null=True,
|
||||||
)
|
)
|
||||||
object_id = models.TextField(_('object id'), blank=True, null=True)
|
object_id = models.TextField(_('object id'), blank=True, null=True)
|
||||||
|
# Translators: 'repr' means representation (https://docs.python.org/3/library/functions.html#repr)
|
||||||
object_repr = models.CharField(_('object repr'), max_length=200)
|
object_repr = models.CharField(_('object repr'), max_length=200)
|
||||||
action_flag = models.PositiveSmallIntegerField(_('action flag'))
|
action_flag = models.PositiveSmallIntegerField(_('action flag'))
|
||||||
change_message = models.TextField(_('change message'), blank=True)
|
change_message = models.TextField(_('change message'), blank=True)
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{% blocktrans %}Template: "{{ name }}"{% endblocktrans %}</h1>
|
<h1>{% blocktrans %}Template: "{{ name }}"{% endblocktrans %}</h1>
|
||||||
|
|
||||||
|
{# Translators: Search is not a verb here, it qualifies path (a search path) #}
|
||||||
<h2>{% blocktrans %}Search path for template "{{ name }}":{% endblocktrans %}</h2>
|
<h2>{% blocktrans %}Search path for template "{{ name }}":{% endblocktrans %}</h2>
|
||||||
<ol>
|
<ol>
|
||||||
{% for template in templates|dictsort:"order" %}
|
{% for template in templates|dictsort:"order" %}
|
||||||
|
|
Loading…
Reference in New Issue