Bug 18839: Suggestion.pl spelling mistake
authorChris Kirby <chris.kirby@ilsleypubliclibrary.org>
Wed, 21 Jun 2017 18:27:21 +0000 (18:27 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 13 Jul 2017 19:42:04 +0000 (16:42 -0300)
On the suggestion management page, 'unknown' is spelled 'unkown'

This patch corrects this spelling mistake in

suggestion/suggestion.pl

koha-tmpl/intranet-tmpl/prog/en/include/strings.inc

koha-tmpl/intranet-tmpl/prog/en/include/search_indexes.inc

Signed-off-by: Lee Jamison <ldjamison@marywood.edu>

Signed-off-by: sonia BOUIS <sonia.bouis@univ-lyon3.fr>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc
koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc
suggestion/suggestion.pl

index 76226a0..3544029 100644 (file)
@@ -42,7 +42,7 @@
     <option value="pl">Publisher location</option>
 
     [%# Use non-normalized st-year instead of st-numeric, %]
-    [%# since pubdate can include 'u' to signify unkown %]
+    [%# since pubdate can include 'u' to signify unknown %]
     [%# dates. See "Legal Characters" at: %]
     [%# http://www.loc.gov/marc/bibliographic/bd008a.html %]
     [%# This search is also for date ranges due to the %]
index 7560fc2..82ff775 100644 (file)
@@ -9,7 +9,7 @@
     var NOT_CHECKED_OUT = _("not checked out");
     var TOO_MANY_RENEWALS = _("too many renewals");
     var ON_RESERVE = _("on hold");
-    var REASON_UNKNOWN = _("reason unkown");
+    var REASON_UNKNOWN = _("reason unknown");
     var TODAYS_CHECKOUTS = _("Today's checkouts");
     var PREVIOUS_CHECKOUTS = _("Previous checkouts");
     var BY = _("by _AUTHOR_");
index c291534..929e65a 100755 (executable)
@@ -59,7 +59,7 @@ sub GetCriteriumDesc{
     if ($displayby =~ /status/i) {
         unless ( grep { /$criteriumvalue/ } qw(ASKED ACCEPTED REJECTED CHECKED ORDERED AVAILABLE) ) {
             my $av = Koha::AuthorisedValues->search({ category => 'SUGGEST_STATUS', authorised_value => $criteriumvalue });
-            return $av->count ? $av->next->lib : 'Unkown';
+            return $av->count ? $av->next->lib : 'Unknown';
         }
         return ($criteriumvalue eq 'ASKED'?"Pending":ucfirst(lc( $criteriumvalue))) if ($displayby =~/status/i);
     }
@@ -67,7 +67,7 @@ sub GetCriteriumDesc{
         if $displayby =~ /branchcode/;
     if ( $displayby =~ /itemtype/ ) {
         my $av = Koha::AuthorisedValues->search({ category => 'SUGGEST_FORMAT', authorised_value => $criteriumvalue });
-        return $av->count ? $av->next->lib : 'Unkown';
+        return $av->count ? $av->next->lib : 'Unknown';
     }
     if ($displayby =~/suggestedby/||$displayby =~/managedby/||$displayby =~/acceptedby/){
         my $patron = Koha::Patrons->find( $criteriumvalue );