pbutils: save localised strings properly when writing encoding targets to a file
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 16 Jan 2011 16:46:22 +0000 (16:46 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 16 Jan 2011 16:59:32 +0000 (16:59 +0000)
commitc40fdbf5523346018313dac5024e1678463c292c
treead04707be66a0c707ef1f21ff7b47068760b2caf
parentadb84c6dae9485b712685ea014b96f21250e1fbf
pbutils: save localised strings properly when writing encoding targets to a file

Use LC_MESSAGES rather than LC_ALL. Save/load description as untranslated string
when using an English language locale. Strip locale information to the language,
so we don't save keys like description[fr_FR.UTF-8]=...

https://bugzilla.gnome.org/show_bug.cgi?id=638860
gst-libs/gst/pbutils/encoding-target.c