adding some strings to be parsed by translator tool
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
5a6de047df
commit
a710ca99c5
3 changed files with 15 additions and 15 deletions
|
@ -47,17 +47,17 @@ function confirm_deletion() {
|
|||
function yuiToolbar() {
|
||||
var editmenu = [
|
||||
{ text: _("Edit Record"), url: "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&frameworkcode=&op=" },
|
||||
{ text: "Edit Items", url: "/cgi-bin/koha/cataloguing/additem.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" },
|
||||
{ text: _("Edit Items"), url: "/cgi-bin/koha/cataloguing/additem.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" },
|
||||
{ text: _("Edit as New (Duplicate)"), url: "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&frameworkcode=&op=duplicate" },
|
||||
{ text: _("Delete Record"), <!-- TMPL_IF NAME="count" -->disabled: true, <!-- /TMPL_IF --> onclick: {fn: confirm_deletion }}
|
||||
];
|
||||
|
||||
var savemenu = [
|
||||
{ text: "MODS (XML)", url: "/cgi-bin/koha/catalogue/export.pl?format=mods&op=export&bib=<!-- TMPL_VAR NAME="biblionumber" -->" },
|
||||
{ text: "Dublin Core (XML)", url: "/cgi-bin/koha/catalogue/export.pl?format=dc&op=export&bib=<!-- TMPL_VAR NAME="biblionumber" -->" },
|
||||
{ text: "MARCXML", url: "/cgi-bin/koha/catalogue/export.pl?format=marcxml&op=export&bib=<!-- TMPL_VAR NAME="biblionumber" -->" },
|
||||
{ text: "MARC (non-Unicode/MARC-8)", url: "/cgi-bin/koha/catalogue/export.pl?format=marc8&op=export&bib=<!-- TMPL_VAR NAME="biblionumber" -->" },
|
||||
{ text: "MARC (Unicode/UTF-8)", url: "/cgi-bin/koha/catalogue/export.pl?format=utf8&op=export&bib=<!-- TMPL_VAR NAME="biblionumber" -->" },
|
||||
{ text: _("MODS (XML)"), url: "/cgi-bin/koha/catalogue/export.pl?format=mods&op=export&bib=<!-- TMPL_VAR NAME="biblionumber" -->" },
|
||||
{ text: _("Dublin Core (XML)"), url: "/cgi-bin/koha/catalogue/export.pl?format=dc&op=export&bib=<!-- TMPL_VAR NAME="biblionumber" -->" },
|
||||
{ text: _("MARCXML"), url: "/cgi-bin/koha/catalogue/export.pl?format=marcxml&op=export&bib=<!-- TMPL_VAR NAME="biblionumber" -->" },
|
||||
{ text: _("MARC (non-Unicode/MARC-8)"), url: "/cgi-bin/koha/catalogue/export.pl?format=marc8&op=export&bib=<!-- TMPL_VAR NAME="biblionumber" -->" },
|
||||
{ text: _("MARC (Unicode/UTF-8)"), url: "/cgi-bin/koha/catalogue/export.pl?format=utf8&op=export&bib=<!-- TMPL_VAR NAME="biblionumber" -->" },
|
||||
];
|
||||
|
||||
new YAHOO.widget.Button({
|
||||
|
|
|
@ -35,23 +35,23 @@ function confirm_reregistration() {
|
|||
|
||||
function yuiToolbar() {
|
||||
var printmenu = [
|
||||
{ text: "Print Page", url: "/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&print=page" },
|
||||
{ text: "Print Slip", url: "/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&print=slip" }
|
||||
{ text: _("Print Page"), url: "/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&print=page" },
|
||||
{ text: _("Print Slip"), url: "/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&print=slip" }
|
||||
];
|
||||
|
||||
var moremenu = [
|
||||
{ text: "Renew Patron", onclick: { fn: confirm_reregistration } },
|
||||
{ text: "Set Permissions", url: "/cgi-bin/koha/members/member-flags.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->"
|
||||
{ text: _("Renew Patron"), onclick: { fn: confirm_reregistration } },
|
||||
{ text: _("Set Permissions"), url: "/cgi-bin/koha/members/member-flags.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->"
|
||||
<!-- TMPL_IF NAME="CAN_user_permission" --><!-- TMPL_IF NAME="StaffMember" -->
|
||||
<!-- TMPL_UNLESS NAME="CAN_user_staffaccess" -->, disabled: true<!-- /TMPL_UNLESS-->
|
||||
<!-- TMPL_ELSE --><!-- /TMPL_IF -->
|
||||
<!-- TMPL_ELSE -->, disabled: true<!-- /TMPL_IF-->},
|
||||
{ text: "Delete", <!-- TMPL_IF NAME="StaffMember" --><!-- TMPL_UNLESS NAME="CAN_user_staffaccess" -->disabled: true, <!-- /TMPL_UNLESS --><!-- /TMPL_IF --> onclick: { fn: confirm_deletion } }
|
||||
{ text: _("Delete"), <!-- TMPL_IF NAME="StaffMember" --><!-- TMPL_UNLESS NAME="CAN_user_staffaccess" -->disabled: true, <!-- /TMPL_UNLESS --><!-- /TMPL_IF --> 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"
|
||||
|
|
|
@ -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?"))}}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue