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

List:       kde-bugs-dist
Subject:    [i18n] [Bug 335161] [kf5] translation (pt_BR) of "Desktop %1" broken
From:       Thomas Lübking <thomas.luebking () gmail ! com>
Date:       2014-05-30 16:21:15
Message-ID: bug-335161-17878-ECPS2JfEhr () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=335161

--- Comment #21 from Thomas Lübking <thomas.luebking@gmail.com> ---
I don't think this string will be anywhere - it's rather some data bleeding
into the read config value.

virtualdesktop.cpp:334

- QString s = group.readEntry(QStringLiteral("Name_%1").arg(i), i18n("Desktop
%1", i));
+ QString s = i18n("Desktop %1", i);
+ qDebug() << "i18n: << s;
+ s = group.readEntry(QStringLiteral("Name_%1").arg(i), s); 
+ qDebug() << "value: << s << s.toUtf8() << s.toUtf8().data();

That junk should either come from i18n(), group.readEntry() or is ultimately
applied by
m_rootInfo->setDesktopName(i, s.toUtf8().data());

If the above debug outs are sane, it's writing the data onto the root window.

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

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