aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/i18n-return.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/snippets/i18n-return.md b/docs/markdown/snippets/i18n-return.md
new file mode 100644
index 0000000..1f732af
--- /dev/null
+++ b/docs/markdown/snippets/i18n-return.md
@@ -0,0 +1,6 @@
+## i18n module now returns gettext targets
+
+`r = i18n.gettext('mydomain')` will now provide access to:
+- a list of built .mo files
+- the mydomain-pot maintainer target which updates .pot files
+- the mydomain-update-po maintainer target which updates .po files