Use a placeholder instead of magic string concatenation

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/9991/head
Joas Schilling 2018-06-25 16:41:02 +07:00 committed by Roeland Jago Douma
parent 4b8637fa85
commit 3784ef9fbb
No known key found for this signature in database
GPG Key ID: F941078878347C0C
3 changed files with 5 additions and 4 deletions

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}`; return `https://apps.nextcloud.com/apps/${this.app.id}`;
}, },
licence() { licence() {
if (this.app.licence) if (this.app.licence) {
return ('' + this.app.licence).toUpperCase() + t('settings', '-licensed'); return t('settings', '{license}-licensed', { license: ('' + this.app.licence).toUpperCase() } );
}
return null; return null;
}, },
hasRating() { hasRating() {