openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #01639
Re: [Merge] lp:~crichter/openlp/i18n into lp:openlp
Review: Needs Fixing
I agree with Tim, we shouldn't use "getter" methods, the variable is right there. In fact, you're using the get_display_name() over the MediaItem's title, which I think should be translatable itself.
As I mentioned previously in IRC, we should rather set a self.display_name variable in the constructor of the plugin, and make it translatable right there.
You have the right idea, we just need to implement it in a different way.
--
https://code.launchpad.net/~crichter/openlp/i18n/+merge/26126
Your team OpenLP Core is subscribed to branch lp:openlp.
References