summaryrefslogtreecommitdiffstats
path: root/settings/src
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-27 17:16:12 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-27 17:16:12 +0200
commit7c15d9e08009bd06960efcadfbef68f47f5bed8c (patch)
treedf9d390bd8b4e9977f889a058f8ae92ffaa01cf2 /settings/src
parent1aa0990ccd98a3acb40255c2af39d408a30268fa (diff)
downloadnextcloud-server-7c15d9e08009bd06960efcadfbef68f47f5bed8c.tar.gz
nextcloud-server-7c15d9e08009bd06960efcadfbef68f47f5bed8c.zip
Fix string formatting
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/src')
-rw-r--r--settings/src/components/userList/userRow.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/src/components/userList/userRow.vue b/settings/src/components/userList/userRow.vue
index e80e703dceb..2f9297d8841 100644
--- a/settings/src/components/userList/userRow.vue
+++ b/settings/src/components/userList/userRow.vue
@@ -217,7 +217,7 @@ export default {
/* QUOTA MANAGEMENT */
usedSpace() {
if (this.user.quota.used) {
- return OC.Util.humanFileSize(this.user.quota.used) + ' ' + t('settings', 'used');
+ return t('settings', '{size} used', {size: OC.Util.humanFileSize(this.user.quota.used)});
}
return t('settings', 'unknown space used');
},