From 87e5e456493afc2bc3b8735e004785ccdc47a700 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 19 Mar 2012 14:38:30 +0100 Subject: [PATCH] Bug 7734: NO_LIBRARY_SET should be translatable To test: - Make sure you are logged into Koha as 'root' user - not superlibrarian - Before the patch the label will show 'NO_LIBRARY_SET', after applying the patch it will be 'NO LIBRARY SET' without underscores. - Verify correct description is shown after selecting a library. Signed-off-by: mveron Signed-off-by: Paul Poulain --- koha-tmpl/intranet-tmpl/prog/en/includes/header.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc index b2f532be9f..5da499159b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -50,7 +50,13 @@ [% LoginBranchname %] [% ELSE %] - [% LoginBranchname %] + + [% IF ( LoginBranchname == 'NO_LIBRARY_SET' ) %] + NO LIBRARY SET + [% ELSE %] + [% LoginBranchname %] + [% END %] + [% IF ( IndependantBranches ) %] [% IF ( CAN_user_management || CAN_user_editcatalogue_edit_catalogue ) %] (Set library) -- 2.20.1