summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-07-03 12:38:20 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-07-04 10:09:28 +0200
commitd46e62886a2b22a4c80df8cca09fb6f354d48614 (patch)
tree92324f0798a786259e4c31af3a8553a63e57e626 /settings
parent51cfacd78903e9b24df3cb6de178ec19805fd444 (diff)
downloadnextcloud-server-d46e62886a2b22a4c80df8cca09fb6f354d48614.tar.gz
nextcloud-server-d46e62886a2b22a4c80df8cca09fb6f354d48614.zip
Add init funtion to OC_Defaults to be able to wrap translatable strings
Diffstat (limited to 'settings')
-rw-r--r--settings/personal.php2
-rw-r--r--settings/templates/admin.php2
-rw-r--r--settings/templates/personal.php1
3 files changed, 5 insertions, 0 deletions
diff --git a/settings/personal.php b/settings/personal.php
index cb411cacc5b..d68de4d570a 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -8,6 +8,8 @@
OC_Util::checkLoggedIn();
OC_App::loadApps();
+OC_Defaults::init(); // initialize themable default strings and urls
+
// Highlight navigation entry
OC_Util::addScript( 'settings', 'personal' );
OC_Util::addStyle( 'settings', 'settings' );
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 68a4cbe0590..fd79f88af1c 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -4,6 +4,8 @@
* See the COPYING-README file.
*/
$levels = array('Debug', 'Info', 'Warning', 'Error', 'Fatal');
+
+OC_Defaults::init(); // initialize themable default strings and urls
?>
<?php
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 5d0bb77c78e..4cf2b2393b3 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -4,6 +4,7 @@
* See the COPYING-README file.
*/?>
+<?php OC_Defaults::init(); // initialize themable default strings and urls ?>
<div class="clientsbox">
<h2><?php p($l->t('Get the apps to sync your files'));?></h2>