Currently, selecting the Chinese translation of FAS causes FAS to traceback, due to an bug in Python's gettext implementation (http://bugs.python.org/issue1448060). I'd like to hotfix this by replacing the Chinese MO file with a newer version. This is pretty low risk, since the Chinese translation can't become any more broken than it is now :-) Upstream commit: http://git.fedorahosted.org/git/?p=fas.git;a=commit;h=8a55ecb7d887014dabddc3ce23be53cff31b7c9c Puppet patch: diff --git a/modules/hotfix/files/fas/zh_CN.mo b/modules/hotfix/files/fas/zh_CN.mo new file mode 100644 index 0000000..dba956f Binary files /dev/null and b/modules/hotfix/files/fas/zh_CN.mo differ diff --git a/modules/hotfix/manifests/init.pp b/modules/hotfix/manifests/init.pp index 5e83163..179d687 100644 --- a/modules/hotfix/manifests/init.pp +++ b/modules/hotfix/manifests/init.pp @@ -14,6 +14,13 @@ class hotfix::python-fedora-fas2 { } class hotfix::fas { + file { "/usr/share/locale/zh_CN/LC_MESSAGES/fas.mo": + owner => "root", + group => "root", + mode => 0644, + source => "puppet:///hotfix/fas/zh_CN.mo", + requires => Package["fas"], + } } class hotfix::pkgdb { -- Thanks, Ricky
Attachment:
pgpgzycUNiFcY.pgp
Description: PGP signature
_______________________________________________ infrastructure mailing list infrastructure@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/infrastructure