Bug 402297 - Avogadro styles are shown untranslated in the Molecule Editor
Summary: Avogadro styles are shown untranslated in the Molecule Editor
Status: REPORTED
Alias: None
Product: kalzium
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Kalzium Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-18 12:51 UTC by Yuri Chornoivan
Modified: 2019-01-07 05:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Chornoivan 2018-12-18 12:51:41 UTC
SUMMARY
Currently, style names in src/tools/moleculeview.cpp are hardcoded so it is difficult to build the one-to-one correspondence between Avogadro style names (can be translated) and Kalzium styles (currently untranslatable).

Some ideas on the solution can be found here:

https://phabricator.kde.org/D17494

STEPS TO REPRODUCE
1. Use "Tools -> Molecule Editor" from the Kalzium main menu.
2. Unfold the "Style:" combobox.

OBSERVED RESULT
Untranslated "Ball and Stick", "Licorice"... items.

EXPECTED RESULT
Translated items (via Kalzium or, better, Avogadro itself) if you are using non-en locale.

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION