Merge pull request #22463 from nextcloud/Valdnet-patch-3

l10n: Add a period at the end of the sentence
This commit is contained in:
Roeland Jago Douma 2020-08-28 08:47:01 +02:00 committed by GitHub
commit 286bf2b84f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -181,7 +181,7 @@
} }
} else if (usedSpacePercent > 90) { } else if (usedSpacePercent > 90) {
if (owner !== OC.getCurrentUser().uid) { 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, usedSpacePercent: usedSpacePercent,
owner: ownerDisplayName owner: ownerDisplayName
@ -192,18 +192,18 @@
); );
} else if (mountType === 'group') { } else if (mountType === 'group') {
OC.Notification.show(t('files', OC.Notification.show(t('files',
'This group folder is almost full ({usedSpacePercent}%)', 'This group folder is almost full ({usedSpacePercent}%).',
{usedSpacePercent: usedSpacePercent}), {usedSpacePercent: usedSpacePercent}),
{type : 'error'} {type : 'error'}
); );
} else if (mountType === 'external') { } else if (mountType === 'external') {
OC.Notification.show(t('files', OC.Notification.show(t('files',
'This external storage is almost full ({usedSpacePercent}%)', 'This external storage is almost full ({usedSpacePercent}%).',
{usedSpacePercent: usedSpacePercent}), {usedSpacePercent: usedSpacePercent}),
{type : 'error'} {type : 'error'}
); );
} else { } 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}), {usedSpacePercent: usedSpacePercent}),
{type : 'error'} {type : 'error'}
); );