Dear MITK users,

I am adding new plugins to MITK and need to get their localized names to
display in menu.

After some search this lines of code were found:

MITK/Plugins/org.blueberry.core.runtime/src/registry/berryIExtension.h

/**
* Returns a displayable label for this extension.
* Returns the empty string if no label for this extension
* is specified in the extension manifest file.
* <p> Note that any translation specified in the extension manifest
* file is automatically applied.
* <p>
*
* @return a displayable string label for this extension,
* possibly the empty string
* @throws InvalidRegistryObjectException if this extension is no longer
valid
*/
virtual QString GetLabel() const = 0;


But it is not clear how translation should be specified in manifest file.
And I can't find any examples of such functionality being used.
How can i achieve getting localized label from this function?

I really appreciate any help you can provide.

-- 
Artem Burjachenko
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to