From a710ca99c5dc0d77470bb150ab38e03e3cc238af Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Fri, 29 Feb 2008 14:04:21 +1300 Subject: [PATCH] adding some strings to be parsed by translator tool Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- .../intranet-tmpl/prog/en/includes/cat-toolbar.inc | 12 ++++++------ .../prog/en/includes/circ-toolbar.inc | 14 +++++++------- .../prog/en/includes/virtualshelves-toolbar.inc | 4 ++-- 3 files changed, 15 insertions(+), 15 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 b8cbac8751..ac5881f2a7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc @@ -47,17 +47,17 @@ function confirm_deletion() { function yuiToolbar() { var editmenu = [ { 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 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 }} ]; var savemenu = [ - { text: "MODS (XML)", url: "/cgi-bin/koha/catalogue/export.pl?format=mods&op=export&bib=" }, - { text: "Dublin Core (XML)", url: "/cgi-bin/koha/catalogue/export.pl?format=dc&op=export&bib=" }, - { text: "MARCXML", url: "/cgi-bin/koha/catalogue/export.pl?format=marcxml&op=export&bib=" }, - { text: "MARC (non-Unicode/MARC-8)", url: "/cgi-bin/koha/catalogue/export.pl?format=marc8&op=export&bib=" }, - { text: "MARC (Unicode/UTF-8)", url: "/cgi-bin/koha/catalogue/export.pl?format=utf8&op=export&bib=" }, + { text: _("MODS (XML)"), url: "/cgi-bin/koha/catalogue/export.pl?format=mods&op=export&bib=" }, + { text: _("Dublin Core (XML)"), url: "/cgi-bin/koha/catalogue/export.pl?format=dc&op=export&bib=" }, + { text: _("MARCXML"), url: "/cgi-bin/koha/catalogue/export.pl?format=marcxml&op=export&bib=" }, + { text: _("MARC (non-Unicode/MARC-8)"), url: "/cgi-bin/koha/catalogue/export.pl?format=marc8&op=export&bib=" }, + { text: _("MARC (Unicode/UTF-8)"), url: "/cgi-bin/koha/catalogue/export.pl?format=utf8&op=export&bib=" }, ]; new YAHOO.widget.Button({ diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc index 2574cf228b..5f8494ca55 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc @@ -35,23 +35,23 @@ function confirm_reregistration() { 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=" + { text: _("Renew Patron"), onclick: { fn: confirm_reregistration } }, + { text: _("Set Permissions"), url: "/cgi-bin/koha/members/member-flags.pl?member=" , disabled: true , disabled: true}, - { text: "Delete", disabled: true, onclick: { fn: confirm_deletion } } + { text: _("Delete"), disabled: true, onclick: { fn: confirm_deletion } } ] new YAHOO.widget.Button({ type: "menu", - label: "Print", + label: _("Print"), name: "printmenubutton", menu: printmenu, container: "printmenuc" @@ -59,7 +59,7 @@ function confirm_reregistration() { new YAHOO.widget.Button({ type: "menu", - label: "More", + label: _("More"), name: "moremenubutton", menu: moremenu, container: "moremenuc" diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc index 58621890c6..803db7fc65 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc @@ -17,9 +17,9 @@ deleteshelfButton = new YAHOO.widget.Button({ id: "deleteshelf", type: "button", - label: "Delete List", + label: _("Delete List"), container: "deleteshelfc", - onclick: {fn:function(){confirmDelete("Are you sure you want to delete this shelf?")}} + onclick: {fn:function(){confirmDelete(_("Are you sure you want to delete this shelf?"))}} }); }