[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple addbiblio.tmpl,1.24.2.2,1.24.2.3 additem.tmpl,1.13.2.3,1.13.2.4
Ambrose C. LI
acli at users.sourceforge.net
Wed Mar 10 08:35:40 CET 2004
- Previous message: [Koha-cvs] CVS: koha/misc/translator TmplToken.pm,1.5,1.6 TmplTokenizer.pm,1.33,1.34 text-extract2.pl,1.41,1.42 tmpl_process3.pl,1.19,1.20 xgettext.pl,1.11,1.12
- Next 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
- 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-serv23807/acqui.simple
Modified Files:
Tag: rel_2_0
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.24.2.2
retrieving revision 1.24.2.3
diff -C2 -r1.24.2.2 -r1.24.2.3
*** addbiblio.tmpl 10 Feb 2004 13:17:08 -0000 1.24.2.2
--- addbiblio.tmpl 10 Mar 2004 07:35:38 -0000 1.24.2.3
***************
*** 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.13.2.3
retrieving revision 1.13.2.4
diff -C2 -r1.13.2.3 -r1.13.2.4
*** additem.tmpl 19 Feb 2004 10:20:21 -0000 1.13.2.3
--- additem.tmpl 10 Mar 2004 07:35:38 -0000 1.13.2.4
***************
*** 82,85 ****
--- 82,86 ----
</form>
<script LANGUAGE="JavaScript">
+ function _(s) { return s } // dummy function for gettext
function active(numlayer)
{
***************
*** 114,120 ****
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);
}
--- 115,121 ----
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);
}
***************
*** 129,133 ****
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;
--- 130,134 ----
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/misc/translator TmplToken.pm,1.5,1.6 TmplTokenizer.pm,1.33,1.34 text-extract2.pl,1.41,1.42 tmpl_process3.pl,1.19,1.20 xgettext.pl,1.11,1.12
- Next 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
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Koha-cvs
mailing list