From f87f3171cc8467aed6d52a054c473fbb0da128fc Mon Sep 17 00:00:00 2001 From: Steve Jalim Date: Tue, 26 Apr 2022 15:47:05 +0100 Subject: [PATCH] Initial laying in of l10n-pocket directory and config files --- l10n-pocket/README.md | 1 + l10n-pocket/configs/vendor.toml | 26 ++++++++++++++++++++++++++ l10n-pocket/en/.gitkeep | 0 l10n-pocket/l10n-vendor.toml | 10 ++++++++++ 4 files changed, 37 insertions(+) create mode 100644 l10n-pocket/README.md create mode 100644 l10n-pocket/configs/vendor.toml create mode 100644 l10n-pocket/en/.gitkeep create mode 100644 l10n-pocket/l10n-vendor.toml diff --git a/l10n-pocket/README.md b/l10n-pocket/README.md new file mode 100644 index 00000000000..33905f2a55d --- /dev/null +++ b/l10n-pocket/README.md @@ -0,0 +1 @@ +For Pocket pages, all translations are handled by a vendor, rather than the community. diff --git a/l10n-pocket/configs/vendor.toml b/l10n-pocket/configs/vendor.toml new file mode 100644 index 00000000000..1825a1ea674 --- /dev/null +++ b/l10n-pocket/configs/vendor.toml @@ -0,0 +1,26 @@ +# All content handled by the vendor or Mozilla staff should +# be covered by the [[paths]] in this file, with the relevant locales. + +basepath = ".." + +locales = [ + "de", + "en", + "es-ES", + "fr-CA", + "fr", + "it", + "ja", + "ko", + "nl", + "pl", + "pt-BR", + "pt-PT", + "ru", + "zh-CN", + "zh-TW", +] + +[[paths]] + reference = "en/**/*.ftl" + l10n = "{locale}/**/*.ftl" diff --git a/l10n-pocket/en/.gitkeep b/l10n-pocket/en/.gitkeep new file mode 100644 index 00000000000..e69de29bb2d diff --git a/l10n-pocket/l10n-vendor.toml b/l10n-pocket/l10n-vendor.toml new file mode 100644 index 00000000000..a30540c54d3 --- /dev/null +++ b/l10n-pocket/l10n-vendor.toml @@ -0,0 +1,10 @@ +# Entrypoint for vendor and staff localization. +# Edits to add content for l10n should be made in configs/vendor.toml + +basepath = "." + +[[includes]] + path = "configs/vendor.toml" + +# [[excludes]] +# path = "configs/special-templates.toml"