summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-19 15:40:43 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-19 15:40:43 +0000
commite377c8c2b328dedc5e1d59b1d56b46917da881fc (patch)
tree47c1b6dcced731911b7684bd4dbd76ee3e45adee /modules
parent309120cd054c24be5ec234022a6b5ab2ee1131f9 (diff)
downloadbrdo-e377c8c2b328dedc5e1d59b1d56b46917da881fc.tar.gz
brdo-e377c8c2b328dedc5e1d59b1d56b46917da881fc.tar.bz2
#201333 by keith.smith and myself: fix typos in taxonomy form, also fix a few code comments
Diffstat (limited to 'modules')
-rw-r--r--modules/taxonomy/taxonomy.admin.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/taxonomy/taxonomy.admin.inc b/modules/taxonomy/taxonomy.admin.inc
index a706e4fd1..8f9e1894c 100644
--- a/modules/taxonomy/taxonomy.admin.inc
+++ b/modules/taxonomy/taxonomy.admin.inc
@@ -415,7 +415,7 @@ function taxonomy_overview_terms(&$form_state, $vocabulary) {
);
$form['reset_alphabetical'] = array(
'#type' => 'submit',
- '#value' => t('Reset to Alphabetical')
+ '#value' => t('Reset to alphabetical')
);
$form['destination'] = array(
'#type' => 'hidden',
@@ -442,12 +442,12 @@ function taxonomy_overview_terms(&$form_state, $vocabulary) {
* @see taxonomy_overview_terms().
*/
function taxonomy_overview_terms_submit($form, &$form_state) {
- if ($form_state['clicked_button']['#value'] == t('Reset to Alphabetical')) {
- // Execute the term deletion.
+ if ($form_state['clicked_button']['#value'] == t('Reset to alphabetical')) {
+ // Execute the reset action.
if ($form_state['values']['reset_alphabetical'] === TRUE) {
return taxonomy_vocabulary_confirm_reset_alphabetical_submit($form, $form_state);
}
- // Rebuild the form to confirm term deletion.
+ // Rebuild the form to confirm the reset action.
$form_state['rebuild'] = TRUE;
$form_state['confirm_reset_alphabetical'] = TRUE;
return;
@@ -908,8 +908,8 @@ function taxonomy_vocabulary_confirm_reset_alphabetical(&$form_state, $vid) {
t('Are you sure you want to reset the vocabulary %title to alphabetical order?',
array('%title' => $vocabulary->name)),
'admin/content/taxonomy/'. $vid,
- t('Reseting a vocabulary will discard all custom ordering and sort items alphabetically.'),
- t('Reset to Alphabetical'),
+ t('Resetting a vocabulary will discard all custom ordering and sort items alphabetically.'),
+ t('Reset to alphabetical'),
t('Cancel'));
}