From e334bf6e4b4975fd87957c473a62c0d889e38cb0 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 30 Nov 2013 18:16:41 +0100 Subject: Review translated strings. - Include trailing colons inside translated strings because some languages (eg. French) need a space before the colon. - Normalize capitalization (title-style didn't seem warranted and looked weird in some cases). - Normalize quotes (not very useful, but we had a random mixture of single and double quotes). - Remove msgstr from the English po file because they're identical to msgid by definition. --- debug_toolbar/panels/templates/panel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debug_toolbar/panels/templates/panel.py') diff --git a/debug_toolbar/panels/templates/panel.py b/debug_toolbar/panels/templates/panel.py index 2a55368..df39804 100644 --- a/debug_toolbar/panels/templates/panel.py +++ b/debug_toolbar/panels/templates/panel.py @@ -142,12 +142,12 @@ class TemplatesPanel(Panel): # Implement the Panel API - nav_title = _('Templates') + nav_title = _("Templates") @property def title(self): num_templates = len(self.templates) - return _('Templates (%(num_templates)s rendered)') % {'num_templates': num_templates} + return _("Templates (%(num_templates)s rendered)") % {'num_templates': num_templates} template = 'debug_toolbar/panels/templates.html' -- cgit v1.2.3