Browse Source

translate labels properly

tags/v8.0.0alpha1
Thomas Müller 9 years ago
parent
commit
1354cee18e
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      lib/private/app.php

+ 2
- 2
lib/private/app.php View File

@@ -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';
}


Loading…
Cancel
Save