options: localize the title
This commit is contained in:
parent
db83ce8dc3
commit
1df76c6929
|
@ -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;
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user