summaryrefslogtreecommitdiff
path: root/includes/controller
diff options
context:
space:
mode:
Diffstat (limited to 'includes/controller')
-rw-r--r--includes/controller/user_angeltypes_controller.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/includes/controller/user_angeltypes_controller.php b/includes/controller/user_angeltypes_controller.php
index aa614cf3..734bd1e9 100644
--- a/includes/controller/user_angeltypes_controller.php
+++ b/includes/controller/user_angeltypes_controller.php
@@ -23,10 +23,15 @@ function user_angeltypes_unconfirmed_hint()
. '</a>';
}
- return sprintf(ngettext('There is %d unconfirmed angeltype.', 'There are %d unconfirmed angeltypes.',
- count($unconfirmed_user_angeltypes)),
- count($unconfirmed_user_angeltypes)) . ' ' . __('Angel types which need approvals:') . ' ' . join(', ',
- $unconfirmed_links);
+ $count = count($unconfirmed_user_angeltypes);
+ return _e(
+ 'There is %d unconfirmed angeltype.',
+ 'There are %d unconfirmed angeltypes.',
+ $count,
+ [$count]
+ )
+ . ' ' . __('Angel types which need approvals:')
+ . ' ' . join(', ', $unconfirmed_links);
}
/**