From 9907f8a5fd9ad480faa666372dacef85081ae952 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sun, 24 Sep 2017 13:41:22 +0200 Subject: [PATCH] [2.0.x] Refs #25006 -- Marked again admin time picker shortcuts for translation Backport of fe000ab18d2571394868882865907e92aabbda0a from master. --- .../admin/static/admin/js/admin/DateTimeShortcuts.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js b/django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js index 0a57c2279b..e4e8a32d3d 100644 --- a/django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js +++ b/django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js @@ -10,11 +10,11 @@ clockInputs: [], clockHours: { default_: [ - ['Now', -1], - ['Midnight', 0], - ['6 a.m.', 6], - ['Noon', 12], - ['6 p.m.', 18] + [gettext_noop('Now'), -1], + [gettext_noop('Midnight'), 0], + [gettext_noop('6 a.m.'), 6], + [gettext_noop('Noon'), 12], + [gettext_noop('6 p.m.'), 18] ] }, dismissClockFunc: [],