diff options
author | Johannes Gijsbers <jlg@dds.nl> | 2004-09-11 17:33:25 (GMT) |
---|---|---|
committer | Johannes Gijsbers <jlg@dds.nl> | 2004-09-11 17:33:25 (GMT) |
commit | 2014c033f7e17ca240192bb86a4f9f7fe81063e6 (patch) | |
tree | ca39c71093a2877419609a8d8cb3ec53ba25f870 /Doc/lib | |
parent | d345225ae51874b036662e4d1ed0f3f25257661e (diff) | |
download | cpython-2014c033f7e17ca240192bb86a4f9f7fe81063e6.zip cpython-2014c033f7e17ca240192bb86a4f9f7fe81063e6.tar.gz cpython-2014c033f7e17ca240192bb86a4f9f7fe81063e6.tar.bz2 |
Patch #1022152: add required 'domain' argument to gettext.translation() examples.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libgettext.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libgettext.tex b/Doc/lib/libgettext.tex index 57d09d0..593d964 100644 --- a/Doc/lib/libgettext.tex +++ b/Doc/lib/libgettext.tex @@ -632,9 +632,9 @@ between them explicitly, like so: \begin{verbatim} import gettext -lang1 = gettext.translation(languages=['en']) -lang2 = gettext.translation(languages=['fr']) -lang3 = gettext.translation(languages=['de']) +lang1 = gettext.translation('myapplication', languages=['en']) +lang2 = gettext.translation('myapplication', languages=['fr']) +lang3 = gettext.translation('myapplication', languages=['de']) # start by using language1 lang1.install() |