Bug 1386085

Summary: L10N - Uncut sentence DepSolveProgressCallBack > pkg_added
Product: [Fedora] Fedora Reporter: jibecfed <jean-baptiste>
Component: dnfAssignee: rpm-software-management
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: akasurde, jmracek, mluscon, packaging-team-maint, pnemade, rpm-software-management, vmukhame
Target Milestone: ---Keywords: EasyFix, i18n, Triaged, UserExperience
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-10 15:51:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jibecfed 2016-10-18 05:49:19 UTC
I order to make a correct translation, can you please :
* split this sentence in 9 different sentences ?
* add a translator comment like the one you have in your code so we do not have to go search for it ;) "Print information about a package being added to the transaction set."

https://github.com/rpm-software-management/dnf/blob/master/dnf/cli/output.py#L1940

        Valid current values for *mode* are::
           i = the package will be installed
           u = the package will be an update
           e = the package will be erased
           r = the package will be reinstalled
           d = the package will be a downgrade
           o = the package will be obsoleting another package
           ud = the package will be updated
           od = the package will be obsoleted
        """
        modedict = {'i': _('installed'),
                    'u': _('an upgrade'),
                    'e': _('erased'),
                    'r': _('reinstalled'),
                    'd': _('a downgrade'),
                    'o': _('obsoleting'),
                    'ud': _('upgraded'),
                    'od': _('obsoleted'),
                    'dd': _('downgraded')}
        (n, a, evr) = (pkg.name, pkg.arch, pkg.evr)
        modeterm = modedict[mode]
        logger.debug(_('---> Package %s.%s %s will be %s'), n, a, evr,
modeterm)

Comment 1 Abhijeet Kasurde 2017-01-14 15:49:15 UTC
PR available for review - https://github.com/rpm-software-management/dnf/pull/710

Comment 2 Jaroslav Mracek 2017-02-10 15:51:45 UTC
Bugs fixed in version 2.0.1-1.