Fixed typo "optinal" to "optional" for translation dictionary import dialog and 2 other occurrences

This commit is contained in:
christophnz
2023-06-17 21:48:38 +12:00
committed by Busra Sengul
parent 583965cf9d
commit 77a2e4b557
3 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
// needs Markdown.Converter.js at the moment
// needs Markdown.Converter.js at the moment
(function () {
@@ -1590,7 +1590,7 @@
};
// takes the line as entered into the add link/as image dialog and makes
// sure the URL and the optinal title are "nice".
// sure the URL and the optional title are "nice".
function properlyEncoded(linkdef) {
return linkdef.replace(/^\s*(.*?)(?:\s+"(.+)")?\s*$/, function (wholematch, link, title) {
link = link.replace(/\?.*$/, function (querypart) {