options: localize the title

This commit is contained in:
tophf 2017-04-10 09:47:09 +03:00
parent db83ce8dc3
commit 1df76c6929
2 changed files with 4 additions and 1 deletions

View File

@ -56,6 +56,9 @@ function tNodeList(nodes) {
case 'text': case 'text':
node.insertBefore(document.createTextNode(value), node.firstChild); node.insertBefore(document.createTextNode(value), node.firstChild);
break; break;
case 'text-append':
node.appendChild(document.createTextNode(value));
break;
case 'html': case 'html':
node.insertAdjacentHTML('afterbegin', value); node.insertAdjacentHTML('afterbegin', value);
break; break;

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html id="stylus"> <html id="stylus">
<head> <head>
<title>Stylus Options</title> <title i18n-text-append="optionsHeading">Stylus </title>
<link rel="stylesheet" href="index.css"> <link rel="stylesheet" href="index.css">
<script src="/dom.js"></script> <script src="/dom.js"></script>
<script src="/localization.js"></script> <script src="/localization.js"></script>