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

             Bug #: 7599
           Summary: Cart JavaScript contains untranslatable English
                    strings
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Staff Client
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected]


In the OPAC and staff client cart JavaScript:

function updateBasket(updated_value,target) {
    if(target){
    target.$('#basketcount').html(" <span>("+updated_value+")</span>");
    target.$('#cartDetails').html(_("Your cart contains ")+updated_value+_("
items"));
    } else {
    $('#basketcount').html(" <span>("+updated_value+")</span>");
    $('#cartDetails').html(_("Your cart contains ")+updated_value+_(" items"));
    }
    var basketcount = updated_value;
}

Not only is this untranslatable, the structure of the sentence is probably too
English-centric. Perhaps, "Items in your cart: " + count ?

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to