[FZH] yum问题说明

Alick Zhao alick9188 at gmail.com
Fri Aug 3 01:37:04 UTC 2012


On Fri, 03 Aug 2012 09:04:05 +0800, Alick Zhao wrote:
>
> Transifex 上的资源还写着 3-2-x,而 Fedora 16 的 yum 版本已经是
> 3.4.3,这里有一定不一致,不知是否 Transifex 上的资源许久没有更新?

我报虚警了,sorry。

我 git clone 了一份 yum 代码库,比对了 transifex 上的 pot 和仓库里的
pot 文件,发现它和 master 分支的 pot 文件的 Pot-Creation-Date 一致,
所以应该是最新的。

>
> 这个(英文)字串的确奇怪,那么多 %s。最好看下源码和上下文确定具体含义。
>

下面是源码上下文(output.py:1710 附近)

             hibeg = self.term.MODE['bold']
             hiend = self.term.MODE['normal']
             # For translators: This is output like:
#  Current download cancelled, interrupt (ctrl-c) again within two seconds
# to exit.
             # Where "interupt (ctrl-c) again" and "two" are highlighted.
             msg = _("""
  Current download cancelled, %sinterrupt (ctrl-c) again%s within %s%s%s 
seconds
to exit.
""") % (hibeg, hiend, hibeg, delta_exit_str, hiend)
             self.verbose_logger.log(logginglevels.INFO_2, msg)



-- 
alick
Fedora 16 (Verne) user
https://fedoraproject.org/wiki/User:Alick


More information about the Chinese mailing list