mirror of
https://github.com/Prominence/grails-translations-plugin.git
synced 2026-01-09 19:06:41 +03:00
Fixed wrong displaying of line count.
This commit is contained in:
parent
0a90793b02
commit
f1eda4f146
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user