]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixes 1933 - the locale name is no longer part of the translation string
authorThomas Mueller <thomas.mueller@tmit.eu>
Wed, 27 Feb 2013 10:41:50 +0000 (11:41 +0100)
committerThomas Mueller <thomas.mueller@tmit.eu>
Wed, 27 Feb 2013 10:41:50 +0000 (11:41 +0100)
settings/templates/admin.php

index 17be3396930bd0e0051fd66d7c22ff5d07d934c5..f3dc9154bbd34bdfb47a9e522ffeefc74127e3ad 100644 (file)
@@ -58,7 +58,10 @@ if (!$_['islocaleworking']) {
        <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"/"en_US.UTF8". This means that there might be problems with certain characters in file names. We strongly suggest to install the required packages on your system to support en_US.UTF-8/en_US.UTF8.'); ?>
+               <?php
+                       $locales = 'en_US.UTF-8/en_US.UTF8';
+                       echo $l->t('This ownCloud server can\'t set system locale to %s. This means that there might be problems with certain characters in file names. We strongly suggest to install the required packages on your system to support %s.', array($locales, $locales));
+                       ?>
        </span>
 
 </fieldset>