Skip to content

Fallback to using LC_CTYPE if LC_MESSAGES is empty and fix _language use#108

Merged
zdohnal merged 1 commit intoOpenPrinting:masterfrom
antlarr-suse:master
Jun 26, 2018
Merged

Fallback to using LC_CTYPE if LC_MESSAGES is empty and fix _language use#108
zdohnal merged 1 commit intoOpenPrinting:masterfrom
antlarr-suse:master

Conversation

@antlarr-suse
Copy link
Copy Markdown

On openSUSE, LC_MESSAGES is not set by default, so fallback to LC_CTYPE in
that case.

Also, self._language is not a list (unlike in other classes) but the language
itself, so if we get the first element, we would be getting the first letter,
not the language.

On openSUSE, LC_MESSAGES is not set by default, so fallback to LC_CTYPE in
that case.

Also, self._language is not a list (unlike in other classes) but the language
itself, so if we get the first element, we would be getting the first letter,
not the language.
@zdohnal zdohnal merged commit 256ffbc into OpenPrinting:master Jun 26, 2018
@zdohnal
Copy link
Copy Markdown
Member

zdohnal commented Jun 26, 2018

Hi,
I'm sorry for being late. Patch looks ok, thank you for creating it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants