isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burbach, Matthias" <Matthias.Burb...@tui.de>
Subject Translating enum values?
Date Tue, 29 Sep 2015 14:24:24 GMT
Hi,
I am trying to translate enum values like so, but it has no effect.

package domainapp.dom.simple;
...
public class Item implements Comparable<Item> {
...

//region > item group (property)
	public enum ItemGroup {
  KeyUser,
  Provider,
  Unit
	}
	private ItemGroup itemGroup;
    @javax.jdo.annotations.Column(allowsNull = "false")
    public ItemGroup getItemGroup() {return itemGroup;}
    public void setItemGroup(final ItemGroup itemGroup) {this.itemGroup =
itemGroup;}
    //endregion
...

}

file translations-en.po:
...
#: domainapp.dom.simple.Item$ItemGroup#KeyUser
msgid "Key User"
msgstr "Key User"
...


I am not sure if this feature exists at all or if am just using it
wrongly, there some hints out there but not very clear to me.

Regards,
Matthias


Mime
View raw message