mirror of
https://github.com/Prominence/grails-translations-plugin.git
synced 2026-07-03 02:36:46 +03:00
Fixed wrong displaying of line count.
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<g:each in="${bundle.propertiesList}" var="propertyFile">
|
<g:each in="${bundle.propertiesList}" var="propertyFile">
|
||||||
<td><g:message code="plugin.translations.totalRecords" args="${propertyFile.readLines().size()}"/></td>
|
<td><g:message code="plugin.translations.totalRecords" args="${propertyFile.readLines()?.size() ?: '0'}"/></td>
|
||||||
</g:each>
|
</g:each>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user