google-code-export / pidgin-musictracker

Automatically exported from code.google.com/p/pidgin-musictracker
GNU General Public License v2.0
1 stars 1 forks source link

Translations are not loaded properly. #238

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Pidgin-musictracker tries to load translation files as pidgin-musictracker.mo 
(as defined in PACKAGE variable) but yet using DOMAIN variable in 
po/Makefile.in.in (which is set to musictracker)

running a simple sed over that fixes the issue (installs translations as 
pidgin-musictracker.mo)

sed -i -e "s/DOMAIN/PACKAGE/g" po/Makefile.in.in

I'm also pasting strace output which helped to debug the issue.

open("/usr/share/locale/tr_TR.utf8/LC_MESSAGES/pidgin-musictracker.mo", 
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/tr_TR/LC_MESSAGES/pidgin-musictracker.mo", O_RDONLY) = 
-1 ENOENT (No such file or directory)
open("/usr/share/locale/tr.utf8/LC_MESSAGES/pidgin-musictracker.mo", O_RDONLY) 
= -1 ENOENT (No such file or directory)
open("/usr/share/locale/tr/LC_MESSAGES/pidgin-musictracker.mo", O_RDONLY) = -1 
ENOENT (No such file or directory)

Thanks in advance.

Regards,
Serkan KABA
Gentoo Developer

Original issue reported on code.google.com by serkank...@gmail.com on 18 Oct 2010 at 6:58