From 357d142bece6f5a44fbe9ae859755bede39bb45c 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. --- .../intranet-tmpl/prog/en/includes/header.inc | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc index b2f532b..5da4991 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) -- 1.7.5.4