Skip to content

Commit

Permalink
l10n: Fixed grammar
Browse files Browse the repository at this point in the history
Reported at Transifex.
  
Signed-off-by: rakekniven <[email protected]>
  • Loading branch information
rakekniven authored Feb 20, 2023
1 parent 074c87f commit 472d1ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/doku-wiki.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,17 @@ const loadHandler = function(frame, frameWrapper, callback) {
el.addEventListener('click', function(event) {
const href = event.target.getAttribute('href').replace(/^\/[^?]+\?id=(.*)$/, '$1');
OC.dialogs.alert(
t(appName, 'Links to wiki-pages are disabled in preview mode.'),
t(appName, 'Link to Wiki-Page') + ' "' + href + '"');
t(appName, 'Links to wiki pages are disabled in preview mode.'),
t(appName, 'Link to wiki page') + ' "' + href + '"');
event.stopPropagation();
}, true);
});
previewDiv.querySelectorAll('a[class^="media"]').forEach(el => {
el.addEventListener('click', function(event) {
const href = event.target.getAttribute('href').replace(/^\/[^?]+\?id=(.*)$/, '$1');
OC.dialogs.alert(
t(appName, 'Links to media-files are disabled in preview mode.'),
t(appName, 'Link to Wiki-Page') + ' "' + href + '"');
t(appName, 'Links to media files are disabled in preview mode.'),
t(appName, 'Link to wiki page') + ' "' + href + '"');
event.stopPropagation();
}, true);
});
Expand Down

0 comments on commit 472d1ed

Please sign in to comment.