Blame dnf/module/__init__.py

Packit Service 21c75c
# Copyright (C) 2017  Red Hat, Inc.
Packit Service 21c75c
#
Packit Service 21c75c
# This program is free software; you can redistribute it and/or modify
Packit Service 21c75c
# it under the terms of the GNU General Public License as published by
Packit Service 21c75c
# the Free Software Foundation; either version 2 of the License, or
Packit Service 21c75c
# (at your option) any later version.
Packit Service 21c75c
#
Packit Service 21c75c
# This program is distributed in the hope that it will be useful,
Packit Service 21c75c
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 21c75c
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 21c75c
# GNU Library General Public License for more details.
Packit Service 21c75c
#
Packit Service 21c75c
# You should have received a copy of the GNU General Public License
Packit Service 21c75c
# along with this program; if not, write to the Free Software
Packit Service 21c75c
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Packit Service 21c75c
Packit Service 21c75c
from dnf.i18n import _
Packit Service 21c75c
Packit Service 21c75c
DIFFERENT_STREAM_INFO = 1
Packit Service 21c75c
NOTHING_TO_SHOW = 2
Packit Service 21c75c
INSTALLING_NEWER_VERSION = 4
Packit Service 21c75c
ENABLED_MODULES = 5
Packit Service 21c75c
NO_PROFILE_SPECIFIED = 6
Packit Service 21c75c
Packit Service 21c75c
module_messages = {
Packit Service 21c75c
    DIFFERENT_STREAM_INFO: _("Enabling different stream for '{}'."),
Packit Service 21c75c
    NOTHING_TO_SHOW: _("Nothing to show."),
Packit Service 21c75c
    INSTALLING_NEWER_VERSION: _("Installing newer version of '{}' than specified. Reason: {}"),
Packit Service 21c75c
    ENABLED_MODULES: _("Enabled modules: {}."),
Packit Service 21c75c
    NO_PROFILE_SPECIFIED: _("No profile specified for '{}', please specify profile."),
Packit Service 21c75c
}