mirror of https://github.com/BOINC/boinc.git
Drupal: Fixed various typos in location/context details.
Some location fields changed to merge with others. Mostly typo fixes.
This commit is contained in:
parent
1f48b248e7
commit
2fd51cf5d8
|
@ -30,7 +30,7 @@ function user_preferences_menu_default_menu_links() {
|
|||
bts('Preferences', array(), NULL, 'boinc:menu-link');
|
||||
bts('Community', array(), NULL, 'boinc:menu-link');
|
||||
bts('Privacy', array(), NULL, 'boinc:menu-link');
|
||||
bts('Subscriptions', array(), NULL, 'boinc:menu-link');
|
||||
bts('Subscriptions', array(), NULL, 'boinc:menu-link:-1:ignoreoverwrite');
|
||||
|
||||
return $menu_links;
|
||||
}
|
||||
|
|
|
@ -5666,7 +5666,7 @@ Cross-project stats:
|
|||
$handler->override_option('path', 'account/%/computers/active');
|
||||
$handler->override_option('menu', array(
|
||||
'type' => 'default tab',
|
||||
'title' => bts('Active in past 30 days', array(), NULL, 'boinc:user-host-list'),
|
||||
'title' => bts('Active in past 30 days', array(), NULL, 'boinc:account-host-list'),
|
||||
'description' => 'Show only computers that have been active in the past month',
|
||||
'weight' => '0',
|
||||
'name' => 'navigation',
|
||||
|
@ -5682,7 +5682,7 @@ Cross-project stats:
|
|||
$handler->override_option('path', 'account/%/computers/all');
|
||||
$handler->override_option('menu', array(
|
||||
'type' => 'tab',
|
||||
'title' => bts('All computers', array(), NULL, 'boinc:user-host-list'),
|
||||
'title' => bts('All computers', array(), NULL, 'boinc:account-host-list'),
|
||||
'description' => 'Show all computers associated with the account',
|
||||
'weight' => '1',
|
||||
'name' => 'navigation',
|
||||
|
|
|
@ -79,7 +79,7 @@ function boincteam_views_data() {
|
|||
// Foreign key fields
|
||||
|
||||
$data['team']['userid'] = array(
|
||||
'title' => bts('Founder', array(), NULL, 'boinc:team-founder'),
|
||||
'title' => bts('Founder', array(), NULL, 'boinc:view-team-info'),
|
||||
'help' => t('The founder of this team.'),
|
||||
// This is a foreign key to the {user} table. When the view is configured
|
||||
// with this relationship, all the fields for the related user node will be
|
||||
|
|
|
@ -328,7 +328,7 @@ function boincteam_edit_form(&$form_state, $team_id) {
|
|||
'#disabled' => $is_boinc_wide,
|
||||
);
|
||||
$form['website'] = array(
|
||||
'#title' => bts('Team website (optional)', array(), NULL, 'boinc:team-edit'),
|
||||
'#title' => bts('Team website (optional)', array(), NULL, 'boinc:team-create/edit'),
|
||||
'#type' => 'textfield',
|
||||
'#default_value' => $default['website'],
|
||||
'#size' => 34,
|
||||
|
|
|
@ -86,7 +86,7 @@ function boincteam_forum_create_form(&$form_state) {
|
|||
'#suffix' => '</li>',
|
||||
);
|
||||
$form['form control tabs'] = array(
|
||||
'#value' => '<li class="tab">' . l(bts('Cancel', array(), NULL, 'boinc:form-ancel'), strstr($_GET['q'], '/forum/add', TRUE)) . '</li>'
|
||||
'#value' => '<li class="tab">' . l(bts('Cancel', array(), NULL, 'boinc:form-cancel'), strstr($_GET['q'], '/forum/add', TRUE)) . '</li>'
|
||||
);
|
||||
|
||||
$form['#redirect'] = "community/teams/{$account->team}";
|
||||
|
|
|
@ -544,7 +544,7 @@ function boincuser_form_alter(&$form, $form_state, $form_id) {
|
|||
case FLAG_FRIEND_BOTH:
|
||||
case FLAG_FRIEND_FLAGGED:
|
||||
unset($form['actions']);
|
||||
$form['flag_friend_submit']['#value'] = bts('Remove friend', array(), NULL, 'boinc:friends-page');
|
||||
$form['flag_friend_submit']['#value'] = bts('Remove friend', array(), NULL, 'boinc:friends-remove');
|
||||
// Add in our hack handler to fix the flag_friend module
|
||||
$final_handler = array_pop($form['#submit']);
|
||||
$form['#submit'][] = 'boincuser_fix_unfriend_form_submit';
|
||||
|
@ -566,7 +566,7 @@ function boincuser_form_alter(&$form, $form_state, $form_id) {
|
|||
case FLAG_FRIEND_UNFLAGGED:
|
||||
default:
|
||||
$user_links[] = array(
|
||||
'title' => bts('Add as friend', array(), NULL, 'boinc:friends-page'),
|
||||
'title' => bts('Add as friend', array(), NULL, 'boinc:friends-add'),
|
||||
'href' => "flag/confirm/flag/friend/{$account->uid}"
|
||||
);
|
||||
}
|
||||
|
|
|
@ -392,7 +392,7 @@ function generalprefs_page($action = null, $venue = null, $advanced = FALSE) {
|
|||
drupal_set_message(bts(
|
||||
"No preferences found for set '@venue'. Click SAVE CHANGES below to save the following preferences to your account.",
|
||||
array( '@venue' => $venue, ),
|
||||
NULL, 'boinc:account-preferences-computing'), 'status');
|
||||
NULL, 'boinc:account-preferences'), 'status');
|
||||
}
|
||||
|
||||
break;
|
||||
|
@ -564,7 +564,7 @@ function projectprefs_page($action = null, $venue = null) {
|
|||
drupal_set_message(bts(
|
||||
"No preferences found for set '@venue'. Click SAVE CHANGES below to save the following preferences to your account.",
|
||||
array( '@venue' => $venue, ),
|
||||
NULL, 'boinc:boinc-preferences-project'), 'status');
|
||||
NULL, 'boinc:account-preferences'), 'status');
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue