Issue #1779658 by hass, disasm, esoteric1, YesCT, mitron: Fixed Translatable strings not self-explanatory / not context-independent.

8.0.x
webchick 2013-02-09 14:07:15 -08:00
parent 5549278cd4
commit 5038ed805b
3 changed files with 37 additions and 37 deletions

View File

@ -118,8 +118,8 @@ function comment_views_data() {
// mail // mail
$data['comment']['mail'] = array( $data['comment']['mail'] = array(
'title' => t('Mail'), 'title' => t('E-mail'),
'help' => t('Email of user that posted the comment. Will be empty if the author is a registered user.'), 'help' => t('E-mail of user that posted the comment. Will be empty if the author is a registered user.'),
'field' => array( 'field' => array(
'id' => 'standard', 'id' => 'standard',
), ),
@ -240,7 +240,7 @@ function comment_views_data() {
// status (approved or not) // status (approved or not)
$data['comment']['status'] = array( $data['comment']['status'] = array(
'title' => t('Approved'), 'title' => t('Approved status'),
'help' => t('Whether the comment is approved (or still in the moderation queue).'), 'help' => t('Whether the comment is approved (or still in the moderation queue).'),
'field' => array( 'field' => array(
'id' => 'boolean', 'id' => 'boolean',
@ -250,7 +250,7 @@ function comment_views_data() {
), ),
'filter' => array( 'filter' => array(
'id' => 'boolean', 'id' => 'boolean',
'label' => t('Approved comment'), 'label' => t('Approved comment status'),
'type' => 'yes-no', 'type' => 'yes-no',
), ),
'sort' => array( 'sort' => array(
@ -258,46 +258,46 @@ function comment_views_data() {
), ),
); );
// link to view comment // Link to view comment.
$data['comment']['view_comment'] = array( $data['comment']['view_comment'] = array(
'field' => array( 'field' => array(
'title' => t('View link'), 'title' => t('Link to comment'),
'help' => t('Provide a simple link to view the comment.'), 'help' => t('Provide a simple link to view the comment.'),
'id' => 'comment_link', 'id' => 'comment_link',
), ),
); );
// link to edit comment // Link to edit comment.
$data['comment']['edit_comment'] = array( $data['comment']['edit_comment'] = array(
'field' => array( 'field' => array(
'title' => t('Edit link'), 'title' => t('Link to edit comment'),
'help' => t('Provide a simple link to edit the comment.'), 'help' => t('Provide a simple link to edit the comment.'),
'id' => 'comment_link_edit', 'id' => 'comment_link_edit',
), ),
); );
// link to delete comment // Link to delete comment.
$data['comment']['delete_comment'] = array( $data['comment']['delete_comment'] = array(
'field' => array( 'field' => array(
'title' => t('Delete link'), 'title' => t('Link to delete comment'),
'help' => t('Provide a simple link to delete the comment.'), 'help' => t('Provide a simple link to delete the comment.'),
'id' => 'comment_link_delete', 'id' => 'comment_link_delete',
), ),
); );
// link to approve comment // Link to approve comment.
$data['comment']['approve_comment'] = array( $data['comment']['approve_comment'] = array(
'field' => array( 'field' => array(
'title' => t('Approve link'), 'title' => t('Link to approve comment'),
'help' => t('Provide a simple link to approve the comment.'), 'help' => t('Provide a simple link to approve the comment.'),
'id' => 'comment_link_approve', 'id' => 'comment_link_approve',
), ),
); );
// link to reply to comment // Link to reply to comment.
$data['comment']['replyto_comment'] = array( $data['comment']['replyto_comment'] = array(
'field' => array( 'field' => array(
'title' => t('Reply-to link'), 'title' => t('Link to reply-to comment'),
'help' => t('Provide a simple link to reply to the comment.'), 'help' => t('Provide a simple link to reply to the comment.'),
'id' => 'comment_link_reply', 'id' => 'comment_link_reply',
), ),
@ -470,7 +470,7 @@ function comment_views_data() {
'title' => t('Last comment CID'), 'title' => t('Last comment CID'),
'help' => t('Display the last comment of a node'), 'help' => t('Display the last comment of a node'),
'relationship' => array( 'relationship' => array(
'title' => t('Last Comment'), 'title' => t('Last comment'),
'help' => t('The last comment of a node.'), 'help' => t('The last comment of a node.'),
'group' => t('Comment'), 'group' => t('Comment'),
'base' => 'comment', 'base' => 'comment',

View File

@ -134,7 +134,7 @@ function node_views_data() {
// published status // published status
$data['node']['status'] = array( $data['node']['status'] = array(
'title' => t('Published'), 'title' => t('Published status'),
'help' => t('Whether or not the content is published.'), 'help' => t('Whether or not the content is published.'),
'field' => array( 'field' => array(
'id' => 'boolean', 'id' => 'boolean',
@ -144,7 +144,7 @@ function node_views_data() {
), ),
'filter' => array( 'filter' => array(
'id' => 'boolean', 'id' => 'boolean',
'label' => t('Published'), 'label' => t('Published status'),
'type' => 'yes-no', 'type' => 'yes-no',
'use_equal' => TRUE, // Use status = 1 instead of status <> 0 in WHERE statment 'use_equal' => TRUE, // Use status = 1 instead of status <> 0 in WHERE statment
), ),
@ -155,18 +155,18 @@ function node_views_data() {
// published status + extra // published status + extra
$data['node']['status_extra'] = array( $data['node']['status_extra'] = array(
'title' => t('Published or admin'), 'title' => t('Published status or admin user'),
'help' => t('Filters out unpublished content if the current user cannot view it.'), 'help' => t('Filters out unpublished content if the current user cannot view it.'),
'filter' => array( 'filter' => array(
'field' => 'status', 'field' => 'status',
'id' => 'node_status', 'id' => 'node_status',
'label' => t('Published or admin'), 'label' => t('Published status or admin user'),
), ),
); );
// promote status // promote status
$data['node']['promote'] = array( $data['node']['promote'] = array(
'title' => t('Promoted to front page'), 'title' => t('Promoted to front page status'),
'help' => t('Whether or not the content is promoted to the front page.'), 'help' => t('Whether or not the content is promoted to the front page.'),
'field' => array( 'field' => array(
'id' => 'boolean', 'id' => 'boolean',
@ -176,7 +176,7 @@ function node_views_data() {
), ),
'filter' => array( 'filter' => array(
'id' => 'boolean', 'id' => 'boolean',
'label' => t('Promoted to front page'), 'label' => t('Promoted to front page status'),
'type' => 'yes-no', 'type' => 'yes-no',
), ),
'sort' => array( 'sort' => array(
@ -186,7 +186,7 @@ function node_views_data() {
// sticky // sticky
$data['node']['sticky'] = array( $data['node']['sticky'] = array(
'title' => t('Sticky'), // The item it appears as on the UI, 'title' => t('Sticky status'),
'help' => t('Whether or not the content is sticky.'), // The help that appears on the UI, 'help' => t('Whether or not the content is sticky.'), // The help that appears on the UI,
// Information for displaying a title as a field // Information for displaying a title as a field
'field' => array( 'field' => array(
@ -197,7 +197,7 @@ function node_views_data() {
), ),
'filter' => array( 'filter' => array(
'id' => 'boolean', 'id' => 'boolean',
'label' => t('Sticky'), 'label' => t('Sticky status'),
'type' => 'yes-no', 'type' => 'yes-no',
), ),
'sort' => array( 'sort' => array(
@ -245,7 +245,7 @@ function node_views_data() {
$data['views_entity_node']['view_node'] = array( $data['views_entity_node']['view_node'] = array(
'field' => array( 'field' => array(
'title' => t('Link'), 'title' => t('Link to content'),
'help' => t('Provide a simple link to the content.'), 'help' => t('Provide a simple link to the content.'),
'id' => 'node_link', 'id' => 'node_link',
), ),
@ -253,7 +253,7 @@ function node_views_data() {
$data['views_entity_node']['edit_node'] = array( $data['views_entity_node']['edit_node'] = array(
'field' => array( 'field' => array(
'title' => t('Edit link'), 'title' => t('Link to edit content'),
'help' => t('Provide a simple link to edit the content.'), 'help' => t('Provide a simple link to edit the content.'),
'id' => 'node_link_edit', 'id' => 'node_link_edit',
), ),
@ -261,7 +261,7 @@ function node_views_data() {
$data['views_entity_node']['delete_node'] = array( $data['views_entity_node']['delete_node'] = array(
'field' => array( 'field' => array(
'title' => t('Delete link'), 'title' => t('Link to delete content'),
'help' => t('Provide a simple link to delete the content.'), 'help' => t('Provide a simple link to delete the content.'),
'id' => 'node_link_delete', 'id' => 'node_link_delete',
), ),
@ -390,7 +390,7 @@ function node_views_data() {
'title' => t('Author uid'), 'title' => t('Author uid'),
'help' => t('The user authoring the content. If you need more fields than the uid add the content: author relationship'), 'help' => t('The user authoring the content. If you need more fields than the uid add the content: author relationship'),
'relationship' => array( 'relationship' => array(
'title' => t('Author'), 'title' => t('Content author'),
'help' => t('Relate content to the user who created it.'), 'help' => t('Relate content to the user who created it.'),
'id' => 'standard', 'id' => 'standard',
'base' => 'users', 'base' => 'users',
@ -448,7 +448,7 @@ function node_views_data() {
), ),
); );
// uid field for node revision // UID field for node revision.
$data['node_revision']['uid'] = array( $data['node_revision']['uid'] = array(
'title' => t('User'), 'title' => t('User'),
'help' => t('Relate a content revision to the user who created the revision.'), 'help' => t('Relate a content revision to the user who created the revision.'),
@ -593,7 +593,7 @@ function node_views_data() {
$data['node_revision']['link_to_revision'] = array( $data['node_revision']['link_to_revision'] = array(
'field' => array( 'field' => array(
'title' => t('Link'), 'title' => t('Link to revision'),
'help' => t('Provide a simple link to the revision.'), 'help' => t('Provide a simple link to the revision.'),
'id' => 'node_revision_link', 'id' => 'node_revision_link',
'click sortable' => FALSE, 'click sortable' => FALSE,
@ -602,7 +602,7 @@ function node_views_data() {
$data['node_revision']['revert_revision'] = array( $data['node_revision']['revert_revision'] = array(
'field' => array( 'field' => array(
'title' => t('Revert link'), 'title' => t('Link to revert revision'),
'help' => t('Provide a simple link to revert to the revision.'), 'help' => t('Provide a simple link to revert to the revision.'),
'id' => 'node_revision_link_revert', 'id' => 'node_revision_link_revert',
'click sortable' => FALSE, 'click sortable' => FALSE,
@ -611,7 +611,7 @@ function node_views_data() {
$data['node_revision']['delete_revision'] = array( $data['node_revision']['delete_revision'] = array(
'field' => array( 'field' => array(
'title' => t('Delete link'), 'title' => t('Link to delete revision'),
'help' => t('Provide a simple link to delete the content revision.'), 'help' => t('Provide a simple link to delete the content revision.'),
'id' => 'node_revision_link_delete', 'id' => 'node_revision_link_delete',
'click sortable' => FALSE, 'click sortable' => FALSE,

View File

@ -116,8 +116,8 @@ function user_views_data() {
// mail // mail
// Note that this field implements field level access control. // Note that this field implements field level access control.
$data['users']['mail'] = array( $data['users']['mail'] = array(
'title' => t('E-mail'), // The item it appears as on the UI, 'title' => t('E-mail'),
'help' => t('Email address for a given user. This field is normally not shown to users, so be cautious when using it.'), // The help that appears on the UI, 'help' => t('E-mail address for a given user. This field is normally not shown to users, so be cautious when using it.'),
'field' => array( 'field' => array(
'id' => 'user_mail', 'id' => 'user_mail',
), ),
@ -153,7 +153,7 @@ function user_views_data() {
// link // link
$data['users']['view_user'] = array( $data['users']['view_user'] = array(
'field' => array( 'field' => array(
'title' => t('Link'), 'title' => t('Link to user'),
'help' => t('Provide a simple link to the user.'), 'help' => t('Provide a simple link to the user.'),
'id' => 'user_link', 'id' => 'user_link',
'click sortable' => FALSE, 'click sortable' => FALSE,
@ -261,7 +261,7 @@ function user_views_data() {
// active status // active status
$data['users']['status'] = array( $data['users']['status'] = array(
'title' => t('Active'), // The item it appears as on the UI, 'title' => t('Active status'),
'help' => t('Whether a user is active or blocked.'), // The help that appears on the UI, 'help' => t('Whether a user is active or blocked.'), // The help that appears on the UI,
// Information for displaying a title as a field // Information for displaying a title as a field
'field' => array( 'field' => array(
@ -308,7 +308,7 @@ function user_views_data() {
$data['users']['edit_node'] = array( $data['users']['edit_node'] = array(
'field' => array( 'field' => array(
'title' => t('Edit link'), 'title' => t('Link to edit user'),
'help' => t('Provide a simple link to edit the user.'), 'help' => t('Provide a simple link to edit the user.'),
'id' => 'user_link_edit', 'id' => 'user_link_edit',
'click sortable' => FALSE, 'click sortable' => FALSE,
@ -317,7 +317,7 @@ function user_views_data() {
$data['users']['cancel_node'] = array( $data['users']['cancel_node'] = array(
'field' => array( 'field' => array(
'title' => t('Cancel link'), 'title' => t('Link to cancel user'),
'help' => t('Provide a simple link to cancel the user.'), 'help' => t('Provide a simple link to cancel the user.'),
'id' => 'user_link_cancel', 'id' => 'user_link_cancel',
'click sortable' => FALSE, 'click sortable' => FALSE,