Merge pull request #830 from tobiasd/savesettings_wording
better worting of the SUBMIT button in the settings tab and the admin pa...
This commit is contained in:
commit
2414b0bac0
|
@ -566,7 +566,7 @@ function admin_page_site(&$a) {
|
||||||
return replace_macros($t, array(
|
return replace_macros($t, array(
|
||||||
'$title' => t('Administration'),
|
'$title' => t('Administration'),
|
||||||
'$page' => t('Site'),
|
'$page' => t('Site'),
|
||||||
'$submit' => t('Submit'),
|
'$submit' => t('Save Settings'),
|
||||||
'$registration' => t('Registration'),
|
'$registration' => t('Registration'),
|
||||||
'$upload' => t('File upload'),
|
'$upload' => t('File upload'),
|
||||||
'$corporate' => t('Policies'),
|
'$corporate' => t('Policies'),
|
||||||
|
@ -891,7 +891,7 @@ function admin_page_users(&$a){
|
||||||
// strings //
|
// strings //
|
||||||
'$title' => t('Administration'),
|
'$title' => t('Administration'),
|
||||||
'$page' => t('Users'),
|
'$page' => t('Users'),
|
||||||
'$submit' => t('Submit'),
|
'$submit' => t('Add User'),
|
||||||
'$select_all' => t('select all'),
|
'$select_all' => t('select all'),
|
||||||
'$h_pending' => t('User registrations waiting for confirm'),
|
'$h_pending' => t('User registrations waiting for confirm'),
|
||||||
'$h_deleted' => t('User waiting for permanent deletion'),
|
'$h_deleted' => t('User waiting for permanent deletion'),
|
||||||
|
@ -1037,7 +1037,7 @@ function admin_page_plugins(&$a){
|
||||||
return replace_macros($t, array(
|
return replace_macros($t, array(
|
||||||
'$title' => t('Administration'),
|
'$title' => t('Administration'),
|
||||||
'$page' => t('Plugins'),
|
'$page' => t('Plugins'),
|
||||||
'$submit' => t('Submit'),
|
'$submit' => t('Save Settings'),
|
||||||
'$baseurl' => $a->get_baseurl(true),
|
'$baseurl' => $a->get_baseurl(true),
|
||||||
'$function' => 'plugins',
|
'$function' => 'plugins',
|
||||||
'$plugins' => $plugins,
|
'$plugins' => $plugins,
|
||||||
|
@ -1237,7 +1237,7 @@ function admin_page_themes(&$a){
|
||||||
return replace_macros($t, array(
|
return replace_macros($t, array(
|
||||||
'$title' => t('Administration'),
|
'$title' => t('Administration'),
|
||||||
'$page' => t('Themes'),
|
'$page' => t('Themes'),
|
||||||
'$submit' => t('Submit'),
|
'$submit' => t('Save Settings'),
|
||||||
'$baseurl' => $a->get_baseurl(true),
|
'$baseurl' => $a->get_baseurl(true),
|
||||||
'$function' => 'themes',
|
'$function' => 'themes',
|
||||||
'$plugins' => $xthemes,
|
'$plugins' => $xthemes,
|
||||||
|
@ -1324,7 +1324,7 @@ readable.");
|
||||||
return replace_macros($t, array(
|
return replace_macros($t, array(
|
||||||
'$title' => t('Administration'),
|
'$title' => t('Administration'),
|
||||||
'$page' => t('Logs'),
|
'$page' => t('Logs'),
|
||||||
'$submit' => t('Submit'),
|
'$submit' => t('Save Settings'),
|
||||||
'$clear' => t('Clear'),
|
'$clear' => t('Clear'),
|
||||||
'$data' => $data,
|
'$data' => $data,
|
||||||
'$baseurl' => $a->get_baseurl(true),
|
'$baseurl' => $a->get_baseurl(true),
|
||||||
|
|
|
@ -594,7 +594,7 @@ function settings_content(&$a) {
|
||||||
$o .= replace_macros($tpl, array(
|
$o .= replace_macros($tpl, array(
|
||||||
'$form_security_token' => get_form_security_token("settings_oauth"),
|
'$form_security_token' => get_form_security_token("settings_oauth"),
|
||||||
'$title' => t('Add application'),
|
'$title' => t('Add application'),
|
||||||
'$submit' => t('Submit'),
|
'$submit' => t('Save Settings'),
|
||||||
'$cancel' => t('Cancel'),
|
'$cancel' => t('Cancel'),
|
||||||
'$name' => array('name', t('Name'), '', ''),
|
'$name' => array('name', t('Name'), '', ''),
|
||||||
'$key' => array('key', t('Consumer Key'), '', ''),
|
'$key' => array('key', t('Consumer Key'), '', ''),
|
||||||
|
@ -704,7 +704,7 @@ function settings_content(&$a) {
|
||||||
'$form_security_token' => get_form_security_token("settings_features"),
|
'$form_security_token' => get_form_security_token("settings_features"),
|
||||||
'$title' => t('Additional Features'),
|
'$title' => t('Additional Features'),
|
||||||
'$features' => $arr,
|
'$features' => $arr,
|
||||||
'$submit' => t('Submit'),
|
'$submit' => t('Save Settings'),
|
||||||
));
|
));
|
||||||
return $o;
|
return $o;
|
||||||
}
|
}
|
||||||
|
@ -773,7 +773,7 @@ function settings_content(&$a) {
|
||||||
'$mail_pubmail' => array('mail_pubmail', t('Send public posts to all email contacts:'), $mail_pubmail, ''),
|
'$mail_pubmail' => array('mail_pubmail', t('Send public posts to all email contacts:'), $mail_pubmail, ''),
|
||||||
'$mail_action' => array('mail_action', t('Action after import:'), $mail_action, '', array(0=>t('None'), /*1=>t('Delete'),*/ 2=>t('Mark as seen'), 3=>t('Move to folder'))),
|
'$mail_action' => array('mail_action', t('Action after import:'), $mail_action, '', array(0=>t('None'), /*1=>t('Delete'),*/ 2=>t('Mark as seen'), 3=>t('Move to folder'))),
|
||||||
'$mail_movetofolder' => array('mail_movetofolder', t('Move to folder:'), $mail_movetofolder, ''),
|
'$mail_movetofolder' => array('mail_movetofolder', t('Move to folder:'), $mail_movetofolder, ''),
|
||||||
'$submit' => t('Submit'),
|
'$submit' => t('Save Settings'),
|
||||||
|
|
||||||
'$settings_connectors' => $settings_connectors
|
'$settings_connectors' => $settings_connectors
|
||||||
));
|
));
|
||||||
|
@ -849,7 +849,7 @@ function settings_content(&$a) {
|
||||||
$o = replace_macros($tpl, array(
|
$o = replace_macros($tpl, array(
|
||||||
'$ptitle' => t('Display Settings'),
|
'$ptitle' => t('Display Settings'),
|
||||||
'$form_security_token' => get_form_security_token("settings_display"),
|
'$form_security_token' => get_form_security_token("settings_display"),
|
||||||
'$submit' => t('Submit'),
|
'$submit' => t('Save Settings'),
|
||||||
'$baseurl' => $a->get_baseurl(true),
|
'$baseurl' => $a->get_baseurl(true),
|
||||||
'$uid' => local_user(),
|
'$uid' => local_user(),
|
||||||
|
|
||||||
|
@ -1077,7 +1077,7 @@ function settings_content(&$a) {
|
||||||
$o .= replace_macros($stpl, array(
|
$o .= replace_macros($stpl, array(
|
||||||
'$ptitle' => t('Account Settings'),
|
'$ptitle' => t('Account Settings'),
|
||||||
|
|
||||||
'$submit' => t('Submit'),
|
'$submit' => t('Save Settings'),
|
||||||
'$baseurl' => $a->get_baseurl(true),
|
'$baseurl' => $a->get_baseurl(true),
|
||||||
'$uid' => local_user(),
|
'$uid' => local_user(),
|
||||||
'$form_security_token' => get_form_security_token("settings"),
|
'$form_security_token' => get_form_security_token("settings"),
|
||||||
|
|
Loading…
Reference in a new issue