l10n.eclass: Disabled locales are the complement of enabled ones.
authorUlrich Müller <ulm@gentoo.org>
Fri, 12 Jan 2018 21:31:04 +0000 (22:31 +0100)
committerUlrich Müller <ulm@gentoo.org>
Fri, 19 Jan 2018 09:15:30 +0000 (10:15 +0100)
commit89b97dce78f2fb9a4ed646c7110f06f36cb0346a
tree8c854388c286238bf2dde2626a0b410489d00516
parent39894a0f840c2984c4d9992dea1d656f4d6d1d75
l10n.eclass: Disabled locales are the complement of enabled ones.

Disabled locales returned by l10n_get_locales() should be the
complement of enabled locales: disabled = PLOCALES \ enabled.

So far, in the case of the enabled set falling back to PLOCALE_BACKUP,
the backup locale would end up being both enabled and disabled.

Closes: https://bugs.gentoo.org/547790
eclass/l10n.eclass