Author: tchemit Date: 2014-05-14 14:47:00 +0200 (Wed, 14 May 2014) New Revision: 2829 Url: http://forge.nuiton.org/projects/jaxx/repository/revisions/2829 Log: fixes #3196 Modified: trunk/jaxx-compiler/src/main/java/jaxx/compiler/I18nHelper.java Modified: trunk/jaxx-compiler/src/main/java/jaxx/compiler/I18nHelper.java =================================================================== --- trunk/jaxx-compiler/src/main/java/jaxx/compiler/I18nHelper.java 2014-05-14 12:31:56 UTC (rev 2828) +++ trunk/jaxx-compiler/src/main/java/jaxx/compiler/I18nHelper.java 2014-05-14 12:47:00 UTC (rev 2829) @@ -87,6 +87,7 @@ if (log.isDebugEnabled()) { log.debug(" try i18n support for [" + widgetId + ":" + attributeName + "] : " + attributeValueCode); } + //FIXME-tchemit-2014-05-14 Should improve this, the i18n detection is not ok. if (!attributeValueCode.contains("t()") && attributeValueCode.contains("t(") && attributeValueCode.contains(")") && !attributeValueCode.contains(",")) { compiler.reportWarning("\n\tjaxx supports i18n, no need to add explicit call to I18n.t for attribute '" + attributeName + "' in component '" + widgetId + "' : [" + attributeValueCode + "]"); } else {
participants (1)
-
tchemit@users.nuiton.org