mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
Merge pull request #6935 from nextcloud/12-5780
Backport of translation string fixes
This commit is contained in:
commit
7ec5689d0e
3 changed files with 4 additions and 11 deletions
|
|
@ -971,9 +971,9 @@ OC.Uploader.prototype = _.extend({
|
|||
$('#uploadprogressbar').progressbar({value: 0});
|
||||
$('#uploadprogressbar .ui-progressbar-value').
|
||||
html('<em class="label inner"><span class="desktop">'
|
||||
+ t('files', 'Uploading...')
|
||||
+ t('files', 'Uploading …')
|
||||
+ '</span><span class="mobile">'
|
||||
+ t('files', '...')
|
||||
+ t('files', '…')
|
||||
+ '</span></em>');
|
||||
$('#uploadprogressbar').tooltip({placement: 'bottom'});
|
||||
self._showProgressBar();
|
||||
|
|
@ -1023,7 +1023,7 @@ OC.Uploader.prototype = _.extend({
|
|||
var h = moment.duration(smoothRemainingSeconds, "seconds").humanize();
|
||||
if (!(smoothRemainingSeconds >= 0 && smoothRemainingSeconds < 14400)) {
|
||||
// show "Uploading ..." for durations longer than 4 hours
|
||||
h = t('files', 'Uploading...');
|
||||
h = t('files', 'Uploading …');
|
||||
}
|
||||
$('#uploadprogressbar .label .mobile').text(h);
|
||||
$('#uploadprogressbar .label .desktop').text(h);
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<div class="actions creatable hidden">
|
||||
<div id="uploadprogresswrapper">
|
||||
<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>
|
||||
<input type="button" class="stop icon-close" style="display:none" value="" />
|
||||
</div>
|
||||
|
|
|
|||
7
core/vendor/core.js
vendored
7
core/vendor/core.js
vendored
|
|
@ -5551,9 +5551,6 @@ dav.Client.prototype = {
|
|||
' <d:prop>\n';
|
||||
|
||||
for(var ii in properties) {
|
||||
if (!properties.hasOwnProperty(ii)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
var property = this.parseClarkNotation(properties[ii]);
|
||||
if (this.xmlNamespaces[property.namespace]) {
|
||||
|
|
@ -5599,10 +5596,6 @@ dav.Client.prototype = {
|
|||
' <d:prop>\n';
|
||||
|
||||
for(var ii in properties) {
|
||||
if (!properties.hasOwnProperty(ii)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
var property = this.parseClarkNotation(ii);
|
||||
var propName;
|
||||
var propValue = properties[ii];
|
||||
|
|
|
|||
Loading…
Reference in a new issue