Blame dnf/module/__init__.py

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