[kalzium] [Bug 422564] New: Mismatch text between "Alkalie Metal" and "Alkaline earth metals"

Boyuan Yang bugzilla_noreply at kde.org
Sun Jun 7 04:48:25 BST 2020


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

            Bug ID: 422564
           Summary: Mismatch text between "Alkalie Metal" and "Alkaline
                    earth metals"
           Product: kalzium
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: kalzium at kde.org
          Reporter: 073plan at gmail.com
  Target Milestone: ---

SUMMARY

According to
https://github.com/KDE/kalzium/blob/a147c68a4eb8bbeebe286b77dec15e4e1375049f/src/elementdataviewer.cpp#L451
, there are "Alkalie Metal" and "Alkaline earth metals". The former one should
contain elements such as Li, Na, K and Rb. The latter one should contain
elements such as Be, Mg, Ca and Sr.

However, in
https://github.com/KDE/kalzium/blob/b8060ea167325609425587331d05d39959ba9d97/src/kalziumschemetype.cpp#L298-L301
, the source code matched Prefs::alkalie() with translatable string "Alkaline"
as well as Prefs::alkaline() with translatable string "Alkalie Metal". I'm not
sure if that is a typo (it should be).

This mismatch will also caused great confusion to the translators.



STEPS TO REPRODUCE
1. View the source code above.



OBSERVED RESULT

Pref::alkalie() matches with "Alkaline";
Pref::alkaline() matches with "Alkalie Metal";


EXPECTED RESULT

Pref::alkalie() matches with "Alkalie Metal";
Pref::alkaline() matches with "Alkaline Earch Metal";


SOFTWARE/OS VERSIONS

Any Kalzium release, no later than v2.5.0.
Any OS.


ADDITIONAL INFORMATION

N/A

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kalzium mailing list