mirror of
https://github.com/nextcloud/server.git
synced 2026-03-01 21:10:36 -05:00
Use a placeholder instead of magic string concatenation
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
4b8637fa85
commit
3784ef9fbb
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}`;
|
||||
},
|
||||
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…
Reference in a new issue