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':
node.insertBefore(document.createTextNode(value), node.firstChild);
break;
case 'text-append':
node.appendChild(document.createTextNode(value));
break;
case 'html':
node.insertAdjacentHTML('afterbegin', value);
break;

View File

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