[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple addbiblio.tmpl,1.25,1.26 additem.tmpl,1.15,1.16
Ambrose C. LI
acli at users.sourceforge.net
Wed Mar 10 08:38:07 CET 2004
- Previous message: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/parameters aqbookfund.tmpl,1.20.2.1,1.20.2.2 aqbudget.tmpl,1.20.2.2,1.20.2.3 categorie.tmpl,1.15.2.1,1.15.2.2 categoryitem.tmpl,1.7.2.2,1.7.2.3 currency.tmpl,1.7.2.2,1.7.2.3 itemtypes.tmpl,1.14.2.2,1.14.2.3 marctagstructure.tmpl,1.20.2.1,1.20.2.2 printers.tmpl,1.8.2.2,1.8.2.3 stopwords.tmpl,1.11.2.1,1.11.2.2 systempreferences.tmpl,1.18.2.4,1.18.2.5 z3950servers.tmpl,1.11.2.2,1.11.2.3
- Next message: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/parameters aqbookfund.tmpl,1.21,1.22 aqbudget.tmpl,1.22,1.23 categorie.tmpl,1.16,1.17 categoryitem.tmpl,1.9,1.10 currency.tmpl,1.9,1.10 itemtypes.tmpl,1.15,1.16 marctagstructure.tmpl,1.21,1.22 printers.tmpl,1.10,1.11 stopwords.tmpl,1.12,1.13 systempreferences.tmpl,1.22,1.23 z3950servers.tmpl,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24207/acqui.simple
Modified Files:
addbiblio.tmpl additem.tmpl
Log Message:
JavaScript changes to make tmpl_process3 recognize translatable strings.
Note: This may break things!
Index: addbiblio.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** addbiblio.tmpl 11 Feb 2004 09:03:47 -0000 1.25
--- addbiblio.tmpl 10 Mar 2004 07:38:05 -0000 1.26
***************
*** 440,443 ****
--- 440,444 ----
<script LANGUAGE="JavaScript">
+ function _(s) { return s } // dummy function for gettext
function active(numlayer)
{
***************
*** 501,508 ****
var alertString2;
if (total_errors!=0) {
! alertString2 = "Form not submitted because of the following problem(s)\n";
! alertString2 += "------------------------------------------------------------------------------------\n\n";
! alertString2 += "- "+ total_missing_mandatory_tags +" mandatory tags empty\n";
! alertString2 += "- "+ total_missing_mandatory_subfields +" mandatory fields empty (see bold subfields)";
alert(alertString2);
} else {
--- 502,509 ----
var alertString2;
if (total_errors!=0) {
! alertString2 = _("Form not submitted because of the following problem(s)");
! alertString2 += "\n------------------------------------------------------------------------------------\n";
! alertString2 += "\n- "+ total_missing_mandatory_tags +_(" mandatory tags empty");
! alertString2 += "\n- "+ total_missing_mandatory_subfields +_(" mandatory fields empty (see bold subfields)");
alert(alertString2);
} else {
Index: additem.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/additem.tmpl,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** additem.tmpl 11 Feb 2004 09:03:47 -0000 1.15
--- additem.tmpl 10 Mar 2004 07:38:05 -0000 1.16
***************
*** 81,84 ****
--- 81,85 ----
</form>
<script LANGUAGE="JavaScript">
+ function _(s) { return s } // dummy function for gettext
function active(numlayer)
{
***************
*** 113,119 ****
document.f.submit();
} else {
! alertString2 = "Form not submitted because of the following problem(s)\n";
! alertString2 += "------------------------------------------------------------------------------------\n\n";
! alertString2 += "- "+ total_errors+" mandatory fields empty (see bold subfields)";
alert(alertString2);
}
--- 114,120 ----
document.f.submit();
} else {
! alertString2 = _("Form not submitted because of the following problem(s)");
! alertString2 += "\n------------------------------------------------------------------------------------\n";
! alertString2 += "\n- "+ total_errors+_(" mandatory fields empty (see bold subfields)");
alert(alertString2);
}
***************
*** 124,128 ****
}
function confirm_deletion(bibid,itemnum) {
! var is_confirmed = confirm('Do you confirm item deletion ?');
if (is_confirmed) {
window.location = "additem.pl?op=delitem&bibid="+bibid+"&itemnum="+itemnum;
--- 125,129 ----
}
function confirm_deletion(bibid,itemnum) {
! var is_confirmed = confirm(_('Do you confirm item deletion?'));
if (is_confirmed) {
window.location = "additem.pl?op=delitem&bibid="+bibid+"&itemnum="+itemnum;
- Previous message: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/parameters aqbookfund.tmpl,1.20.2.1,1.20.2.2 aqbudget.tmpl,1.20.2.2,1.20.2.3 categorie.tmpl,1.15.2.1,1.15.2.2 categoryitem.tmpl,1.7.2.2,1.7.2.3 currency.tmpl,1.7.2.2,1.7.2.3 itemtypes.tmpl,1.14.2.2,1.14.2.3 marctagstructure.tmpl,1.20.2.1,1.20.2.2 printers.tmpl,1.8.2.2,1.8.2.3 stopwords.tmpl,1.11.2.1,1.11.2.2 systempreferences.tmpl,1.18.2.4,1.18.2.5 z3950servers.tmpl,1.11.2.2,1.11.2.3
- Next message: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/parameters aqbookfund.tmpl,1.21,1.22 aqbudget.tmpl,1.22,1.23 categorie.tmpl,1.16,1.17 categoryitem.tmpl,1.9,1.10 currency.tmpl,1.9,1.10 itemtypes.tmpl,1.15,1.16 marctagstructure.tmpl,1.21,1.22 printers.tmpl,1.10,1.11 stopwords.tmpl,1.12,1.13 systempreferences.tmpl,1.22,1.23 z3950servers.tmpl,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Koha-cvs
mailing list