diff options
author | Joas Schilling <coding@schilljs.com> | 2018-06-25 16:41:02 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-26 08:22:20 +0200 |
commit | 3784ef9fbb18cc3c490ac387ca2d6069a8db75d2 (patch) | |
tree | e90476845793db7f3950ed0fa82f4d0d552d5800 /settings/src | |
parent | 4b8637fa8572a35683c57cc6531d2d0119ed27f2 (diff) | |
download | nextcloud-server-3784ef9fbb18cc3c490ac387ca2d6069a8db75d2.tar.gz nextcloud-server-3784ef9fbb18cc3c490ac387ca2d6069a8db75d2.zip |
Use a placeholder instead of magic string concatenation
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings/src')
-rw-r--r-- | settings/src/components/appDetails.vue | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/settings/src/components/appDetails.vue b/settings/src/components/appDetails.vue index 5452715c0ea..2a51f3a841b 100644 --- a/settings/src/components/appDetails.vue +++ b/settings/src/components/appDetails.vue @@ -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() { |