From d177095f61a2c57d5600cb5848c2ad8f8e5b90e7 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 18 Dec 2007 19:05:14 +0100 Subject: [PATCH] adding _() to strings for translator Note that it DOES not work as expected. It seem that the translator misses the _() string inside expandable button (it does not miss them in simple button) Signed-off-by: Joshua Ferraro --- .../intranet-tmpl/prog/en/includes/cataloging-toolbar.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-toolbar.inc index af323bc20f..631dd3b49d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-toolbar.inc @@ -20,14 +20,14 @@ var newmenu = [ - { text: "Default Framework", url: "/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=" }, - { text: " Framework", url: "/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode="}, + { text: _("Default Framework"), url: "/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=" }, + { text: _(" Framework"), url: "/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode="}, ] new YAHOO.widget.Button({ type: "menu", - label: "New Record", + label: _("New Record"), name: "newmenubutton", menu: newmenu, container: "newmenuc" -- 2.39.5