diff options
| author | Aymeric Augustin | 2013-11-30 18:16:41 +0100 |
|---|---|---|
| committer | Aymeric Augustin | 2013-12-01 09:40:33 +0100 |
| commit | e334bf6e4b4975fd87957c473a62c0d889e38cb0 (patch) | |
| tree | 2f60ad8f111ff7bfcaf041247180ca2505e555f6 /debug_toolbar/panels/logging.py | |
| parent | d30452ee1997b3edd0c772e681c2ce816c730384 (diff) | |
| download | django-debug-toolbar-e334bf6e4b4975fd87957c473a62c0d889e38cb0.tar.bz2 | |
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.
Diffstat (limited to 'debug_toolbar/panels/logging.py')
| -rw-r--r-- | debug_toolbar/panels/logging.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debug_toolbar/panels/logging.py b/debug_toolbar/panels/logging.py index 2dfc7a1..051d5a3 100644 --- a/debug_toolbar/panels/logging.py +++ b/debug_toolbar/panels/logging.py @@ -90,10 +90,10 @@ class LoggingPanel(Panel): def nav_subtitle(self): records = self._records[threading.currentThread()] record_count = len(records) - return ungettext('%(count)s message', '%(count)s messages', + return ungettext("%(count)s message", "%(count)s messages", record_count) % {'count': record_count} - title = _('Log Messages') + title = _("Log messages") def process_request(self, request): collector.clear_records() |
