[vlc-devel] commit: Add some fallback for language we have a translation ( Christophe Mutricy )
remi at remlab.net
Tue Sep 8 11:00:45 CEST 2009
On Tue, 8 Sep 2009 10:58:29 +0200, jpd at videolan.org wrote:
> On Mon, Sep 07, 2009 at 10:40:53PM +0200, git version control wrote:
>> vlc | branch: master | Christophe Mutricy <xtophe at videolan.org>
>> /* Arabic (ISO-8859-6) */
>> - if (!locale_match ("ar", locale))
>> + static const char arabic = "ar" "ckb" "fa";
>> + if (!locale_match (arabic, locale))
> This'll end up with arabic=="arckbfa" and I wonder just how
> knows which languages have two letters and which have three. That is,
> looks like data dependent ambiguities.
It simply does not. locale_match() only supports two letters locales.
More information about the vlc-devel