Re: [PATCH] virt-aa-helper: translate error messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/30/2010 03:13 PM, Eric Blake wrote:
These messages are visible to the user, so they should be
consistently translated.

* cfg.mk (msg_gen_function): Add vah_error, vah_warning.
* src/security/virt-aa-helper.c: Translate messages.
(catchXMLError): Fix capitalization.
---

I noticed this sitting on one of my branches (since May!) thanks
to Jamie's recent apparmor patches.  Any objections?

Self-NACK - for translations to work, the locale has to be initialized at startup. Hmm - coreutils has a syntax-check that validates whether all the main() functions initialized the locale; I wonder why it's not being used in libvirt?

At any rate, v2 of this patch coming up soon once I play with the idea of getting syntax-check to catch locale initialization.

--
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]