equal
deleted
inserted
replaced
8 return false; |
8 return false; |
9 if ( typeof(enano_lang[lang_id]) != 'object' ) |
9 if ( typeof(enano_lang[lang_id]) != 'object' ) |
10 return false; |
10 return false; |
11 this.strings = enano_lang[lang_id]; |
11 this.strings = enano_lang[lang_id]; |
12 this.lang_id = lang_id; |
12 this.lang_id = lang_id; |
|
13 this.placeholder = false; |
13 |
14 |
14 this.get = function(string_id, subst) |
15 this.get = function(string_id, subst) |
15 { |
16 { |
16 var catname = string_id.substr(0, string_id.indexOf('_')); |
17 var catname = string_id.substr(0, string_id.indexOf('_')); |
17 var string_name = string_id.substr(string_id.indexOf('_') + 1); |
18 var string_name = string_id.substr(string_id.indexOf('_') + 1); |
46 return str; |
47 return str; |
47 } |
48 } |
48 |
49 |
49 } |
50 } |
50 |
51 |
51 var $lang; |
52 var $lang = { |
|
53 get: function(t) { return t; }, |
|
54 placeholder: true |
|
55 }; |
52 |
56 |
53 var language_onload = function() |
57 var language_onload = function() |
54 { |
58 { |
55 if ( typeof(enano_lang) != 'object' ) |
59 if ( typeof(enano_lang) != 'object' ) |
56 { |
60 { |