diff --git a/modules/locale.views.inc b/modules/locale.views.inc index 3bff7db..5c5549d 100644 --- a/modules/locale.views.inc +++ b/modules/locale.views.inc @@ -94,6 +94,23 @@ function locale_views_data() { ), ); + // Context field. + $data['locales_source']['context'] = array( + 'group' => t('Locale context'), + 'title' => t('Context'), + 'help' => t('The context this string applies to.'), + 'field' => array( + 'handler' => 'views_handler_field', + 'click sortable' => TRUE, + ), + 'filter' => array( + 'handler' => 'views_handler_filter_string', + ), + 'argument' => array( + 'handler' => 'views_handler_argument_string', + ), + ); + // Version field $data['locales_source']['version'] = array( 'group' => t('Locale source'),