HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/apparmor/translations.py
# ------------------------------------------------------------------
#
#    Copyright (C) 2014 Canonical Ltd.
#
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of version 2 of the GNU General Public
#    License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
import gettext

TRANSLATION_DOMAIN = 'apparmor-utils'

__apparmor_gettext__ = None

def init_translation():
    global __apparmor_gettext__
    if __apparmor_gettext__ is None:
        t = gettext.translation(TRANSLATION_DOMAIN, fallback=True)
        __apparmor_gettext__ = t.gettext
    return __apparmor_gettext__