RyanofTinellb / Smeagol

A suite of programs for creating and maintaining a constructed language website.
http://www.tinellb.com
0 stars 0 forks source link

Language Class Names #22

Open RyanofTinellb opened 5 years ago

RyanofTinellb commented 5 years ago

In the method ready_radios() of the Editor class:

for radio, (code, language) in settings:
            radio.configure(text=language().name,
                            variable=self.languagevar,
                            value=code, command=self.change_language)

the language has to be initialised just to read its name. It would make more sense for the name to be a class attribute, as it is never used within the methods of the translator itself.