diff --git a/login_destination.admin.inc b/login_destination.admin.inc index a2743ac..3616c5b 100755 --- a/login_destination.admin.inc +++ b/login_destination.admin.inc @@ -82,10 +82,10 @@ function theme_login_destination_triggers($variables) { foreach ($items as &$item) { switch ($item) { case 'login': - $item = 'Login'; + $item = t('Login'); break; case 'logout': - $item = 'Logout'; + $item = t('Logout'); break; } $output .= $item . "
"; @@ -199,7 +199,7 @@ function login_destination_edit_form($form, &$form_state, array $rule = array()) '#title' => t('Redirect upon triggers'), '#options' => array('login' => 'Login, registration, one-time login link', 'logout' => 'Logout'), '#default_value' => $triggers, - '#description' => 'Redirect only upon selected trigger(s). If you select no triggers, all of them will be used.', + '#description' => t('Redirect only upon selected trigger(s). If you select no triggers, all of them will be used.'), ); $type = $rule['pages_type']; @@ -249,7 +249,7 @@ function login_destination_edit_form($form, &$form_state, array $rule = array()) '#title' => t('Redirect users with roles'), '#options' => _login_destination_role_options(), '#default_value' => $default_role_options, - '#description' => 'Redirect only the selected role(s). If you select no roles, all users will be redirected.', + '#description' => t('Redirect only the selected role(s). If you select no roles, all users will be redirected.'), ); $form['weight'] = array(