# Path: Wammu/Locales.py
# def ugettext(message):
#     if _TRANSLATION:
#         if six.PY2:
#             return _TRANSLATION.ugettext(message)
#         return _TRANSLATION.gettext(message)
#     return message


import os
import sys
import getopt
    import Wammu
    import Wammu
import Wammu.Locales
    import win32api
    import win32con
    import Wammu.WammuSettings
    import Wammu.Utils
    import gammu
    import Wammu.App
from Wammu.Locales import ugettext as _
from __future__ import unicode_literals
from __future__ import print_function

try:
except ImportError:
    print('Failed to import Wammu module, trying to fix sys.path!')
    sys.path.append(
        os.path.join(
            os.path.dirname(__file__),
            '..', 'lib', 'python2.7', 'site-packages'
        )
    )
    sys.path.append(
        os.path.join(
            os.path.dirname(__file__),
            '..', 'lib', 'python2.7', 'dist-packages'
        )
    )

# Disable warning about missing files
# This can be caused by attempt to import Python modules, which don't
# have all DLLs satisfied.
if sys.platform.startswith('win'):
    win32api.SetErrorMode(win32con.SEM_NOOPENFILEERRORBOX)


def version():
    '''
    Displays version information.
    '''

# Path: Wammu/Locales.py
# def ugettext(message):
#     if _TRANSLATION:
#         if six.PY2:
#             return _TRANSLATION.ugettext(message)
#         return _TRANSLATION.gettext(message)
#     return message


# Path: wammu.py
import os
import sys
import getopt
    import Wammu
    import Wammu
import Wammu.Locales
    import win32api
    import win32con
    import Wammu.WammuSettings
    import Wammu.Utils
    import gammu
    import Wammu.App
from Wammu.Locales import ugettext as _

from __future__ import unicode_literals
from __future__ import print_function

try:
except ImportError:
    print('Failed to import Wammu module, trying to fix sys.path!')
    sys.path.append(
        os.path.join(
            os.path.dirname(__file__),
            '..', 'lib', 'python2.7', 'site-packages'
        )
    )
    sys.path.append(
        os.path.join(
            os.path.dirname(__file__),
            '..', 'lib', 'python2.7', 'dist-packages'
        )
    )

# Disable warning about missing files
# This can be caused by attempt to import Python modules, which don't
# have all DLLs satisfied.
if sys.platform.startswith('win'):
    win32api.SetErrorMode(win32con.SEM_NOOPENFILEERRORBOX)


def version():
    '''
    Displays version information.
    '''

    print(_('Wammu - Windowed Gammu version %s') % Wammu.__version__)