diff options
Diffstat (limited to 'modules/statistics.module')
-rw-r--r-- | modules/statistics.module | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/statistics.module b/modules/statistics.module index 3cfd1ddb4..a897739d0 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -266,13 +266,13 @@ function statistics_admin() { /* configuration admin pages */ if (user_access("administer statistics module")) { switch (stripslashes($op)) { - case "Submit \"top nodes\" block changes": + case t("Submit \"top nodes\" block changes"): statistics_save_topnodes_block($edit); $output .= status(t("saved 'top nodes' block changes.")); - case "Submit \"who's online\" block changes": + case t("Submit \"who's online\" block changes"): statistics_save_online_block($edit); $output .= status(t("saved 'who's online' block changes.")); - case "Submit \"top nodes\" page changes": + case t("Submit \"top nodes\" page changes"): statistics_save_userconfig($edit); $output .= status(t("saved 'top nodes' page changes.")); case "top nodes page": @@ -504,7 +504,7 @@ function statistics_config_topnodes_block($edit) { $form .= "<hr />"; - $form .= form_submit("Submit \"top nodes\" block changes"); + $form .= form_submit(t("Submit \"top nodes\" block changes")); return form($form); } @@ -521,7 +521,7 @@ function statistics_config_online_block($edit) { $form .= form_select(t("Maximum characters of user's name to display"), "statistics_block_online_max_len", $edit["statistics_block_online_max_len"], array("1" => "1", "5" => "5", "10" => "10", "15" => "15", "20" => "20", "25" => "25", "30" => "30", "35" => "35", "40" => "40", "45" => "45", "50" => "50", "55" => "55", "60" => "60"), t("What is the maximum characters of a user's name to to display in the sub-block.")); $form .= form_select(t("How many online users to list"), "statistics_block_online_max_cnt", $edit["statistics_block_online_max_cnt"], array("0" => "0", "1" => "1", "2" => "2", "3" => "3", "4" => "4", "5" => "5", "6" => "6", "7" => "7", "8" => "8", "9" => "9", "10" => "10", "15" => "15", "20" => "20", "50" => "50", "100" => "100"), t("How many online user's names to display in the sub-block.")); - $form .= form_submit("Submit \"who's online\" block changes"); + $form .= form_submit(t("Submit \"who's online\" block changes")); return form($form); } @@ -537,15 +537,15 @@ function statistics_admin_userpage_config($edit) { $form .= form_select(t("Number of nodes to display for \"day's top\""), "statistics_userpage_day_cnt", $edit["statistics_userpage_day_cnt"], array("0" => t("Disabled"), "1" => "1", "2" => "2", "3" => "3", "4" => "4", "5" => "5", "6" => "6", "7" => "7", "8" => "8", "9" => "9", "10" => "10", "15" => "15", "20" => "20", "25" => "25"), t("Set how many \"day's top\" nodes to display on the user page generated by this module.")); $form .= "<hr />"; - $form .= form_textfield(t("All time top nodes title"), "statistics_userpage_all_head", $edit["statistics_userpage_all_head"], 20, 40, "Specify a name for the \"all time top\" section of the user page generated by this module."); + $form .= form_textfield(t("All time top nodes title"), "statistics_userpage_all_head", $edit["statistics_userpage_all_head"], 20, 40, t("Specify a name for the \"all time top\" section of the user page generated by this module.")); $form .= form_select(t("Number of nodes to display for \"all time\""), "statistics_userpage_all_cnt", $edit["statistics_userpage_all_cnt"], array("0" => t("Disabled"), "1" => "1", "2" => "2", "3" => "3", "4" => "4", "5" => "5", "6" => "6", "7" => "7", "8" => "8", "9" => "9", "10" => "10", "15" => "15", "20" => "20", "25" => "25"), t("Set how many \"all time top\" nodes to display on the user page generated by this module.")); $form .= "<hr />"; - $form .= form_textfield(t("Last viewed nodes title"), "statistics_userpage_last_head", $edit["statistics_userpage_last_head"], 20, 40, "Specify a name for the \"last viewed\" section of the user page generated by this module."); + $form .= form_textfield(t("Last viewed nodes title"), "statistics_userpage_last_head", $edit["statistics_userpage_last_head"], 20, 40, t("Specify a name for the \"last viewed\" section of the user page generated by this module.")); $form .= form_select(t("Number of nodes to display for \"last views\""), "statistics_userpage_last_cnt", $edit["statistics_userpage_last_cnt"], array("0" => t("Disabled"), "1" => "1", "2" => "2", "3" => "3", "4" => "4", "5" => "5", "6" => "6", "7" => "7", "8" => "8", "9" => "9", "10" => "10", "15" => "15", "20" => "20", "25" => "25"), t("Set how many \"last viewed\" nodes to display on the user page generated by this module.")); $form .= "<hr />"; - $form .= form_submit("Submit \"top nodes\" page changes"); + $form .= form_submit(t("Submit \"top nodes\" page changes")); return form($form); } |