Use a placeholder instead of magic string concatenation

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/9991/head
Joas Schilling 6 years ago committed by Roeland Jago Douma
parent 4b8637fa85
commit 3784ef9fbb
No known key found for this signature in database
GPG Key ID: F941078878347C0C

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -131,8 +131,9 @@ export default {
return `https://apps.nextcloud.com/apps/${this.app.id}`;
},
licence() {
if (this.app.licence)
return ('' + this.app.licence).toUpperCase() + t('settings', '-licensed');
if (this.app.licence) {
return t('settings', '{license}-licensed', { license: ('' + this.app.licence).toUpperCase() } );
}
return null;
},
hasRating() {

Loading…
Cancel
Save