LEFT | RIGHT |
(Both sides are equal) |
1 const translate = { | 1 const translate = { |
2 get: function(key) { | 2 get: function(key) { |
3 try { | 3 try { |
4 return this.substring(this.values[key].replace(/"/g, '\\
"')); //The replace is to fix the issue with " and eval | 4 return this.substring(this.values[key].replace(/"/g, '\\
"')); //The replace is to fix the issue with " and eval |
5 } | 5 } |
6 catch(e) {} | 6 catch(e) {} |
7 return 'ERROR'; | 7 return 'ERROR'; |
8 }, | 8 }, |
9 substring: function(value) { | 9 substring: function(value) { |
10 try { | 10 try { |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 'update_old':'Over a month ago', | 126 'update_old':'Over a month ago', |
127 //Intervals (milliseconds) | 127 //Intervals (milliseconds) |
128 'interval_title':'Update frequency', | 128 'interval_title':'Update frequency', |
129 'interval_43200000':'Every 12 hours', | 129 'interval_43200000':'Every 12 hours', |
130 'interval_86400000':'Daily', | 130 'interval_86400000':'Daily', |
131 'interval_172800000':'Every 2 days', | 131 'interval_172800000':'Every 2 days', |
132 'interval_604800000':'Weekly', | 132 'interval_604800000':'Weekly', |
133 'interval_2592000000':'Monthly' | 133 'interval_2592000000':'Monthly' |
134 } | 134 } |
135 } | 135 } |
LEFT | RIGHT |