Fixed wrong displaying of line count.

This commit is contained in:
Prominence 2016-06-27 13:34:58 +03:00
parent 0a90793b02
commit f1eda4f146

View File

@ -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>