#!/usr/bin/python3
"""
Copyright (C) 2017-2018 [RnD]²

This file is part of cpupower-gui.

cpupower-gui is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

cpupower-gui is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with cpupower-gui.  If not, see <http://www.gnu.org/licenses/>.

Author: Evangelos Rigas <erigas@rnd2.org>
"""

import locale
import gettext

localedir = '/usr/share/locale'

locale.bindtextdomain('cpupower-gui', localedir)
locale.textdomain('cpupower-gui')
gettext.bindtextdomain('cpupower-gui', localedir)
gettext.textdomain('cpupower-gui')

if __name__ == "__main__":
    from cpupower_gui import __main__
    __main__.main()
