aboutsummaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-12-19 15:10:33 +0100
committerFrank Karlitschek <frank@owncloud.org>2012-12-19 15:10:33 +0100
commit196f1c3786ca009b3180e8ca11d0bf0258f5be92 (patch)
treea16a45a966a15af721808002cb2d10d01b1e5c7b /settings/templates
parente73a47a824c639f3e8ae83f8d52b590d60f065be (diff)
downloadnextcloud-server-196f1c3786ca009b3180e8ca11d0bf0258f5be92.tar.gz
nextcloud-server-196f1c3786ca009b3180e8ca11d0bf0258f5be92.zip
add a check and a warning if setlocale is working
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/admin.php14
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">