Pkgmgr's wgt backendlib - fixing name locale for package
authorTomasz Iwanek <t.iwanek@samsung.com>
Mon, 12 Aug 2013 11:20:39 +0000 (13:20 +0200)
committerSoo-Hyun Choi <sh9.choi@samsung.com>
Wed, 14 Aug 2013 03:04:40 +0000 (12:04 +0900)
commitd68e39ecab8753cb2814239810b7014bb808b1b8
tree7dccf8ae3196d1d26611e009d0775951edbcf9a5
parent92e6d0cfd7aef62480a9fe0074d3c87bbc2e516d
Pkgmgr's wgt backendlib - fixing name locale for package

[Issue#]       LINUXWRT-792 / WGL-406
[Bug]          Locale isn't correctly dipatched
[Cause]        Lookup should be done without subtags too
               (that wasn't fixed when writing LocalisationTagsSingleton).
[Solution]     Use code from localisation module
[Verification] Try to install widget ta-de-004.wgt (located in wrt-extra)
               from myfiles app (copy file to /opt/usr/media/Others/).
               Displayed widget name in popup should be "PASS".

Change-Id: I4468619e441f32f1d744bba4eba08a8579fbe403
src/pkg-manager/backendlib.cpp