Commit 1d6e44c0 authored by merlinofchaos's avatar merlinofchaos

#103773: Fixed some obnoxious t() % placeholder <em> stupidity.

parent d104662f
......@@ -89,6 +89,7 @@ Views --dev
Bugs fixed:
o All the date-based arguments were broken due to changes in $query->add_orderby
o 103475: updated rss feed to match fixes in Drupal core.
o 103773: Fixed some obnoxious t() % placeholder <em> stupidity.
New Features:
o 89421: New last changed sort / filter / field
......@@ -63,7 +63,7 @@ function profile_views_get_fields() {
function profile_views_add_field(&$table, $field) {
$name = 'value';
$label = t('Profile: %field-name', array('%field-name' => $field->title));
$label = t('Profile: @field-name', array('@field-name' => $field->title));
switch ($field->type) {
case 'vocabulary':
......@@ -112,7 +112,7 @@ function profile_views_add_field(&$table, $field) {
function profile_views_add_sort(&$table, $field) {
$name = 'value';
$label = t('Profile: %field-name', array('%field-name' => $field->title));
$label = t('Profile: @field-name', array('@field-name' => $field->title));
$others = array();
......@@ -146,7 +146,7 @@ function profile_views_add_sort(&$table, $field) {
function profile_views_add_filter(&$table, $field) {
$name = 'value';
$label = t('Profile: %field-name', array('%field-name' => $field->title));
$label = t('Profile: @field-name', array('@field-name' => $field->title));
switch ($field->type) {
case 'vocabulary':
......
......@@ -47,7 +47,7 @@ function taxonomy_views_tables() {
),
'fields' => array(
'name' => array(
'name' => t('Taxonomy: Terms for %voc-name', array('%voc-name' => $voc->name)),
'name' => t('Taxonomy: Terms for @voc-name', array('@voc-name' => $voc->name)),
'sortable' => false,
'help' => t('This will display all taxonomy terms associated with the node that are members of %voc-name. Note that this causes one extra query per row displayed, and might have a minor performance impact.', array('%voc-name' => $voc->name)),
'handler' => 'views_handler_field_allterms',
......@@ -64,7 +64,7 @@ function taxonomy_views_tables() {
),
'filters' => array(
'tid' => array(
'name' => t('Taxonomy: Terms for %voc-name', array('%voc-name' => $voc->name)),
'name' => t('Taxonomy: Terms for @voc-name', array('@voc-name' => $voc->name)),
'list' => 'views_handler_filter_tid_by_voc',
'value-type' => 'array',
'option' => 'string',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment