From 472d1ed740ad793067d13cd3201d0ae8a9bf8032 Mon Sep 17 00:00:00 2001 From: rakekniven <2069590+rakekniven@users.noreply.github.com> Date: Mon, 20 Feb 2023 18:23:02 +0100 Subject: [PATCH] l10n: Fixed grammar Reported at Transifex. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> --- src/doku-wiki.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/doku-wiki.js b/src/doku-wiki.js index 5578b98..3772a04 100644 --- a/src/doku-wiki.js +++ b/src/doku-wiki.js @@ -60,8 +60,8 @@ 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); }); @@ -69,8 +69,8 @@ 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 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); });