mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-10 06:23:05 -05:00
NodeTile: Add plural support to the Children label
closes Icinga/L10n#18
This commit is contained in:
parent
3154e3313f
commit
ad2ea6f8c5
1 changed files with 7 additions and 1 deletions
|
|
@ -133,7 +133,13 @@ class NodeTile extends BaseHtmlElement
|
|||
? Html::tag(
|
||||
'span',
|
||||
null,
|
||||
sprintf('%u %s', $node->countChildren(), mt('businessprocess', 'Children'))
|
||||
sprintf('%u %s', $node->countChildren(), mtp(
|
||||
'businessprocess',
|
||||
'Child',
|
||||
'Children',
|
||||
$node->countChildren(),
|
||||
'businessprocess.nodes'
|
||||
))
|
||||
)
|
||||
: null
|
||||
));
|
||||
|
|
|
|||
Loading…
Reference in a new issue