summaryrefslogtreecommitdiff
path: root/data/js
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2016-01-16 09:49:06 +0100
committerYorhel <git@yorhel.nl>2016-01-16 09:50:20 +0100
commitca1a9c48c24a436babd30ad9e315db2781364879 (patch)
tree76061fd02d94e55e71b11d5115d8327df53119cb /data/js
parent0f9b6a13621adfe7d7410bfecab86ab2ee85877c (diff)
L10N: Remove all translations
TODO: Intern strings again to simplify the code. The immediate effect of this commit is that starting the util/vndb.pl script and generating the JS file is much faster now and that vndb.pl uses less memory. Translations have already been disabled on the main VNDB for a week now.
Diffstat (limited to 'data/js')
-rw-r--r--data/js/misc.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/data/js/misc.js b/data/js/misc.js
index 688d063b..a758b191 100644
--- a/data/js/misc.js
+++ b/data/js/misc.js
@@ -265,26 +265,6 @@ if(byId('not') && byId('vns'))
})();
-// Language selector
-(function(){
- var d = byId('lang_select');
- var flag = byName(d, 'abbr')[0];
- ddInit(d, 'bottom', function(lnk) {
- var lst = tag('ul', null);
- for(var i=0; i<VARS.l10n_lang.length; i++) {
- var ln = VARS.l10n_lang[i];
- var icon = tag('abbr', {'class':'icons lang '+ln[0]}, ' ');
- lst.appendChild(tag('li', {'class':'lang_selector'}, hasClass(flag, ln[0])
- ? tag('i', icon, ln[1])
- : tag('a', {href:'/setlang?lang='+ln[0]+';ref='+encodeURIComponent(location.pathname+location.search)}, icon, ln[1])
- ));
- }
- return lst;
- });
- d.onclick = function() {return false};
-})();
-
-
// "check all" checkbox
(function(){
function set() {