Do not linkify the namespace URI in 'uploadscriptednamespace' error message
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 19 Jan 2017 15:08:51 +0000 (16:08 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 19 Jan 2017 15:08:51 +0000 (16:08 +0100)
While namespace names look just like URLs, many of them (even valid ones)
do not actually represent viewable pages.

Change-Id: Ie5bf7c2662bb9ea5cdeb7506a1ee875c4d032dde

languages/i18n/en.json

index b86ca92..351ebe8 100644 (file)
        "uploaded-setting-handler-svg": "SVG that sets the \"handler\" attribute with remote/data/script is blocked. Found <code>$1=\"$2\"</code> in the uploaded SVG file.",
        "uploaded-remote-url-svg": "SVG that sets any style attribute with remote URL is blocked. Found <code>$1=\"$2\"</code> in the uploaded SVG file.",
        "uploaded-image-filter-svg": "Found image filter with URL: <code>&lt;$1 $2=\"$3\"&gt;</code> in the uploaded SVG file.",
-       "uploadscriptednamespace": "This SVG file contains an illegal namespace \"$1\".",
+       "uploadscriptednamespace": "This SVG file contains an illegal namespace \"<nowiki>$1</nowiki>\".",
        "uploadinvalidxml": "The XML in the uploaded file could not be parsed.",
        "uploadvirus": "The file contains a virus!\nDetails: $1",
        "uploadjava": "The file is a ZIP file that contains a Java .class file.\nUploading Java files is not allowed because they can cause security restrictions to be bypassed.",