On Saturday, 10 August 2013 12:42:47 CEST, Pali Rohár wrote:
In this case when plugin metadata will be stored separatly, it still does not solve problem when user uninstall (or remove or upgrading ...) plugin together with metadata file. So metadata content needs to be stored in trojita config file (or some other cache). And I think it is easier to store 2 other utf8 strings (one for addressbook description and one for password) to trojita config file as creating some api for storing some metadata cache to trojita config
file...

I'm fine with showing a tr("Cannot find plugin \"%1\"").arg(internalId) when the plugin was uninstalled. That should be a corner case not worth the extra code, IMHO.

I agree with Kevin's opinion on not using untranslated strings anywhere in the UI, but this is a fine example of a situation where an exception makes sense, IMHO.

Jan

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Reply via email to