Add space between ellipsis and word

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2017-10-25 00:11:05 +02:00
parent 5d84daa167
commit 7d71b54715
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
2 changed files with 3 additions and 3 deletions

View File

@ -971,7 +971,7 @@ OC.Uploader.prototype = _.extend({
$('#uploadprogressbar').progressbar({value: 0}); $('#uploadprogressbar').progressbar({value: 0});
$('#uploadprogressbar .ui-progressbar-value'). $('#uploadprogressbar .ui-progressbar-value').
html('<em class="label inner"><span class="desktop">' html('<em class="label inner"><span class="desktop">'
+ t('files', 'Uploading…') + t('files', 'Uploading …')
+ '</span><span class="mobile">' + '</span><span class="mobile">'
+ t('files', '…') + t('files', '…')
+ '</span></em>'); + '</span></em>');
@ -1023,7 +1023,7 @@ OC.Uploader.prototype = _.extend({
var h = moment.duration(smoothRemainingSeconds, "seconds").humanize(); var h = moment.duration(smoothRemainingSeconds, "seconds").humanize();
if (!(smoothRemainingSeconds >= 0 && smoothRemainingSeconds < 14400)) { if (!(smoothRemainingSeconds >= 0 && smoothRemainingSeconds < 14400)) {
// show "Uploading ..." for durations longer than 4 hours // show "Uploading ..." for durations longer than 4 hours
h = t('files', 'Uploading…'); h = t('files', 'Uploading …');
} }
$('#uploadprogressbar .label .mobile').text(h); $('#uploadprogressbar .label .mobile').text(h);
$('#uploadprogressbar .label .desktop').text(h); $('#uploadprogressbar .label .desktop').text(h);

View File

@ -2,7 +2,7 @@
<div class="actions creatable hidden"> <div class="actions creatable hidden">
<div id="uploadprogresswrapper"> <div id="uploadprogresswrapper">
<div id="uploadprogressbar"> <div id="uploadprogressbar">
<em class="label outer" style="display:none"><span class="desktop"><?php p($l->t('Uploading…'));?></span><span class="mobile"><?php p($l->t('…'));?></span></em> <em class="label outer" style="display:none"><span class="desktop"><?php p($l->t('Uploading …'));?></span><span class="mobile"><?php p($l->t('…'));?></span></em>
</div> </div>
<button class="stop icon-close" style="display:none"> <button class="stop icon-close" style="display:none">
<span class="hidden-visually"><?php p($l->t('Cancel upload')) ?></span> <span class="hidden-visually"><?php p($l->t('Cancel upload')) ?></span>