Build: correct locale folders generated by Pontoon

Pontoon (the software we use to localize the extension) generates
folders with locale codes which are not the ones used by Chrome nor
Firefox. This change adds logic to the build process which changes these
locale codes to the correct ones, so browsers can recognize and use all

For now, we're transforming 'pt-rBR' to 'pt', since for now it is the
only locale with a wrong code. We use 'pt' instead of 'pt_BR' since we
want to use its strings for both Portuguese (Portugal) and Portuguese

Bug: twpowertools:40
Change-Id: If9ab8fc9646aa5252d3637fd8cf0fcdba11dffee
1 file changed
tree: b139adbe7a114f0c4084df8bc9327cf88d1e4ef1
  1. .clang-format
  2. .editorconfig
  3. .github/
  4. .gitignore
  5. .gitreview
  6. .zuul.yaml
  8. Makefile
  11. docs/
  12. i18n-config.toml
  13. package-lock.json
  14. package.json
  15. playbooks/
  16. roles/
  17. src/
  18. tagRelease.bash
  19. templates/
  20. tools/
  21. webpack.config.js

TW Power Tools

Available in the Chrome Web Store

An extension which brings several enhancements to the Google Forums and the Community Console.

For a list of features/enhancements, check out the feature list doc.

Information for contributors

This extension is being actively developed, and everyone is welcome to make feature requests, report issues and contribute code changes.

In order to make feature requests or report issues, please do so at the Monorail Issue Tracker:

To see a more exhaustive guide on how to contribute, and information on how to contribute code changes, please read the following doc:

Beta channel

Before releasing updates to the stable channel, the newest versions are uploaded to the beta channel so they can be tested by everyone who's interested. This is another way to contribute to the project, because beta testing can make us notice bugs before they reach the stable channel.

The beta channel for Chrome is available here.