Commit 1354cee1 authored by Thomas Müller's avatar Thomas Müller
Browse files

translate labels properly

parent 5aad9025
...@@ -809,7 +809,7 @@ class OC_App { ...@@ -809,7 +809,7 @@ class OC_App {
if(isset($info['shipped']) and ($info['shipped'] == 'true')) { if(isset($info['shipped']) and ($info['shipped'] == 'true')) {
$info['internal'] = true; $info['internal'] = true;
$info['internallabel'] = $l->t('Recommended'); $info['internallabel'] = (string)$l->t('Recommended');
$info['internalclass'] = 'recommendedapp'; $info['internalclass'] = 'recommendedapp';
$info['removable'] = false; $info['removable'] = false;
} else { } else {
...@@ -920,7 +920,7 @@ class OC_App { ...@@ -920,7 +920,7 @@ class OC_App {
$app1[$i]['score'] = $app['score']; $app1[$i]['score'] = $app['score'];
$app1[$i]['removable'] = false; $app1[$i]['removable'] = false;
if ($app['label'] == 'recommended') { if ($app['label'] == 'recommended') {
$app1[$i]['internallabel'] = $l->t('Recommended'); $app1[$i]['internallabel'] = (string)$l->t('Recommended');
$app1[$i]['internalclass'] = 'recommendedapp'; $app1[$i]['internalclass'] = 'recommendedapp';
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment