Merge pull request #79 from nextcloud/rakekniven-patch-1

Replace 3 dots to ellipsis
This commit is contained in:
Andras Timar 2017-06-01 09:34:41 +02:00 committed by GitHub
commit 760f6d3bfa
3 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ var documentsSettings = {
wopi_url : $('#wopi_url').val().replace(/\/$/, '') wopi_url : $('#wopi_url').val().replace(/\/$/, '')
}; };
OC.msg.startAction('#documents-admin-msg', t('richdocuments', 'Saving...')); OC.msg.startAction('#documents-admin-msg', t('richdocuments', 'Saving'));
$.post( $.post(
OC.filePath('richdocuments', 'ajax', 'admin.php'), OC.filePath('richdocuments', 'ajax', 'admin.php'),
data, data,

View File

@ -213,7 +213,7 @@ var documentsMain = {
var revHistoryContainerTemplate = Handlebars.compile(documentsMain.UI.revHistoryContainerTemplate); var revHistoryContainerTemplate = Handlebars.compile(documentsMain.UI.revHistoryContainerTemplate);
var revHistoryContainer = revHistoryContainerTemplate({ var revHistoryContainer = revHistoryContainerTemplate({
filename: documentsMain.fileName, filename: documentsMain.fileName,
moreVersionsLabel: t('richdocuments', 'More versions...'), moreVersionsLabel: t('richdocuments', 'More versions'),
closeButtonUrl: OC.imagePath('core', 'actions/close') closeButtonUrl: OC.imagePath('core', 'actions/close')
}); });
$('#revViewerContainer').prepend(revHistoryContainer); $('#revViewerContainer').prepend(revHistoryContainer);
@ -292,7 +292,7 @@ var documentsMain = {
if (!documentsMain.renderComplete) { if (!documentsMain.renderComplete) {
setTimeout(function() { documentsMain.UI.showEditor(title, action); }, 500); setTimeout(function() { documentsMain.UI.showEditor(title, action); }, 500);
console.log('Waiting for page to render ...'); console.log('Waiting for page to render');
return; return;
} }
parent.postMessage('loading', '*'); parent.postMessage('loading', '*');
@ -535,7 +535,7 @@ var documentsMain = {
if (documentsMain.isGuest){ if (documentsMain.isGuest){
return; return;
} }
documentsMain.UI.showProgress(t('richdocuments', 'Loading documents...')); documentsMain.UI.showProgress(t('richdocuments', 'Loading documents'));
documentsMain.docs.documentGrid('render', fileId); documentsMain.docs.documentGrid('render', fileId);
documentsMain.UI.hideProgress(); documentsMain.UI.hideProgress();
} }

View File

@ -14,7 +14,7 @@ script('richdocuments', 'documents');
?> ?>
<div id="documents-content"> <div id="documents-content">
<ul class="documentslist"> <ul class="documentslist">
<li class="progress icon-loading"><div><?php p($l->t('Loading documents...')); ?></div></li> <li class="progress icon-loading"><div><?php p($l->t('Loading documents')); ?></div></li>
<li class="document template" data-id="" style="display:none;"> <li class="document template" data-id="" style="display:none;">
<a target="_blank" href=""><label></label></a> <a target="_blank" href=""><label></label></a>
</li> </li>