Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
1354cee1
Commit
1354cee1
authored
Dec 01, 2014
by
Thomas Müller
Browse files
translate labels properly
parent
5aad9025
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/app.php
View file @
1354cee1
...
...
@@ -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'
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment