From a47b8ca9ba8fafda5427e8ab3280cd1d67cfd5cd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 6 Sep 2017 13:14:56 -0300 Subject: [PATCH] Bug 17834: Make translation easier Signed-off-by: Mason James --- .../opac-tmpl/bootstrap/en/modules/opac-main.tt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt index dbada14372..b3092d4e82 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt @@ -53,9 +53,17 @@ [% IF Branches.all.size == 1 %] - RSS feed for [% IF ( branchcode ) %][% Branches.GetName( branchcode ) %][% END %] library news. + [% IF branchcode %] + RSS feed for [% Branches.GetName( branchcode ) %] library news. + [% ELSE %] + RSS feed for library news. + [% END %] [% ELSE %] - RSS feed for [% IF ( branchcode ) %][% Branches.GetName( branchcode ) %] and [% END %] system-wide library news. + [% IF branchcode %] + RSS feed for [% Branches.GetName( branchcode ) %] and system-wide library news. + [% ELSE %] + RSS feed for system-wide library news. + [% END %] [% END %] [% END %] -- 2.39.5