]>
git.ipfire.org Git - pakfire.git/blob - pakfire/i18n.py
4 The translation process of all strings is done in here.
10 A function that returnes the same string.
14 def _(singular
, plural
=None, n
=None):
16 A function that returnes the translation of a string if available.
18 The language is taken from the system environment.
20 if not plural
is None:
22 return gettext
.ldngettext("pakfire", singular
, plural
, n
)
24 return gettext
.ldgettext("pakfire", singular
)