From: Valdnet <47037905+Valdnet@users.noreply.github.com> Date: Thu, 27 Aug 2020 20:07:45 +0000 (+0200) Subject: Removing the added parentheses X-Git-Tag: v20.0.0beta3~31^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F22463%2Fhead;p=nextcloud-server.git Removing the added parentheses --- diff --git a/apps/files/js/files.js b/apps/files/js/files.js index d3c676f3658..5481ece055c 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -181,7 +181,7 @@ } } else if (usedSpacePercent > 90) { if (owner !== OC.getCurrentUser().uid) { - OC.Notification.show(t('files', 'Storage of {owner} is almost full ({usedSpacePercent}%).)', + OC.Notification.show(t('files', 'Storage of {owner} is almost full ({usedSpacePercent}%).', { usedSpacePercent: usedSpacePercent, owner: ownerDisplayName @@ -192,18 +192,18 @@ ); } else if (mountType === 'group') { OC.Notification.show(t('files', - 'This group folder is almost full ({usedSpacePercent}%).)', + 'This group folder is almost full ({usedSpacePercent}%).', {usedSpacePercent: usedSpacePercent}), {type : 'error'} ); } else if (mountType === 'external') { OC.Notification.show(t('files', - 'This external storage is almost full ({usedSpacePercent}%).)', + 'This external storage is almost full ({usedSpacePercent}%).', {usedSpacePercent: usedSpacePercent}), {type : 'error'} ); } else { - OC.Notification.show(t('files', 'Your storage is almost full ({usedSpacePercent}%).)', + OC.Notification.show(t('files', 'Your storage is almost full ({usedSpacePercent}%).', {usedSpacePercent: usedSpacePercent}), {type : 'error'} );