summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-12-01 17:34:28 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-12-04 11:40:33 +0100
commit1354cee18ebde998a83f9a019d4137071efa8c02 (patch)
treef190b8a48245cc3677652a703ab555a99fa59a7e /lib
parent5aad902507acd173e8bf8304d13eb27b03abcb08 (diff)
downloadnextcloud-server-1354cee18ebde998a83f9a019d4137071efa8c02.tar.gz
nextcloud-server-1354cee18ebde998a83f9a019d4137071efa8c02.zip
translate labels properly
Diffstat (limited to 'lib')
-rw-r--r--lib/private/app.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index 8e36d43bfb1..86db8fd9f55 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -809,7 +809,7 @@ class OC_App {
if(isset($info['shipped']) and ($info['shipped'] == 'true')) {
$info['internal'] = true;
- $info['internallabel'] = $l->t('Recommended');
+ $info['internallabel'] = (string)$l->t('Recommended');
$info['internalclass'] = 'recommendedapp';
$info['removable'] = false;
} else {
@@ -920,7 +920,7 @@ class OC_App {
$app1[$i]['score'] = $app['score'];
$app1[$i]['removable'] = false;
if ($app['label'] == 'recommended') {
- $app1[$i]['internallabel'] = $l->t('Recommended');
+ $app1[$i]['internallabel'] = (string)$l->t('Recommended');
$app1[$i]['internalclass'] = 'recommendedapp';
}