开发者

i18n jira problems

im not sure if its a jira problem or me not doing it properly, the latter more likely!

I have a file properties file called rootcause it is in a directory sturcture net/mycompany/rootcauseanalysis

in my jira atlassian-plugin.xml file I have

<resource type="i18n" name="i18n" location="net.mycompany.rootcauseanalysis.rootcause"/>

in my properties file I have properties defined l开发者_StackOverflow中文版ike

rootcause.name=My plugin

in my java file which extends JiraWebActionSupport i use

String str=getText("rootcause.name");

when I print this out I get rootcause.name instead of the My plugin value I was expecting to get.

I have tried troubleshooting this problem by changing directory structure, file names, property names, using " and ' running out of ideas now!


done it :D

This is a hack I found on the forums solved my problem

http://forums.atlassian.com/thread.jspa?messageID=257351842&#257351842

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜