Skip to content

Commit

Permalink
Add missing translation hooks for ignored -c option message.
Browse files Browse the repository at this point in the history
  • Loading branch information
james-antill committed Sep 6, 2013
1 parent c4f244e commit 23fcae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,11 @@ def getOptionsConfig(self, args):
if opts.verbose:
opts.debuglevel = opts.errorlevel = 6
if opts.debuglevel != pc.debuglevel or opts.errorlevel != pc.errorlevel:
self.logger.warning("Ignored option -q, -v, -d or -e (probably due to merging: -yq != -y -q)")
self.logger.warning(_("Ignored option -q, -v, -d or -e (probably due to merging: -yq != -y -q)"))
# getRoot() changes it, but then setupYumConfig() changes it back. So
# don't test for this, if we are using --installroot.
if root == '/' and opts.conffile != pc.fn:
self.logger.warning("Ignored option -c (probably due to merging -yc != -y -c)")
self.logger.warning(_("Ignored option -c (probably due to merging -yc != -y -c)"))

if opts.version:
self.conf.cache = 1
Expand Down

0 comments on commit 23fcae6

Please sign in to comment.