Merge pull request #9991 from nextcloud/i10n/noid/use-translation-placeholder
Use a placeholder instead of magic string concatenation
This commit is contained in:
commit
dfbc21d806
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 New Issue