Browse Source

overcome a transifex bug with translation of one string

pull/40/head
czaks 10 years ago
parent
commit
31097b89d1
  1. 2
      js/options/user-css.js
  2. 2
      js/options/user-js.js

2
js/options/user-css.js

@ -43,7 +43,7 @@ var apply_css = function() {
var update_textarea = function() {
if (!localStorage.user_css) {
textarea.text("/* "+_("Enter here your own CSS rules...")+" */\n" +
"/* "+_("If you want to make a redistributable style, be sure to\n have a Yotsuba B theme selected.")+" */\n" +
"/* "+_("If you want to make a redistributable style, be sure to\nhave a Yotsuba B theme selected.")+" */\n" +
"/* "+_("You can include CSS files from remote servers, for example:")+" */\n" +
'@import "http://example.com/style.css";');
}

2
js/options/user-js.js

@ -52,7 +52,7 @@ var apply_js = function() {
var update_textarea = function() {
if (!localStorage.user_js) {
textarea.text("/* "+_("Enter here your own Javascript code...")+" */\n" +
"/* "+_("Have a backup of your storage somewhere, as messing here\n may render you this website unusable.")+" */\n" +
"/* "+_("Have a backup of your storage somewhere, as messing here\nmay render you this website unusable.")+" */\n" +
"/* "+_("You can include JS files from remote servers, for example:")+" */\n" +
'load_js("http://example.com/script.js");');
}

Loading…
Cancel
Save