summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Carver2017-01-04 12:12:24 -0600
committerMark Carver2017-01-04 12:12:24 -0600
commitf37937ff9fa2f6543e92cb709939988cf01862bb (patch)
treeeeefdae10be0f685c8e8d2843e2d3a8427db3f2a
parent9c5514cf07efe8b493325146460b569811e4ba54 (diff)
Revert to "Prev" translation in date_views_pager
Issue #2839880 by markcarver, hass: Add date/calendar module template
-rw-r--r--templates/date/date-views-pager.vars.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/date/date-views-pager.vars.php b/templates/date/date-views-pager.vars.php
index 403ff2d..04dd748 100644
--- a/templates/date/date-views-pager.vars.php
+++ b/templates/date/date-views-pager.vars.php
@@ -18,7 +18,10 @@ function bootstrap_preprocess_date_views_pager(&$variables) {
// Link types.
$types = array(
- 'prev' => t('Previous', array(), array('context' => 'date_nav')),
+ // Because this is using the "date_nav" context, this must use "Prev"
+ // instead of the full English word "Previous".
+ // @todo Should this be fixed upstream in the date/date_views module?
+ 'prev' => t('Prev', array(), array('context' => 'date_nav')),
'next' => t('Next', array(), array('context' => 'date_nav')),
);