diff options
| author | Claude Paroz <claude@2xlibre.net> | 2015-11-27 09:37:25 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2015-11-27 09:37:31 +0100 |
| commit | 867faeda9e2b3b6d1b4e07c2a08520c5fbe1cdfe (patch) | |
| tree | a8c33d31112deb7fbfa88ebbd161246a2704923e | |
| parent | 11f10b70f3cb21c7a7f859e417adee104758221b (diff) | |
Added two translator comments in contrib apps
Thanks GunChleoc for the suggestions.
| -rw-r--r-- | django/contrib/admin/models.py | 1 | ||||
| -rw-r--r-- | django/contrib/admindocs/templates/admin_doc/template_detail.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/django/contrib/admin/models.py b/django/contrib/admin/models.py index 6b6b1f4142..d419ed2c41 100644 --- a/django/contrib/admin/models.py +++ b/django/contrib/admin/models.py @@ -47,6 +47,7 @@ class LogEntry(models.Model): 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) action_flag = models.PositiveSmallIntegerField(_('action flag')) change_message = models.TextField(_('change message'), blank=True) diff --git a/django/contrib/admindocs/templates/admin_doc/template_detail.html b/django/contrib/admindocs/templates/admin_doc/template_detail.html index a747af5ac2..3b49571ab3 100644 --- a/django/contrib/admindocs/templates/admin_doc/template_detail.html +++ b/django/contrib/admindocs/templates/admin_doc/template_detail.html @@ -15,6 +15,7 @@ {% block content %} <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> <ol> {% for template in templates|dictsort:"order" %} |
