From e6c2939db7aff6f87679ca02d6e3f15b666a1ce4 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 9 Sep 2013 22:53:49 +0200 Subject: [PATCH] Bug 7180: Follow-up fixing minor issues - Fixed some labels from Budget to Fund - Added the system preference to sysprefs.sql - Fixed some untranslatable Javascript strings Signed-off-by: Jonathan Druart --- installer/data/mysql/sysprefs.sql | 1 + .../intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql index 71513ce..7c6e4bb 100644 --- a/installer/data/mysql/sysprefs.sql +++ b/installer/data/mysql/sysprefs.sql @@ -172,6 +172,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('LocalCoverImages','0','1','Display local cover images on intranet details pages.','YesNo'), ('ManInvInNoissuesCharge','1',NULL,'MANUAL_INV charges block checkouts (added to noissuescharge).','YesNo'), ('MARCAuthorityControlField008','|| aca||aabn | a|a d',NULL,NULL,'Textarea'), +('MarcFieldsToOrder','',NULL,'Set the mapping values for a new order line created from a marcrecord (staged file). In a YAML format.','textarea'), ('MARCOrgCode','OSt','','Define MARC Organization Code - http://www.loc.gov/marc/organizations/orgshome.html','free'), ('MaxFine',NULL,'','Maximum fine a patron can have for all late returns at one moment. Single item caps are specified in the circulation rules matrix.','Integer'), ('maxItemsInSearchResults','20',NULL,'Specify the maximum number of items to display for each result on a page of results','free'), diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt index 2fcd42d..6fa5e53 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt @@ -97,7 +97,7 @@ $("#Aform").on("submit", function(){ if ( $("input:checkbox[name='import_record_id']:checked").length < 1 ) { - alert("There is no record selected"); + alert(_("There is no record selected")); return false; } @@ -108,7 +108,7 @@ } }); if ( error > 0 ) { - alert(error + " quantity values are not filled or not a number"); + alert(error + " " + _("quantity values are not filled or not a number")); return false; } @@ -259,7 +259,7 @@
  • [% IF ( close ) %] - Budget: + Fund: [% Budget_name %] [% ELSE %]
  • @@ -275,7 +275,7 @@
  • - +