Salome HOME
fin portage python 3
[tools/eficas.git] / Extensions / i18n.py
1 # -*- coding: iso-8859-1 -*-
2 # copyright 2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
3 # contact http://www.logilab.fr -- mailto:contact@logilab.fr
4 #
5 # This program is free software: you can redistribute it and/or modify it under
6 # the terms of the GNU Lesser General Public License as published by the Free
7 # Software Foundation, either version 2.1 of the License, or (at your option)
8 # any later version.
9 #
10 # This program is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 # FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13 # details.
14 #
15 # You should have received a copy of the GNU Lesser General Public License along
16 # with this program. If not, see <http://www.gnu.org/licenses/>.
17
18
19 """
20 This package provides Qt-based string internationalization functionality
21 for the ``Eficas`` application of EDF.
22 It is usable from both Qt and non-Qt environments.
23 ``PyQt4`` is currently supported.
24 """
25 from __future__ import absolute_import
26 from .translation import tr, tr_qt
27 from .localisation import localise
28
29 __all__ = ['tr', 'tr_qt', 'localise']