From 867faeda9e2b3b6d1b4e07c2a08520c5fbe1cdfe Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Fri, 27 Nov 2015 09:37:25 +0100 Subject: [PATCH] Added two translator comments in contrib apps Thanks GunChleoc for the suggestions. --- django/contrib/admin/models.py | 1 + .../contrib/admindocs/templates/admin_doc/template_detail.html | 1 + 2 files changed, 2 insertions(+) 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 %}

{% blocktrans %}Template: "{{ name }}"{% endblocktrans %}

+{# Translators: Search is not a verb here, it qualifies path (a search path) #}

{% blocktrans %}Search path for template "{{ name }}":{% endblocktrans %}

    {% for template in templates|dictsort:"order" %}