[Koha-bugs] [Bug 12020] New: label-edit-batch has hardcoded error messages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 1 06:42:39 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12020

            Bug ID: 12020
           Summary: label-edit-batch has hardcoded error messages
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: I18N/L10N
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: pasi.kallinen at pttk.fi
        QA Contact: testopia at bugs.koha-community.org
                CC: frederic at tamil.fr

$ grep errstr labels/label-edit-batch.pl
koha-tmpl/intranet-tmpl/prog/en/modules/labels/*

labels/label-edit-batch.pl:my $errstr = undef;
labels/label-edit-batch.pl:    $errstr = "item(s) not removed from batch
$batch_id." if $err;
labels/label-edit-batch.pl:    $errstr = "batch $batch_id was not deleted." if
$err;
labels/label-edit-batch.pl:        $errstr = "item(s) not added to batch
$batch_id." if $err;
labels/label-edit-batch.pl:        $errstr = "items(s) not added, the error
was: Branch is not set, you please set your branch before adding items to a
batch";
labels/label-edit-batch.pl:    $errstr = "batch $batch_id not fully
de-duplicated." if $duplicate_count == -1;
labels/label-edit-batch.pl:                errstr      => $errstr,
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt:            
                   <strong>WARNING:</strong> An error was encountered and [%
errstr %] Please have your system administrator check the error log for
details.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list