From 1324602c0d5c96954bdec04ecff6d5f4fdcb2be8 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 Content-Type: text/plain; charset=utf-8 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 Signed-off-by: Marcel de Rooy --- 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