diff --git a/webv4/lib/locale/en_us.js b/webv4/lib/locale/en_us.js index 7a8c8dd2c15d316ca4f1ac001bbb28312ef19fd8..8e6746bed9cc3a1d71035c8172861f4e2e88e246 100644 --- a/webv4/lib/locale/en_us.js +++ b/webv4/lib/locale/en_us.js @@ -63,6 +63,10 @@ EN_US.prototype.group_numbers = function (n) { ).split('').reverse().join('') + (d > -1 ? n.substring(d) : ''); } +EN_US.prototype.get = function (str, sec) { + return this.strings[sec || this.section][str]; +} + EN_US.prototype.write = function (str, sec) { write(this.strings[sec || this.section][str]); }