# -*- coding: utf-8 -*-
# vim: ts=4 
###
#
# Copyright (c) 2010 J. Félix Ontañón
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation
#
# This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
#
# Authors : J. Félix Ontañón <fontanon@emergya.es>
# 
###

from devicefinder import DeviceFinder, get_subsystems

import gettext
import locale
import __builtin__
__builtin__._ = gettext.gettext

# i18n
gettext.install('udevdiscover', '/usr/share/locale', unicode=1)

gettext.bindtextdomain('udevdiscover', '/usr/share/locale')
if hasattr(gettext, 'bind_textdomain_codeset'):
    gettext.bind_textdomain_codeset('udevdiscover','UTF-8')
gettext.textdomain('udevdiscover')

locale.bindtextdomain('udevdiscover', '/usr/share/locale')
if hasattr(locale, 'bind_textdomain_codeset'):
    locale.bind_textdomain_codeset('udevdiscover','UTF-8')
locale.textdomain('udevdiscover')
