summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-08-16 18:02:48 +0000
committerDries Buytaert <dries@buytaert.net>2004-08-16 18:02:48 +0000
commit2f33b939c5dc73364a0e2073ea9410516d66242f (patch)
tree665361c02a1d68d05b55755a00da368417a0dc99 /modules/system/system.module
parent4545f798a9876716fb9ef56190d879bf62c49fdf (diff)
downloadbrdo-2f33b939c5dc73364a0e2073ea9410516d66242f.tar.gz
brdo-2f33b939c5dc73364a0e2073ea9410516d66242f.tar.bz2
- Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index fc88e79da..852272208 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -153,12 +153,12 @@ function system_view_general() {
// file system:
$directory_path = variable_get('file_directory_path', 'files');
if (!file_check_directory($directory_path)) {
- form_set_error('file_directory_path', t( "the directory '%name' does not exist, or is not writable.", array('%name' => $directory_path)));
+ form_set_error('file_directory_path', t("The directory '%name' does not exist, or is not writable.", array('%name' => $directory_path)));
}
$directory_temp = variable_get('file_directory_temp', (PHP_OS == 'WINNT' ? 'c:\\windows\\temp' : '/tmp'));
if (!file_check_directory($directory_temp)) {
- form_set_error('file_directory_temp', t("the directory '%name' does not exist, or is not writable.", array('%name' => $directory_temp)));
+ form_set_error('file_directory_temp', t("The directory '%name' does not exist, or is not writable.", array('%name' => $directory_temp)));
}
$group = form_textfield(t('File system path'), 'file_directory_path', $directory_path, 70, 255, t('A file system path where the files will be stored. This directory has to exist and be writable by Drupal. If the download method is set to public this directory has to be relative to Drupal installation directory, and be accessible over the web. When download method is set to private this directory should not be accessible over the web. Changing this location after the site has been in use will cause problems so only change this setting on an existing site if you know what you are doing.'));
@@ -306,7 +306,7 @@ function system_listing_save($edit = array()) {
cache_clear_all();
- drupal_set_message(t('the configuration options have been saved.'));
+ drupal_set_message(t('The configuration options have been saved.'));
drupal_goto($_GET['q']);
}
}
@@ -326,13 +326,13 @@ function system_settings_save() {
foreach ($edit as $name => $value) {
variable_del($name);
}
- drupal_set_message(t('the configuration options have been reset to their default values.'));
+ drupal_set_message(t('The configuration options have been reset to their default values.'));
}
if ($op == t('Save configuration')) {
foreach ($edit as $name => $value) {
variable_set($name, $value);
}
- drupal_set_message(t('the configuration options have been saved.'));
+ drupal_set_message(t('The configuration options have been saved.'));
}
else {
return;