From d4819505971c6e7f1ce5f1017eddbbcf25254fea Mon Sep 17 00:00:00 2001 From: =?utf8?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 Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall --- 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 e21350e927..df4d32e9ff 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 ) %] -- 2.39.5