HEX
Server: nginx/1.18.0
System: Linux mail.dakarash.co.id 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User: www-data (33)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: //usr/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__