← Back to team overview

openlp-core team mailing list archive

Re: [Merge] lp:~crichter/openlp/i18n into lp:openlp

 

Hrm, this is fun. I suppose the plugin needs to define a list of strings?

in plugin.py:

class StringType(object):
    Open = u'open'
    Load = u'load'
    Save = u'save'
    SaveAs = u'saveas'
    Import = u'import'
    Export = u'export'

self.strings[StringType.Import] = {
    u'title': translate('SongsPlugin', 'Import'),
    u'tooltip': translate('SongsPlugin', 'Import songs'),
    u'': translate('SongsPlugin', 'Import songs from a number of sources.')
}

meh. this feels like overcomplicating things...
-- 
https://code.launchpad.net/~crichter/openlp/i18n/+merge/34593
Your team OpenLP Core is subscribed to branch lp:openlp.



Follow ups

References