[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-devel
Subject:    Amarok scripting: how to get Amarok or KDE current language?
From:       Alexander Potashev <aspotashev () gmail ! com>
Date:       2010-09-16 16:49:42
Message-ID: AANLkTi=7mB1VgG3+kg=Ci-5=_OJH_3Zqrsmzj=iru25T () mail ! gmail ! com
[Download RAW message or body]

Hi,

The script Ultimate Lyrics
(http://kde-apps.org/content/show.php/Ultimate+Lyrics?content=108967)
has a bug: it does not use proper translations, because it relies upon
the QLocale.system().name() call, which returns the system locale. It
always returns "C" for me.

The best solution, I think, would be using the current Amarok
language. How can it be determined from an Amarok script (written in
JavaScript)?


-- 
Alexander Potashev
_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic