From d92f4020dc7122b5f088b3ea1985cddc58cff597 Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Thu, 7 Feb 2008 12:59:08 -0600 Subject: [PATCH] replacing ' by " in javascript translatable strings Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- .../prog/en/modules/cataloguing/additem.tmpl | 2 +- .../en/modules/serials/subscription-add.tmpl | 40 +++++++++---------- .../modules/serials/subscription-detail.tmpl | 18 ++++----- .../en/modules/virtualshelves/shelves.tmpl | 4 +- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tmpl index 0ed790c5f5..9edab84125 100755 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tmpl @@ -50,7 +50,7 @@ function Dopop(link,i) { function confirm_deletion(biblionumber,itemnumber) { var original = $("#row"+itemnumber).attr("class"); $("#row"+itemnumber).attr("class","confirm"); - var is_confirmed = confirm(_('Are you sure you want to delete this item?')); + var is_confirmed = confirm(_("Are you sure you want to delete this item?")); if (is_confirmed) { window.location = "additem.pl?op=delitem&biblionumber="+biblionumber+"&itemnumber="+itemnumber; } else { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tmpl index ae75e4b94a..05aee6ed1d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tmpl @@ -7,8 +7,8 @@ var weeks = new Array(); - var months = new Array(_('January'),_('February'),_('March'),_('April'),_('May'),_('June'),_('July'),_('August'),_('September'),_('October'),_('November'),_('December')); - var seasons = new Array(_('Autumn'),_('Winter'),_('Spring'),_('Summer'),_('Fall')); + var months = new Array(_("January"),_("February"),_("March"),_("April"),_("May"),_("June"),_("July"),_("August"),_("September"),_("October"),_("November"),_("December")); + var seasons = new Array(_("Autumn"),_("Winter"),_("Spring"),_("Summer"),_("Fall")); var errortext=''; if(periodicity == 1) { expected = 366; @@ -636,7 +636,7 @@ function display_example(expected){ var whenmorethan3 = parseInt(document.f.whenmorethan3.value); var setto2 = parseInt(document.f.setto2.value); var setto3 = parseInt(document.f.setto3.value); - var displaytext = _('Based on the information
entered the Numbering Pattern
will look like this
\n'); + var displaytext = _("Based on the information
entered the Numbering Pattern
will look like this
\n"); if(startfrom3>0){ var count=startfrom3-1; var count2=startfrom2; @@ -763,9 +763,9 @@ function Find_ISSN(f) function Check(f) { if (f.aqbooksellerid.value.length==0) { - alert(_('You must choose a supplier')); + alert(_("You must choose a supplier")); } else if (f.biblionumber.value.length==0) { - alert(_('You must choose or create a biblio')); + alert(_("You must choose or create a biblio")); } else if(f.startdate.value.length != 0 && f.sublength.value > 0) { if (f.irreg_check.value == 1) { document.f.submit(); @@ -777,7 +777,7 @@ function Check(f) { } } } else { - alert(_('You must choose a start date and a subscription length')); + alert(_("You must choose a start date and a subscription length")); } return false; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tmpl index 3d517796b9..d71c4306cd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tmpl @@ -5,8 +5,8 @@ '; switch(periodicity){ case "1": - var names = new Array(_('Monday'),_('Tuesday'),_('Wednesday'),_('Thursday'),_('Friday'),_('Saturday'),_('Sunday')); + var names = new Array(_("Monday"),_("Tuesday"),_("Wednesday"),_("Thursday"),_("Friday"),_("Saturday"),_("Sunday")); break; case "2": @@ -46,19 +46,19 @@ function irregularity(){ break; case "5": - var names = new Array(_('January'),_('February'),_('March'),_('April'),_('May'),_('June'),_('July'),_('August'),_('September'),_('October'),_('November'),_('December')); + var names = new Array(_("January"),_("February"),_("March"),_("April"),_("May"),_("June"),_("July"),_("August"),_("September"),_("October"),_("November"),_("December")); break; case "6": - var names = new Array(_('January'),_('February'),_('March'),_('April'),_('May'),_('June'),_('July'),_('August'),_('September'),_('October'),_('November'),_('December')); + var names = new Array(_("January"),_("February"),_("March"),_("April"),_("May"),_("June"),_("July"),_("August"),_("September"),_("October"),_("November"),_("December")); break; case "7": - var names = new Array(_('January'),_('February'),_('March'),_('April'),_('May'),_('June'),_('July'),_('August'),_('September'),_('October'),_('November'),_('December')); + var names = new Array(_("January"),_("February"),_("March"),_("April"),_("May"),_("June"),_("July"),_("August"),_("September"),_("October"),_("November"),_("December")); break; case "8": - var names = new Array(_('Autumn'),_('Winter'),_('Spring'),_('Summer'),_('Fall')); + var names = new Array(_("Autumn"),_("Winter"),_("Spring"),_("Summer"),_("Fall")); break; case "9": - var names = new Array(_('January'),_('February'),_('March'),_('April'),_('May'),_('June'),_('July'),_('August'),_('September'),_('October'),_('November'),_('December')); + var names = new Array(_("January"),_("February"),_("March"),_("April"),_("May"),_("June"),_("July"),_("August"),_("September"),_("October"),_("November"),_("December")); break; case "10": expected =1; @@ -80,7 +80,7 @@ function irregularity(){ } function confirm_deletion() { - var is_confirmed = confirm(_('Are you sure you want to delete this subscription?')); + var is_confirmed = confirm(_("Are you sure you want to delete this subscription?")); if (is_confirmed) { window.location="subscription-detail.pl?subscriptionid=&op=del"; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl index 6a0b117e8b..a80e8fe392 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl @@ -177,7 +177,7 @@ $(document).ready(function(){
- +
@@ -297,7 +297,7 @@ $(document).ready(function(){ " value="1" /> - +   -- 2.39.5