}
}
$count = 0;
+
+ // enable l10n support
+ $l = OC_L10N::get('core');
+
foreach ($groups as $group) {
if ($count < 15) {
if (stripos($group, $_GET['search']) !== false
|| !is_array($_GET['itemShares'][OCP\Share::SHARE_TYPE_GROUP])
|| !in_array($group, $_GET['itemShares'][OCP\Share::SHARE_TYPE_GROUP]))) {
$shareWith[] = array(
- 'label' => $group.' (group)',
+ 'label' => $group.' ('.$l->t('group').')',
'value' => array(
'shareType' => OCP\Share::SHARE_TYPE_GROUP,
'shareWith' => $group