summaryrefslogtreecommitdiffstats
path: root/settings/src
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-06-25 16:41:02 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-26 08:22:20 +0200
commit3784ef9fbb18cc3c490ac387ca2d6069a8db75d2 (patch)
treee90476845793db7f3950ed0fa82f4d0d552d5800 /settings/src
parent4b8637fa8572a35683c57cc6531d2d0119ed27f2 (diff)
downloadnextcloud-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.vue5
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() {