From e4f0b7904c89734bf145464356b4becaf1522307 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 19 Mar 2012 14:38:30 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 7734: NO_LIBRARY_SET should be translatable Content-Type: text/plain; charset="utf-8" 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 --- .../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.2.5