diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-12-19 08:53:43 -0800 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-12-19 08:53:43 -0800 |
commit | b162e72f94b253a2e68547c8321ebb2d81dae3bc (patch) | |
tree | e7425be61d20a8701e591afd1baf16d58d033c3c /settings/templates | |
parent | d7fbe47583c279d6d4162c6155ce4adbebe85be2 (diff) | |
parent | 196f1c3786ca009b3180e8ca11d0bf0258f5be92 (diff) | |
download | nextcloud-server-b162e72f94b253a2e68547c8321ebb2d81dae3bc.tar.gz nextcloud-server-b162e72f94b253a2e68547c8321ebb2d81dae3bc.zip |
Merge pull request #961 from owncloud/check_locale
add a check and a warning if setlocale is working
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/admin.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php index a110e09b692..a8e3375ab24 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -8,6 +8,7 @@ $levels=array('Debug','Info','Warning','Error', 'Fatal'); <?php +// is htaccess working ? if(!$_['htaccessworking']) { ?> <fieldset class="personalblock"> @@ -20,9 +21,22 @@ if(!$_['htaccessworking']) { </fieldset> <?php } + +// is locale working ? +if(!$_['islocaleworking']) { ?> +<fieldset class="personalblock"> + <legend><strong><?php echo $l->t('Locale not working');?></strong></legend> + + <span class="connectionwarning"> + <?php echo $l->t('This ownCloud server can\'t set system locale to "en_US.UTF-8". This means that there might be problems with certain caracters in file names. We strongly suggest to install the requirend packages on your system to support en_US.UTF-8.'); ?> + </span> +</fieldset> <?php +} + +// is internet connection working ? if(!$_['internetconnectionworking']) { ?> <fieldset class="personalblock"> |