Patch #1022152: add required 'domain' argument to gettext.translation() examples.

This commit is contained in:
Johannes Gijsbers 2004-09-11 17:33:25 +00:00
parent d345225ae5
commit 2014c033f7
1 changed files with 3 additions and 3 deletions

View File

@ -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()