Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: locales/en/files/translate.js

Issue 8493027: Acquired Opera AdBlock code (Closed)
Left Patch Set: Created Oct. 2, 2012, 1:15 p.m.
Right Patch Set: Created Oct. 8, 2012, 5:58 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « index.html ('k') | options.html » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(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
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 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld