[Bug 1252243] [NEW] QLocale day of the week not translated on qt application
Giulian Gonçalves Vivan
giulian at gmail.com
Mon Nov 18 11:53:01 UTC 2013
Public bug reported:
Hello
I installed an Ubuntu 12.04 using Portuguese Brazil as default language
but seems that the QLocale class is not working.
With the attached code snippet (calls 'name()' and 'dayName(1)' from
'QLocale::system()') the expected output would be:
"pt_BR"
"segunda-feira"
But the actual output is:
"pt_BR"
"Monday"
I also tested the same code snippet on other versions of Ubuntu and it
worked as expected (tested on 10.04 and 13.10). Also installing
libqtcore4 from Ubuntu 12.10 the same snippet starts to work as
expected.
* To test the code snippet:
qmake
make
./test_locale
* Required commands outputs
lsb_release -rd
Description: Ubuntu 12.04.3 LTS
Release: 12.04
apt-cache policy libqtcore4
libqtcore4:
Instalado: 4:4.8.1-0ubuntu4.4
Candidato: 4:4.8.1-0ubuntu4.4
Tabela de versão:
*** 4:4.8.1-0ubuntu4.4 0
500 http://br.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
100 /var/lib/dpkg/status
4:4.8.1-0ubuntu4 0
500 http://br.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
** Affects: qt4-x11 (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "Code snippet to reproduce the bug"
https://bugs.launchpad.net/bugs/1252243/+attachment/3911676/+files/test_locale.tgz
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in Ubuntu.
https://bugs.launchpad.net/bugs/1252243
Title:
QLocale day of the week not translated on qt application
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1252243/+subscriptions
More information about the kubuntu-bugs
mailing list