diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-21 16:09:30 -0700 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-21 16:09:30 -0700 |
commit | ac69974d73abafbee638cd0f9e024ded30248845 (patch) | |
tree | 7b5b9ff00737bd886a214470e3592656e9331587 /lib | |
parent | 40a1899bd98ac418994321831f0b2e8bad5f1c94 (diff) | |
parent | 107b641708d07414f01894fba4561a0c4e500e7d (diff) | |
download | nextcloud-server-ac69974d73abafbee638cd0f9e024ded30248845.tar.gz nextcloud-server-ac69974d73abafbee638cd0f9e024ded30248845.zip |
Merge pull request #17 from scambra/4.5-l10n-fixes
Fix some untranslated strings
Diffstat (limited to 'lib')
-rw-r--r-- | lib/template.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/template.php b/lib/template.php index 8c872a2059b..76a0b372b3c 100644 --- a/lib/template.php +++ b/lib/template.php @@ -158,7 +158,8 @@ class OC_Template{ if($renderas == 'user') { $this->vars['requesttoken'] = OC_Util::callRegister(); } - $this->l10n = OC_L10N::get($app); + $parts = explode('/', $app); // fix translation when app is something like core/lostpassword + $this->l10n = OC_L10N::get($parts[0]); header('X-Frame-Options: Sameorigin'); header('X-XSS-Protection: 1; mode=block'); header('X-Content-Type-Options: nosniff'); |