Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562360 - x11-terms/lilyterm-0.9.9.4 should use the binary name instead of the package name for .mo files
Summary: x11-terms/lilyterm-0.9.9.4 should use the binary name instead of the package ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-10-06 05:16 UTC by Oleh
Modified: 2015-10-06 05:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for correct gettext entry (lilyterm-0.9.9.4-locale.patch,427 bytes, patch)
2015-10-06 05:17 UTC, Oleh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2015-10-06 05:16:56 UTC
As example for a sk locale:

The lilyterm install the sk translation into:
/usr/share/locale/sk/LC_MESSAGES/LilyTerm.mo

but the binary reads it from:
/usr/share/locale/sk/LC_MESSAGES/lilyterm.mo

and hence the GUI is not localized.
This is caused by error in configure.ac 

Reproducible: Always

Steps to Reproduce:
1. emerge x11-terms/lilyterm, assuming an sk locale LINGUAS set.
2. run lilyterm and notice that GUI is not localized
3. run strace and see that binary trying to look for upper-case lilyterm.mo
Comment 1 Oleh 2015-10-06 05:17:50 UTC
Created attachment 413856 [details, diff]
patch for correct gettext entry
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-10-06 05:32:12 UTC
Fixed in -r1. Thanks for the patch.