summaryrefslogtreecommitdiffstats
path: root/comm/calendar/locales/l10n.toml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/calendar/locales/l10n.toml')
-rw-r--r--comm/calendar/locales/l10n.toml30
1 files changed, 30 insertions, 0 deletions
diff --git a/comm/calendar/locales/l10n.toml b/comm/calendar/locales/l10n.toml
new file mode 100644
index 0000000000..739e127863
--- /dev/null
+++ b/comm/calendar/locales/l10n.toml
@@ -0,0 +1,30 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+basepath = "../.."
+
+[env]
+ l = "{l10n_base}/{locale}/"
+
+[[paths]]
+ reference = "calendar/locales/en-US/**"
+ l10n = "{l}calendar/**"
+
+# Timezone properties don't have to be translated
+[[filters]]
+ path = "{l}calendar/chrome/calendar/timezones.properties"
+ key = "re:."
+ action = "warning"
+
+# Noun class entries do not have to be translated
+[[filters]]
+ path = "{l}calendar/chrome/calendar/calendar-event-dialog.properties"
+ key = "re:.*Nounclass[1-9].*"
+ action = "ignore"
+
+# most extraction related strings are not required
+[[filters]]
+ path = "{l}calendar/chrome/calendar/calendar-extract.properties"
+ key = "re:.*from\\.today.*"
+ action = "warning"