diff --git a/lang/de/pdfannotator.php b/lang/de/pdfannotator.php index d7e149e29561beae36504a819fa652d76c97ae97..54cd7ffc23d0d1aefb5f3372067f8c0086efc4f6 100644 --- a/lang/de/pdfannotator.php +++ b/lang/de/pdfannotator.php @@ -305,10 +305,10 @@ $string['reportaddedtext'] = '{$a->reportinguser} hat einen Kommentar gemeldet m Die Meldung ist verfügbar unter: {$a->urltoreport}'; -$string['questionstitle'] = 'Fragen auf Seite '; +$string['questionstitle'] = 'Fragen auf Seite'; $string['noquestions'] = 'Keine Fragen auf dieser Seite!'; -$string['allquestionstitle'] = 'Alle Fragen in '; -$string['searchresults'] = 'Suchergebnisse '; +$string['allquestionstitle'] = 'Alle Fragen in'; +$string['searchresults'] = 'Suchergebnisse'; $string['nosearchresults'] = 'Keine Suchergebnisse gefunden.'; $string['newanswerhtml'] = 'Die von Ihnen abonnierte Frage "{$a->question}" wurde von {$a->answeruser} beantwortet mit dem Kommentar: <br /> <br /> "{$a->content}"<br /><br /> diff --git a/lang/en/pdfannotator.php b/lang/en/pdfannotator.php index 3b0fc604e53a34f2d5f43c8756e4a3f761021789..b1b8d8aefa5af7dfe21a6cfe7d625362dc3bf6f7 100644 --- a/lang/en/pdfannotator.php +++ b/lang/en/pdfannotator.php @@ -373,8 +373,8 @@ $string['reportaddedtext'] = '{$a->reportinguser} has reportet a comment with th It is available under: {$a->urltoreport}'; -$string['allquestionstitle'] = 'All questions in '; -$string['questionstitle'] = 'Questions on page '; +$string['allquestionstitle'] = 'All questions in'; +$string['questionstitle'] = 'Questions on page'; $string['noquestions'] = 'No questions on this page!'; $string['searchresults'] = 'Search results'; $string['nosearchresults'] = 'No search results found.'; diff --git a/shared/index.js b/shared/index.js index f57f89f14e3c84805c9c3d8ecdeaf6be816a073c..cacd31983978eeb0a66aa14a4982c8c88a379df1 100644 --- a/shared/index.js +++ b/shared/index.js @@ -6509,7 +6509,7 @@ function startIndex(Y,_cm,_documentObject,_userid,_capabilities, _toolbarSetting let container = document.querySelector('.comment-list-container'); let title = $('#comment-wrapper > h4')[0]; if(pattern === '') { - title.innerHTML = M.util.get_string('questionstitle','pdfannotator') + pageNumber; + title.innerHTML = M.util.get_string('questionstitle','pdfannotator') + ' ' + pageNumber; } else { title.innerHTML = M.util.get_string('searchresults','pdfannotator'); } @@ -6614,7 +6614,7 @@ function startIndex(Y,_cm,_documentObject,_userid,_capabilities, _toolbarSetting _PDFJSAnnotate2.default.getStoreAdapter().getQuestions(documentId).then(function(questions){ let container = document.querySelector('.comment-list-container'); let title = $('#comment-wrapper > h4')[0]; - title.innerHTML = M.util.get_string('allquestionstitle','pdfannotator') + questions.pdfannotatorname; + title.innerHTML = M.util.get_string('allquestionstitle','pdfannotator') + ' ' + questions.pdfannotatorname; container.innerHTML = '';