tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

l10n.js (691B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 "use strict";
      6 
      7 const { LocalizationHelper } = require("resource://devtools/shared/l10n.js");
      8 const STRINGS_URI = "devtools/client/locales/responsive.properties";
      9 const L10N = new LocalizationHelper(STRINGS_URI);
     10 
     11 module.exports = {
     12  getStr: (...args) => L10N.getStr(...args),
     13  getFormatStr: (...args) => L10N.getFormatStr(...args),
     14  getFormatStrWithNumbers: (...args) => L10N.getFormatStrWithNumbers(...args),
     15  numberWithDecimals: (...args) => L10N.numberWithDecimals(...args),
     16 };