diff --git a/css/views-admin.ctools.css b/css/views-admin.ctools.css index b1f0e29..52c8952 100644 --- a/css/views-admin.ctools.css +++ b/css/views-admin.ctools.css @@ -8,6 +8,11 @@ padding-top: 2px; } +.ctools-button-processed, +.ctools-button-processed input { + text-transform: lowercase; +} + .ctools-button-processed:hover { border-color: #b8b8b8; } diff --git a/includes/admin.inc b/includes/admin.inc index e87aad7..e2507e2 100644 --- a/includes/admin.inc +++ b/includes/admin.inc @@ -2214,7 +2214,7 @@ function views_ui_edit_form_get_bucket($type, $view, $display) { switch ($type) { case 'filter': $rearrange_url = "admin/structure/views/nojs/rearrange-$type/$view->name/$display->id/$type"; - $rearrange_text = t('and/or, rearrange'); + $rearrange_text = t('And/Or, Rearrange'); // TODO: Add another class to have another symbol for filter rearrange. $class = 'icon compact rearrange'; break; @@ -2233,7 +2233,7 @@ function views_ui_edit_form_get_bucket($type, $view, $display) { default: $rearrange_url = "admin/structure/views/nojs/rearrange/$view->name/$display->id/$type"; - $rearrange_text = t('rearrange'); + $rearrange_text = t('Rearrange'); $class = 'icon compact rearrange'; } @@ -2241,16 +2241,16 @@ function views_ui_edit_form_get_bucket($type, $view, $display) { $actions = array(); $count_handlers = count($display->handler->get_handlers($type)); $actions['add'] = array( - 'title' => t('add'), + 'title' => t('Add'), 'href' => "admin/structure/views/nojs/add-item/$view->name/$display->id/$type", - 'attributes'=> array('class' => array('icon compact add', 'views-ajax-link'), 'title' => t('add'), 'id' => 'views-add-' . $type), + 'attributes'=> array('class' => array('icon compact add', 'views-ajax-link'), 'title' => t('Add'), 'id' => 'views-add-' . $type), 'html' => TRUE, ); if ($count_handlers > 0) { $actions['rearrange'] = array( 'title' => $rearrange_text, 'href' => $rearrange_url, - 'attributes' => array('class' => array($class, 'views-ajax-link'), 'title' => $rearrange_text, 'id' => 'views-rearrange-' . $type), + 'attributes' => array('class' => array($class, 'views-ajax-link'), 'title' => t('Rearrange'), 'id' => 'views-rearrange-' . $type), 'html' => TRUE, ); }