From 2ef18ef104b577e285742be7d2eaa51cfb176c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Thu, 21 Apr 2016 21:13:46 +0200 Subject: [PATCH] Bug 16322 - Translatability: "Unknown" in suggestion/suggestion.pl not translatable This patch adds translatability for the tab "Unknown" in koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt To test: - Apply patch - Examine koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt and verify that it handles the label "Unknown" (line 496) - Go to suggestion/suggestion.pl, set status of a suggestion to -- Choose a status -- and verify that the tab "Status unknown" appears - Bonus test: Go through a translation process and verify that "Status unknown" is translated Note: If you have a suggestion with unknown status, all suggestions are listed under this tab. This is not in the scope of this bug; this bug is about translation only. Signed-off-by: Hector Castro Works as expected --- koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index 95c7c7f..c19128e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -493,6 +493,7 @@ h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o [% ELSIF (suggestion.suggestiontypelabel == "Rejected") %]Rejected [% ELSIF (suggestion.suggestiontypelabel == "Available") %]Available [% ELSIF (suggestion.suggestiontypelabel == "Ordered") %]Ordered + [% ELSIF (suggestion.suggestiontypelabel == "Unknown") %]Status unknown [% ELSE %][% suggestion.suggestiontypelabel %][% END %] [% ELSE %] [% IF ( suggestion.suggestiontype ) %] -- 1.7.10.4