summaryrefslogtreecommitdiff
path: root/docs/ref/utils.txt
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2015-10-07 10:46:08 +0200
committerClaude Paroz <claude@2xlibre.net>2015-10-07 17:25:23 +0200
commit9a6fc9606c028659daed56dd11a08e03db358fe4 (patch)
treee11402532097a161f3868f5f3b5cfe19917f1d01 /docs/ref/utils.txt
parenta76309f007fff6957f39190b06f8a9055f73130f (diff)
Added some function links in translation docs
Diffstat (limited to 'docs/ref/utils.txt')
-rw-r--r--docs/ref/utils.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 29564dddc4..f5b2331cad 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -1077,6 +1077,12 @@ For a complete discussion on the usage of the following see the
``override`` is also usable as a function decorator.
+.. function:: check_for_language(lang_code)
+
+ Checks whether there is a global language file for the given language
+ code (e.g. 'fr', 'pt_BR'). This is used to decide whether a user-provided
+ language is available.
+
.. function:: get_language()
Returns the currently selected language code. Returns ``None`` if