Hi,
I’m trying to get AJS.I18n.get('de.cyclonit.confluence.plugins.test.test-macro.desc') to work in my plugin, but instead of getting the value I get the following error:
Error loading I18n for de.cyclonit.confluence.plugins.test.test-macro.desc:error
The relevant part of my atlassian-plugin.xml looks like this:
<web-resource key="test-resources" name="Test Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<transformation extension="js">
<transformer key="jsI18n" />
</transformation>
<resource type="download" name="test-macro-browser.js" location="/js/test-macro-browser.js"/>
<context>macro-browser</context>
</web-resource>
my test-macro-browser-js:
AJS.toInit(function() {
alert(AJS.I18n.get('de.cyclonit.confluence.plugins.test.test-macro.desc'));
});
and my test.properties:
de.cyclonit.confluence.plugins.test.test-macro.desc = Testing
Can anyone tell me what I’m doing wrong?