From b43904b4850ee4352937e730bfcc8b6adef996a3 Mon Sep 17 00:00:00 2001 From: Jean-Charles Amey Date: Sun, 19 Jan 2020 21:29:59 +0100 Subject: [PATCH] Update render.php to fix translation identification problem. removing the (View Detail)s to allow PO translation to work. --- app/skins/timeline/render.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/skins/timeline/render.php b/app/skins/timeline/render.php index 6e218105..02a615f4 100644 --- a/app/skins/timeline/render.php +++ b/app/skins/timeline/render.php @@ -121,7 +121,7 @@ - data->tickets) and count($event->data->tickets) and !strpos($soldout, '%%soldout%%')) ? $this->main->m('register_button', __('Register for event', 'modern-events-calendar-lite')) : $this->main->m('view_detail', __('View Details', 'modern-events-calendar-lite')); ?> + data->tickets) and count($event->data->tickets) and !strpos($soldout, '%%soldout%%')) ? $this->main->m('register_button', __('Register for event', 'modern-events-calendar-lite')) : $this->main->m('view_detail', __('View Detail', 'modern-events-calendar-lite')); ?> @@ -129,4 +129,4 @@ - \ No newline at end of file +