[Kalzium] [Bug 189630] Wish : Navigate in space and change the point of view after drawing a molecule
Marcus D. Hanwell
marcus at cryos.org
Thu Apr 16 18:43:10 CEST 2009
https://bugs.kde.org/show_bug.cgi?id=189630
--- Comment #9 from Marcus D. Hanwell <marcus cryos org> 2009-04-16 18:43:08 ---
Yes, I think this is a localization issue. I need to do some testing, but I
think this is fixed in KDE 4.3/trunk due to it being fixed at a more
fundamental level in the Avogadro library. I am not sure what the best way to
fix it in KDE 4.2 is, can I wrap the strings, i.e. i18n("Navigate"), or would
that require translation and introduce new strings? I am not sure how clever
i18n is about recognizing identical strings.
You could try replacing the lines I reference above with,
void MoleculeDialog::setViewEdit(int mode)
{
if (mode == 0) ui.glWidget->toolGroup()->setActiveTool(i18n("Navigate"));
else if (mode == 1) {
ui.glWidget->toolGroup()->setActiveTool(i18n("Draw"));
ui.glWidget->toolGroup()->activeTool()->readSettings(*m_drawSettings);
}
else if (mode == 2)
ui.glWidget->toolGroup()->setActiveTool(i18n("Measure"));
}
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kalzium
mailing list