4af263c2bbf6141aacefaccac32ec4b54fbc9e1e
[platform/upstream/ibus.git] / ibus / _config.py.in
1 # vim:set et sts=4 sw=4:
2 #
3 # ibus - The Input Bus
4 #
5 # Copyright (c) 2007-2008 Huang Peng <shawn.p.huang@gmail.com>
6 # Copyright (c) 2007-2008 Red Hat, Inc.
7 #
8 # This library is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU Lesser General Public
10 # License as published by the Free Software Foundation; either
11 # version 2 of the License, or (at your option) any later version.
12 #
13 # This library is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU Lesser General Public License for more details.
17 #
18 # You should have received a copy of the GNU Lesser General Public
19 # License along with this program; if not, write to the
20 # Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21 # Boston, MA  02111-1307  USA
22
23 __all__ = (
24     "get_version",
25     "get_copyright",
26     "get_license"
27 )
28
29 import gettext
30
31 _ = lambda a: gettext.dgettext("ibus", a)
32
33 def get_version():
34         return '@PACKAGE_VERSION@'
35
36 def get_copyright():
37     return _('''Copyright (c) 2007-2009 Peng Huang
38 Copying (c) 2007-2009 Red Hat, Inc.''')
39
40 def get_license():
41     return 'LGPL'