From d751d9b1d6ef4318000495ece6494ccc81e6f0c3 Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Fri, 11 Jan 2008 02:57:12 -0600 Subject: [PATCH] adding a few _() for translator Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- .../intranet-tmpl/prog/en/includes/cat-toolbar.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc index 1d8da42d3e..b8cbac8751 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc @@ -46,10 +46,10 @@ function confirm_deletion() { function yuiToolbar() { var editmenu = [ - { text: "Edit Record", url: "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=&frameworkcode=&op=" }, + { text: _("Edit Record"), url: "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=&frameworkcode=&op=" }, { text: "Edit Items", url: "/cgi-bin/koha/cataloguing/additem.pl?biblionumber=" }, - { text: "Edit as New (Duplicate)", url: "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=&frameworkcode=&op=duplicate" }, - { text: "Delete Record", disabled: true, onclick: {fn: confirm_deletion }} + { text: _("Edit as New (Duplicate)"), url: "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=&frameworkcode=&op=duplicate" }, + { text: _("Delete Record"), disabled: true, onclick: {fn: confirm_deletion }} ]; var savemenu = [ @@ -62,7 +62,7 @@ function confirm_deletion() { new YAHOO.widget.Button({ type: "menu", - label: "Save", + label: _("Save"), name: "savemenubutton", menu: savemenu, container: "savemenuc" @@ -70,7 +70,7 @@ function confirm_deletion() { new YAHOO.widget.Button({ type: "menu", - label: "Edit", + label: _("Edit"), name: "editmenubutton", menu: editmenu, container: "editmenuc", @@ -80,7 +80,7 @@ function confirm_deletion() { var addtoshelfButton = new YAHOO.widget.Button({ id: "addtoshelf", type: "button", - label: "Add to List", + label: _("Add to List"), container: "addtoshelfc", onclick: {fn: addToShelf } }); @@ -88,7 +88,7 @@ function confirm_deletion() { var printbiblioButton = new YAHOO.widget.Button({ id: "printbiblio", type: "button", - label: "Print", + label: _("Print"), container: "printbiblioc", onclick: {fn: printBiblio } }); -- 2.39.5