From 7741ca0bccf03fb4f53c5c3baa61e372ecc08f2f Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Thu, 11 Jul 2013 17:41:19 +0200 Subject: [PATCH] use themable strings for admin page, simplify admin export, fix rest of #3791 --- settings/templates/admin.php | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 4af53a649b..4aad9b507e 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -17,7 +17,7 @@ if (!$_['htaccessworking']) { t('Security Warning'));?> - t('Your data directory and your files are probably accessible from the internet. The .htaccess file that ownCloud provides is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.')); ?> + t('Your data directory and your files are probably accessible from the internet. The .htaccess file is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.')); ?> @@ -32,7 +32,7 @@ if (!$_['isWebDavWorking']) { t('Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken.')); ?> - t('Please double check the installation guides.', 'http://doc.owncloud.org/server/5.0/admin_manual/installation.html')); ?> + t('Please double check the installation guides.', $defaults->getDocBaseUrl().'/server/5.0/admin_manual/installation.html')); ?> @@ -62,7 +62,7 @@ if (!$_['islocaleworking']) { 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))); + p($l->t('System locale can\'t be set 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))); ?> @@ -77,7 +77,7 @@ if (!$_['internetconnectionworking']) { t('Internet connection not working'));?> - t('This ownCloud server has no working internet connection. This means that some of the features like mounting of external storage, notifications about updates or installation of 3rd party apps don´t work. Accessing files from remote and sending of notification emails might also not work. We suggest to enable internet connection for this server if you want to have all features of ownCloud.')); ?> + t('This server has no working internet connection. This means that some of the features like mounting of external storage, notifications about updates or installation of 3rd party apps don´t work. Accessing files from remote and sending of notification emails might also not work. We suggest to enable internet connection for this server if you want to have all features.')); ?> @@ -110,7 +110,7 @@ if (!$_['internetconnectionworking']) { print_unescaped('checked="checked"'); } ?>>
- t("cron.php is registered at a webcron service. Call the cron.php page in the owncloud root once a minute over http.")); ?> + t("cron.php is registered at a webcron service to call cron.php once a minute over http.")); ?> @@ -120,7 +120,7 @@ if (!$_['internetconnectionworking']) { print_unescaped('checked="checked"'); } ?>>
- t("Use systems cron service. Call the cron.php file in the owncloud folder via a system cronjob once a minute.")); ?> + t("Use systems cron service to call the cron.php file once a minute.")); ?> @@ -181,10 +181,16 @@ if (!$_['internetconnectionworking']) { ?> />
- t('Enforces the clients to connect to ownCloud via an encrypted connection.')); ?> + t( + 'Forces the clients to connect to %s via an encrypted connection.', + $defaults->getName() + )); ?> "); - p($l->t('Please connect to this ownCloud instance via HTTPS to enable or disable the SSL enforcement.')); + p($l->t( + 'Please connect to your %s via HTTPS to enable or disable the SSL enforcement.', + $defaults->getName() + )); print_unescaped(""); } ?> @@ -234,7 +240,7 @@ endfor;?>
t('Version'));?> - getName()); ?> + getTitle()); ?>

t('Developed by the ownCloud community, the source code is licensed under the AGPL.')); ?>