aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/album_notification.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/album_notification.php b/admin/album_notification.php
index 19d5d5f01..d565b6c62 100644
--- a/admin/album_notification.php
+++ b/admin/album_notification.php
@@ -83,7 +83,7 @@ SELECT id, file, path, representative_ext
pwg_mail_group(
$_POST['group'],
array(
- 'subject' => l10n('[%s] Visit album %s', $conf['gallery_title'], $category['name']),
+ 'subject' => l10n('[%s] Visit album %s', $conf['gallery_title'], trigger_event('render_category_name', $category['name'], 'admin_cat_list')),
// TODO : change this language variable to 'Visit album %s'
// TODO : 'language_selected' => ....
),
@@ -91,11 +91,11 @@ SELECT id, file, path, representative_ext
'filename' => 'cat_group_info',
'assign' => array(
'IMG_URL' => $img_url,
- 'CAT_NAME' => $category['name'],
+ 'CAT_NAME' => trigger_event('render_category_name', $category['name'], 'admin_cat_list'),
'LINK' => make_index_url(array(
'category' => array(
'id' => $category['id'],
- 'name' => $category['name'],
+ 'name' => trigger_event('render_category_name', $category['name'], 'admin_cat_list'),
'permalink' => $category['permalink']
)
)),