开发者

i18n jira problems

开发者 https://www.devze.com 2023-01-12 16:23 出处:网络
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

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

精彩评论

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