Commit ad2ba848 authored by merlinofchaos's avatar merlinofchaos

#241033: (by hass) String translatability fixes.

parent 649cf969
......@@ -494,7 +494,7 @@ class views_plugin_display extends views_object {
'category' => 'basic',
'title' => t('Use pager'),
'value' => $this->get_option('use_pager') ? ($this->get_option('use_pager') == 'mini' ? t('Mini') : t('Yes')) : t('No'),
'desc' => t('Change this display\'s pager setting.'),
'desc' => t("Change this display's pager setting."),
);
}
......@@ -595,7 +595,7 @@ class views_plugin_display extends views_object {
'category' => 'basic',
'title' => $name,
'value' => $field,
'desc' => t('Change this display\'s !name.', array('!name' => strtolower($name))),
'desc' => t("Change this display's !name.", array('!name' => strtolower($name))),
);
}
}
......@@ -659,7 +659,7 @@ class views_plugin_display extends views_object {
$form['pager_element'] = array(
'#type' => 'textfield',
'#title' => t('Pager element'),
'#description' => t('Unless you\'re experiencing problems with pagers related to this view, you should leave this at 0. If using multiple pagers on one page you may need to set this number to a higher value so as not to conflict within the ?page= array. Large values will add a lot of commas to your URLs, so avoid if possible.'),
'#description' => t("Unless you're experiencing problems with pagers related to this view, you should leave this at 0. If using multiple pagers on one page you may need to set this number to a higher value so as not to conflict within the ?page= array. Large values will add a lot of commas to your URLs, so avoid if possible."),
'#default_value' => intval($this->get_option('pager_element')),
);
break;
......@@ -683,7 +683,7 @@ class views_plugin_display extends views_object {
$form['use_more'] = array(
'#type' => 'checkbox',
'#title' => t('Create more link'),
'#description' => t('This will add a more link to the bottom of this view, which will link to the page view. If you have more than one page view, the link will point to the display specified in \'Link display\' above.'),
'#description' => t("This will add a more link to the bottom of this view, which will link to the page view. If you have more than one page view, the link will point to the display specified in 'Link display' above."),
'#default_value' => $this->get_option('use_more'),
);
break;
......@@ -831,7 +831,7 @@ class views_plugin_display extends views_object {
$form['link_display'] = array(
'#type' => 'radios',
'#options' => $options,
'#description' => t('Which display to use to get this display\'s path for things like summary links, rss feed links, more links, etc.'),
'#description' => t("Which display to use to get this display's path for things like summary links, rss feed links, more links, etc."),
'#default_value' => $this->get_link_display(),
);
break;
......
......@@ -67,7 +67,7 @@ Drupal.behaviors.ViewsAjaxView = function() {
});
}
},
error: function() { alert(Drupal.t("An error occurred")); },
error: function() { alert(Drupal.t("An error occurred.")); },
dataType: 'json'
});
......@@ -98,7 +98,7 @@ Drupal.behaviors.ViewsAjaxView = function() {
});
}
},
error: function() { $(this).removeClass('views-throbbing'); alert(Drupal.t("An error occurred")); },
error: function() { $(this).removeClass('views-throbbing'); alert(Drupal.t("An error occurred.")); },
dataType: 'json'
});
......@@ -130,7 +130,7 @@ Drupal.behaviors.ViewsAjaxView = function() {
});
}
},
error: function() { $(this).removeClass('views-throbbing'); alert(Drupal.t("An error occurred")); },
error: function() { $(this).removeClass('views-throbbing'); alert(Drupal.t("An error occurred.")); },
dataType: 'json'
});
......
......@@ -23,7 +23,7 @@ function comment_views_data() {
$data['comments']['table']['base'] = array(
'field' => 'cid',
'title' => t('Comments'),
'help' => t('Your site\'s comments.'),
'help' => t("Your site's comments."),
);
//joins
......@@ -77,7 +77,7 @@ function comment_views_data() {
//name (of comment author)
$data['comments']['name'] = array(
'title' => t('Author\'s name'),
'title' => t("Author's name"),
'help' => t('The name of the poster.'),
'field' => array(
'handler' => 'views_handler_field_username_comment',
......@@ -87,8 +87,8 @@ function comment_views_data() {
//homepage
$data['comments']['homepage'] = array(
'title' => t('Author\'s website'),
'help' => t('The website address of the comment\'s author. Can be a link. The homepage can also be linked with the Name field.'),
'title' => t("Author's website"),
'help' => t("The website address of the comment's author. Can be a link. The homepage can also be linked with the Name field."),
'field' => array(
'handler' => 'views_handler_field',
'click sortable' => TRUE,
......@@ -152,7 +152,7 @@ function comment_views_data() {
//last_comment_name (author's name)
$data['node_comment_statistics']['last_comment_name'] = array(
'title' => t('Last author\'s name'),
'title' => t("Last author's name"),
'help' => t('The name of the author of the last posted comment.'),
'field' => array(
'handler' => 'views_handler_field',
......@@ -247,7 +247,7 @@ class views_handler_field_username_comment extends views_handler_field {
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['link_to_user'] = array(
'#title' => t('Link this field to its user or an author\'s homepage'),
'#title' => t("Link this field to its user or an author's homepage"),
'#type' => 'checkbox',
'#default_value' => $this->options['link_to_user'],
);
......
......@@ -26,7 +26,7 @@ function node_views_data() {
$data['node']['table']['base'] = array(
'field' => 'nid',
'title' => t('Node'),
'help' => t('Nodes are a Drupal site\'s primary content.'),
'help' => t("Nodes are a Drupal site's primary content."),
'weight' => 10,
);
......
......@@ -102,7 +102,7 @@ function user_views_data() {
// picture
$data['users']['picture'] = array(
'title' => t('Picture'),
'help' => t('The user\'s picture, if allowed'), // The help that appears on the UI,
'help' => t("The user's picture, if allowed."), // The help that appears on the UI,
// Information for displaying the uid
'field' => array(
'handler' => 'views_handler_field_user_picture',
......@@ -129,7 +129,7 @@ function user_views_data() {
// access field
$data['users']['access'] = array(
'title' => t('Last access'), // The item it appears as on the UI,
'help' => t('The user\'s last access date.'), // The help that appears on the UI,
'help' => t("The user's last access date."), // The help that appears on the UI,
'field' => array(
'handler' => 'views_handler_field_date',
'click sortable' => TRUE,
......@@ -145,7 +145,7 @@ function user_views_data() {
// login field
$data['users']['login'] = array(
'title' => t('Last login'), // The item it appears as on the UI,
'help' => t('The user\'s last login date.'), // The help that appears on the UI,
'help' => t("The user's last login date."), // The help that appears on the UI,
'field' => array(
'handler' => 'views_handler_field_date',
'click sortable' => TRUE,
......@@ -179,7 +179,7 @@ function user_views_data() {
// log field
$data['users']['signature'] = array(
'title' => t('Signature'), // The item it appears as on the UI,
'help' => t('The user\'s signature.'), // The help that appears on the UI,
'help' => t("The user's signature."), // The help that appears on the UI,
// Information for displaying a title as a field
'field' => array(
'handler' => 'views_handler_field_xss',
......
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