mozilla/pdf.js — pull request #3762 by timvandermeij (2013-10-02 19:11:26+00:00)
Title: Import l10n files from mozilla-aurora

This PR fixes #3242. The first commit adds a Makefile utility called `importl10n` (call: `node make importl10n`) that fetches the latest l10n files from mozilla-aurora. This implies that translations should now only be done at the central Mozilla repository and not here anymore. This avoids users translating strings here that are already translated by the Firefox team and makes sure that translations are always synchronized between Firefox and PDF.js.

The second commit is quite a huge one actually. It actually adds all new translations available on mozilla-aurora to our repository, thereby synchronizing both translations. It overwrites our files with the ones from mozilla-aurora, but I have kept our `metadata.inc` files because the Firefox team does not translate them. For all newly imported languages, the import command just copies the English `metadata.inc` file and changes the language code. This is done such that the extensions for all languages can be properly generated (I think the extension generator requires `metadata.inc` to be available for each available language, though I could be wrong here).

In the end, this PR gives PDF.js a great amount of new and improved translations and the Makefile command makes sure that synchronizing the translations in the future will be as simple as running the `node make importl10n` command and committing the result.

If you have any feedback, please let me know :-)