From 2dc8d5e7f7670de0f52c2f5da1aaf18f5331ab7a Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 18 Dec 2007 19:39:06 +0100 Subject: [PATCH] adding some missing _() In fact, it WORKS for translator. ignore my previous comment about it not working. Signed-off-by: Joshua Ferraro --- .../prog/en/includes/members-toolbar.inc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc index 1ce76f0013..f2bef2b879 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc @@ -49,20 +49,20 @@ function update_child() { function yuiToolbar() { var printmenu = [ - { text: "Print Page", url: "/cgi-bin/koha/members/moremember.pl?borrowernumber=&print=page" }, - { text: "Print Slip", url: "/cgi-bin/koha/members/moremember.pl?borrowernumber=&print=slip" } + { text: _("Print Page"), url: "/cgi-bin/koha/members/moremember.pl?borrowernumber=&print=page" }, + { text: _("Print Slip"), url: "/cgi-bin/koha/members/moremember.pl?borrowernumber=&print=slip" } ]; var moremenu = [ - { text: "Renew Patron", onclick: { fn: confirm_reregistration } }, - { text: "Set Permissions", url: "/cgi-bin/koha/members/member-flags.pl?member=",disabled: true, }, - { text: "Delete", onclick: { fn: confirm_deletion } }, - { text: "Update Child to Adult Patron" , onclick: { fn: update_child }, disabled: true, }, + { text: _("Renew Patron"), onclick: { fn: confirm_reregistration } }, + { text: _("Set Permissions"), url: "/cgi-bin/koha/members/member-flags.pl?member=",disabled: true, }, + { text: _("Delete"), onclick: { fn: confirm_deletion } }, + { text: _("Update Child to Adult Patron") , onclick: { fn: update_child }, disabled: true, }, ] new YAHOO.widget.Button({ type: "menu", - label: "Print", + label: _("Print"), name: "printmenubutton", menu: printmenu, container: "printmenuc" @@ -70,7 +70,7 @@ function update_child() { new YAHOO.widget.Button({ type: "menu", - label: "More", + label: _("More"), name: "moremenubutton", menu: moremenu, container: "moremenuc" -- 2.39.5