From: <fg...@us...> - 2010-05-03 09:38:35
|
Revision: 2336 http://openutils.svn.sourceforge.net/openutils/?rev=2336&view=rev Author: fgiust Date: 2010-05-03 09:38:29 +0000 (Mon, 03 May 2010) Log Message: ----------- CONTROLS-22 load i18n labels with default Modified Paths: -------------- trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl Modified: trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl =================================================================== --- trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl 2010-05-03 08:56:33 UTC (rev 2335) +++ trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl 2010-05-03 09:38:29 UTC (rev 2336) @@ -112,7 +112,7 @@ [#list configuration.columns?values as colmap] [#if (colmap.type?? && colmap.type = 'checkbox')] checkColumns.push(new Ext.grid.CheckColumn({ - header: '${msgs.get(colmap.header?js_string)}', + header: '${msgs.getWithDefault(colmap.header?js_string, colmap.header?js_string)}', dataIndex: '${colmap_index}', width: 40 })); @@ -126,7 +126,7 @@ checkColumns[checkIndex++] [#else] { - header: '${msgs.get(colmap.header?js_string)}', + header: '${msgs.getWithDefault(colmap.header?js_string, colmap.header?js_string)}', dataIndex: '${colmap_index}', sortable: false, [#if (colmap.type?? && (colmap.type = 'link' || colmap.type = 'uuidLink'))] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |