"""Minecraft Curse CLI Client"""

import gettext
from pathlib import Path

#: Consistent names definitions
RESOURCE_NAME = __package__

#: Root of the package
PKGDIR = Path(__file__).resolve().parent

#: Package data directory
PKGDATA = PKGDIR / '_data'

#: Root of the locale files
localedir = PKGDATA / 'locales'

#: Translation machinery for the app
translation = gettext.translation(
    domain=__package__,
    # Allow the locale files to be stored in system folder
    localedir=str(localedir) if localedir.is_dir() else None,
    fallback=True,
)
_ = translation.gettext

"""Minecraft Curse CLI Client"""

import gettext
from pathlib import Path

#: Consistent names definitions
RESOURCE_NAME = __package__

#: Root of the package
PKGDIR = Path(__file__).resolve().parent

#: Package data directory
PKGDATA = PKGDIR / '_data_'

#: Root of the locale files
localedir = PKGDATA / 'locales'

#: Translation machinery for the app
translation = gettext.translation(
    domain=__package__,
    # Allow the locale files to be stored in system folder
    localedir=str(localedir) if localedir.is_dir() else None,
    fallback=True,
)
_ = translation.gettext

Fix typo in PKGDATA path
Fix typo in PKGDATA path
