[Kde-i18n-pt_br] [i18n] [Bug 335161] [kf5] translation (pt_BR) of "Desktop %1" broken

Thomas Lübking thomas.luebking em gmail.com
Sexta Maio 30 16:21:15 UTC 2014


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

--- Comment #21 from Thomas Lübking <thomas.luebking em 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 the assignee for the bug.


Mais detalhes sobre a lista de discussão Kde-i18n-pt_br