Bugzilla – Attachment 76350 Details for
Bug 20988
[OMNIBUS] Internationalization: wrap all translatable text inside t() calls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/onboarding
Bug-20988-koha-tmplintranet-tmplprogenmodulesonboa.patch (text/plain), 41.52 KB, created by
Julian Maurice
on 2018-06-25 07:22:52 UTC
(
hide
)
Description:
Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/onboarding
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2018-06-25 07:22:52 UTC
Size:
41.52 KB
patch
obsolete
>From 2002a72f5c933fb3262f3bca7c882f2ba98559ef Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Mon, 25 Jun 2018 08:49:11 +0200 >Subject: [PATCH] Bug 20988: koha-tmpl/intranet-tmpl/prog/en/modules/onboarding > >--- > .../en/modules/onboarding/onboardingstep1.tt | 27 +++--- > .../en/modules/onboarding/onboardingstep2.tt | 65 +++++++------- > .../en/modules/onboarding/onboardingstep3.tt | 65 +++++++------- > .../en/modules/onboarding/onboardingstep4.tt | 27 +++--- > .../en/modules/onboarding/onboardingstep5.tt | 89 ++++++++++--------- > 5 files changed, 139 insertions(+), 134 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt >index ebe91f7427..0f157aeac2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt >@@ -1,6 +1,7 @@ >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] > >-<title>Koha › Web installer › Create a library</title> >+<title>[% t('Koha ⺠Web installer ⺠Create a library') %]</title> > [% INCLUDE 'installer-doc-head-close.inc' %] > </head> > >@@ -8,29 +9,29 @@ > <div class="container-fluid"> > <div class="row"> > <div id="onboarding-step1" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2"> >- <h1 id="logo"><a href="#">Koha</a></h1> >- <h2>Web installer › Create a library</h2> >+ <h1 id="logo"><a href="#">[% t('Koha') %]</a></h1> >+ <h2>[% t('Web installer ⺠Create a library') %]</h2> > > [% INCLUDE 'onboarding_messages.inc' %] > > <form name="LibraryCreation" method="post" action="onboarding.pl"> >- <fieldset class="rows" > >- <input type="hidden" name="step" value="1"/> >- <input type="hidden" name="op" value="add_validate_library"/> >+ <fieldset class="rows"> >+ <input type="hidden" name="step" value="1" /> >+ <input type="hidden" name="op" value="add_validate_library" /> > <ol> > <li> >- <label for="branchcode" class="required">Library code: </label> >- <input type="text" pattern="[0-9A-Za-z]{1,10}" name="branchcode" id="branchcode" size="10" maxlength="10" value="" class="required" required="required" /> >- <span class="required">Required</span> >+ <label for="branchcode" class="required">[% t('Library code:') %] </label> >+ <input type="text" pattern="[0-9A-Za-z]{1,10}" name="branchcode" id="branchcode" size="10" maxlength="10" value="" class="required" required="required" /> >+ <span class="required">[% t('Required') %]</span> > </li> > <li> >- <label for="branchname" class="required">Name: </label> >+ <label for="branchname" class="required">[% t('Name:') %] </label> > <input type="text" name="branchname" id="branchname" size="42" class="required" required="required"> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > </ol> >- <p>To add another library and for more settings, go to: >- <span class="breadcrumbs"> Administration <b>›</b> Libraries and groups </span> >+ <p>[% t('To add another library and for more settings, go to:') %] >+ <span class="breadcrumbs"> [% t('Administration') %] <b>âº</b> [% t('Libraries and groups') %] </span> > </p> > <input type="submit" class="btn btn-primary" value="Submit" /> > </fieldset> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt >index 6a9bdfabb3..6c1692059f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt >@@ -1,7 +1,8 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Koha %] > [% USE KohaDates %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Web installer › Add a patron category</title> >+<title>[% t('Koha ⺠Web installer ⺠Add a patron category') %]</title> > [%# The following if statement checks if the categories variable handed to this template %] > [%# by onboarding.pl has data in it. If the categories variable does have data %] > [%# in it this means that the user has previously imported sample patron category %] >@@ -20,13 +21,13 @@ > <div class="container-fluid"> > <div class="row"> > <div id="onboarding-step2" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2"> >- <h1 id="logo"><a href="#">Koha</a></h1> >+ <h1 id="logo"><a href="#">[% t('Koha') %]</a></h1> > >- <h2>Web installer › Create a patron category</h2> >+ <h2>[% t('Web installer ⺠Create a patron category') %]</h2> > > [% INCLUDE 'onboarding_messages.inc' %] > >- <p> The patron category you create will be used by the <span class="bg-info">administrator account</span>.</p> >+ <p> [% t('The patron category you create will be used by the') %] <span class="bg-info">[% t('administrator account') %]</span>.</p> > > <form id="category_form" method="post" action="onboarding.pl"> > <fieldset class="rows"> >@@ -34,38 +35,38 @@ > <input type="hidden" name="op" value="add_validate_category" /> > <ol> > <li> >- <label for="categorycode" class="required">Category code: </label> >+ <label for="categorycode" class="required">[% t('Category code:') %] </label> > <input type="text" pattern="[0-9A-Za-z]{1,10}" id="categorycode" name="categorycode" value="[% category.categorycode |html %]" size="10" maxlength="10" class="required" required="required" /> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > > <li> >- <label for="description" class="required">Description: </label> >+ <label for="description" class="required">[% t('Description:') %] </label> > <input type="text" id="description" name="description" size="40" maxlength="80" class="required" required="required" value="[% category.description |html%]" /> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > > <li> >- <label for="overduenoticerequired">Overdue notice required: </label> >+ <label for="overduenoticerequired">[% t('Overdue notice required:') %] </label> > <select name="overduenoticerequired" id="overduenoticerequired"> > [% IF category.overduenoticerequired %] >- <option value="0">No</option> >- <option value="1" selected="selected">Yes</option> >+ <option value="0">[% t('No') %]</option> >+ <option value="1" selected="selected">[% t('Yes') %]</option> > [% ELSE %] >- <option value="0" selected="selected">No</option> >- <option value="1">Yes</option> >+ <option value="0" selected="selected">[% t('No') %]</option> >+ <option value="1">[% t('Yes') %]</option> > [% END %] > </select> > </li> > > <li> >- <span class="label">Category type: </span> >+ <span class="label">[% t('Category type:') %] </span> > <input type="hidden" name="category_type" value="S" /> >- Staff >+ [% t('Staff') %] > </li> > > <li> >- <label for="default_privacy">Default privacy: </label> >+ <label for="default_privacy">[% t('Default privacy:') %] </label> > <select id="default_privacy" name="default_privacy" required="required"> > [% SET default_privacy = 'default' %] > >@@ -75,32 +76,32 @@ > > [% SWITCH default_privacy %] > [% CASE 'forever' %] >- <option value="default">Default</option> >- <option value="never">Never</option> >- <option value="forever" selected="selected">Forever</option> >+ <option value="default">[% t('Default') %]</option> >+ <option value="never">[% t('Never') %]</option> >+ <option value="forever" selected="selected">[% t('Forever') %]</option> > [% CASE 'never' %] >- <option value="default">Default</option> >- <option value="never" selected="selected">Never</option> >- <option value="forever">Forever</option> >+ <option value="default">[% t('Default') %]</option> >+ <option value="never" selected="selected">[% t('Never') %]</option> >+ <option value="forever">[% t('Forever') %]</option> > [% CASE %] >- <option value="default" selected="selected">Default</option> >- <option value="never">Never</option> >- <option value="forever">Forever</option> >+ <option value="default" selected="selected">[% t('Default') %]</option> >+ <option value="never">[% t('Never') %]</option> >+ <option value="forever">[% t('Forever') %]</option> > [% END %] > </select> > <div class="hint"> >- Controls how long a patrons checkout history is kept for new patrons of this category. "Never" anonymizes checkouts on return, and "Forever" keeps a patron's checkout history indefinitely. When set to "Default", the amount of history kept is controlled by the cronjob <code>batch_anonymise.pl</code> which should be set up by your system administrator. >+ [% t('Controls how long a patrons checkout history is kept for new patrons of this category. "Never" anonymizes checkouts on return, and "Forever" keeps a patron\'s checkout history indefinitely. When set to "Default", the amount of history kept is controlled by the cronjob') %] <code>[% t('batch_anonymise.pl') %]</code> [% t('which should be set up by your system administrator.') %] > </div> > </li> > <li> >- <span class="label">Enrolment period: </span> >+ <span class="label">[% t('Enrolment period:') %] </span> > <fieldset class="rows"> > <ol> > <li> >- <span class="label"></span><strong>Choose one</strong> >+ <span class="label"></span><strong>[% t('Choose one') %]</strong> > </li> > <li> >- <label for="enrolmentperiod">In months: </label> >+ <label for="enrolmentperiod">[% t('In months:') %] </label> > [% IF category.enrolmentperiod %] > <input type="number" class="enrolmentperiod" name="enrolmentperiod" id="enrolmentperiod" min="0" size="3" value="[% category.enrolmentperiod %]" /> > [% ELSE %] >@@ -108,7 +109,7 @@ > [% END %] > </li> > <li> >- <label for="enrolmentperioddate">Until date: </label> >+ <label for="enrolmentperioddate">[% t('Until date:') %] </label> > <input type="text" class="enrolmentperioddate datepicker" name="enrolmentperioddate" id="enrolmentperioddate" value="[% category.enrolmentperioddate | $KohaDates %]" /> > <div class="hint">[% INCLUDE 'date-format.inc' dateformat = Koha.Preference('dateformat') %]</div> > </li> >@@ -118,8 +119,8 @@ > </ol> > > <p> >- To add another patron category and for more settings go to: >- <span class="breadcrumbs"> Administration <b>›</b> Patron categories</span> >+ [% t('To add another patron category and for more settings go to:') %] >+ <span class="breadcrumbs"> [% t('Administration') %] <b>âº</b> [% t('Patron categories') %]</span> > </p> > > <input type="submit" class="btn btn-primary" value="Submit" /> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt >index 51ed7f0e7f..adfaeab22c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt >@@ -1,6 +1,7 @@ >+[% PROCESS 'i18n.inc' %] > [% USE Koha %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Web installer › Create Koha administrator patron</title> >+<title>[% t('Koha ⺠Web installer ⺠Create Koha administrator patron') %]</title> > [% INCLUDE 'installer-doc-head-close.inc' %] > [% INCLUDE 'validator-strings.inc' %] > [% INCLUDE 'installer-strings.inc' %] >@@ -11,99 +12,99 @@ > <div class="container-fluid"> > <div class="row"> > <div id="onboarding-step3" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2"> >- <h1 id="logo"><a href="#">Koha</a></h1> >- <h2>Web installer › Create Koha administrator patron</h2> >+ <h1 id="logo"><a href="#">[% t('Koha') %]</a></h1> >+ <h2>[% t('Web installer ⺠Create Koha administrator patron') %]</h2> > > [% INCLUDE 'onboarding_messages.inc' %] > > <p> >- Now we will create a patron with superlibrarian permissions. Log in with this to access Koha as a staff member with all permissions. >+ [% t('Now we will create a patron with superlibrarian permissions. Log in with this to access Koha as a staff member with all permissions.') %] > </p> > <form name="createpatron" id="createpatron" method="post" action="onboarding.pl"> > <fieldset class="rows"> > <input type="hidden" name="step" value="3" /> > <input type="hidden" name="op" value="add_validate_patron" /> >- <h3>Administrator identity</h3> >+ <h3>[% t('Administrator identity') %]</h3> > <ol> > <li> >- <label for="surname" class="required">Surname: </label> >+ <label for="surname" class="required">[% t('Surname:') %] </label> > <input type="text" id="surname" name="surname" value="[% surname |html %]" class="required" required="required" /> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > <li> >- <label for="firstname" class="required">First name: </label> >- <input type="text" name="firstname" id="firstname" size="20" value="[% firstname |html %]" class="required" required="required"> >- <span class="required">Required</span> >+ <label for="firstname" class="required">[% t('First name:') %] </label> >+ <input type="text" name="firstname" id="firstname" size="20" value="[% firstname |html %]" class="required" required="required"> >+ <span class="required">[% t('Required') %]</span> > </li> > </ol> > > <ol> > <li> >- <label for="cardnumber" class="required">Card number: </label> >+ <label for="cardnumber" class="required">[% t('Card number:') %] </label> > [% IF patrons && patrons > 1 %] > <input type="text" id="cardnumber" class="noEnterSubmit valid" name="cardnumber" value="[% newcardnumber | html %]" class="required" required="required"> > [% ELSE %] > <input type="text" id="cardnumber" name="cardnumber" value="[% cardnumber | html %]" class="required" required="required"> > [% END %] >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > <li> > > <!--require a foreach loop to get all the values for the library that the user has either imported (in web installer) or created in the first step of this onboarding tool--> >- <label for="libraries" class="required"> Library: </label> >+ <label for="libraries" class="required"> [% t('Library:') %] </label> > <select name="libraries" size="1" id="libraries"> > [% FOREACH library IN libraries %] > <option value="[% library.branchcode %]"> [% library.branchname %] </option> > [% END %] > </select> >- <span class="required"> Required</span> >+ <span class="required"> [% t('Required') %]</span> > </li> > <li> >- <label for="categorycode_entry" class="required"> Patron category</label> >+ <label for="categorycode_entry" class="required"> [% t('Patron category') %]</label> > <select id="categorycode_entry" name="categorycode_entry"> > [% FOREACH category IN categories %] >- <option value = "[% category.categorycode %]">[%category.description %]</option> >+ <option value="[% category.categorycode %]">[%category.description %]</option> > [% END %] > </select> >- <span class="required">Required</span><br><br> >- <b>Note:</b> If you installed sample patron categories please select the "Staff" option in the patron categories dropdown box. >+ <span class="required">[% t('Required') %]</span><br><br> >+ <b>[% t('Note:') %]</b> [% t('If you installed sample patron categories please select the "Staff" option in the patron categories dropdown box.') %] > </li> > </ol> > >- <h3>Administrator account permissions</h3> >+ <h3>[% t('Administrator account permissions') %]</h3> > <ol> > <li> > <input type="hidden" name="newflags" value="1" /> > <input type="hidden" class="flag parent" id="flag-0" name="flag" value="superlibrarian" /> >- <code> superlibrarian</code> >+ <code> [% t('superlibrarian') %]</code> > </li> > </ol> > >- <h3>Administrator login</h3> >+ <h3>[% t('Administrator login') %]</h3> > <ol> > <li> >- <label for="userid" class="required">Username: </label> >- <input type="text" name="userid" id ="userid" size="20" value="[% userid |html %]" class="required" required="required" /> >- <span class="required">Required</span> >+ <label for="userid" class="required">[% t('Username:') %] </label> >+ <input type="text" name="userid" id="userid" size="20" value="[% userid |html %]" class="required" required="required" /> >+ <span class="required">[% t('Required') %]</span> > </li> > <li> >- <label for="password" class="required">Password: </label> >+ <label for="password" class="required">[% t('Password:') %] </label> > <input type="password" name="password" id="password" size="20" value="[% member.password |html %]" class="required" required="required"> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > <li> >- <label for="password2" class="required">Confirm password: </label> >+ <label for="password2" class="required">[% t('Confirm password:') %] </label> > <input type="password" id="password2" name="password2" size="20" value="" class="required" required="required"> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > </ol> > <p> >- To create another patron, go to: >- <span class="breadcrumbs">Patrons › New patron</span> >+ [% t('To create another patron, go to:') %] >+ <span class="breadcrumbs">[% t('Patrons ⺠New patron') %]</span> > </p> > <p> >- To edit patron permissions, go to: >- <span class="breadcrumbs">More › Set permissions</span> >+ [% t('To edit patron permissions, go to:') %] >+ <span class="breadcrumbs">[% t('More ⺠Set permissions') %]</span> > </p> > </fieldset> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep4.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep4.tt >index ec9c7b6d9e..b3cafd44df 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep4.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep4.tt >@@ -1,5 +1,6 @@ >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Web installer › Create a new item type </title> >+<title>[% t('Koha ⺠Web installer ⺠Create a new item type') %] </title> > [% INCLUDE 'installer-doc-head-close.inc' %] > [% INCLUDE 'validator-strings.inc' %] > [% INCLUDE 'installer-strings.inc' %] >@@ -10,16 +11,16 @@ > <div class="container-fluid"> > <div class="row"> > <div id="onboarding-step4" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2"> >- <h1 id="logo"><a href="#">Koha</a></h1> >- <h2>Web installer › Create a new item type </h2> >+ <h1 id="logo"><a href="#">[% t('Koha') %]</a></h1> >+ <h2>[% t('Web installer ⺠Create a new item type') %] </h2> > > [% INCLUDE 'onboarding_messages.inc' %] > > <!--Create a item type screen 1--> > >- <p> Item types are used to group related items. Examples of item types might be books, CDs, or DVDs.</p> >- <p> When adding to your institution's catalog you will create an item of a particular item type.</p> >- <p> Importantl: Item types are what you apply circulation rules to. Circulation rules govern how your institution will lend its items: Checkout length, renewal policy, hold policy, etc. For example a circulation rule applied to the DVD item type may enforce a payment of $1.00 for checking out any DVD.</p> >+ <p> [% t('Item types are used to group related items. Examples of item types might be books, CDs, or DVDs.') %]</p> >+ <p> [% t('When adding to your institution\'s catalog you will create an item of a particular item type.') %]</p> >+ <p> [% t('Importantl: Item types are what you apply circulation rules to. Circulation rules govern how your institution will lend its items: Checkout length, renewal policy, hold policy, etc. For example a circulation rule applied to the DVD item type may enforce a payment of $1.00 for checking out any DVD.') %]</p> > > <form id="createitemform" method="post" action="onboarding.pl"> > <fieldset class="rows"> >@@ -27,20 +28,20 @@ > <input type="hidden" name="op" value="add_validate_itemtype" /> > <ol> > <li> >- <label for="itemtype" class="required">Item type code: </label> >- <input type="text" name="itemtype" pattern="[0-9A-Za-z]{1,10}" id="itemtype" size="10" maxlength="10" class="required" required="required" value="[% itemtype.itemtype |html %]" /> >- <span class="required">Required</span> >+ <label for="itemtype" class="required">[% t('Item type code:') %] </label> >+ <input type="text" name="itemtype" pattern="[0-9A-Za-z]{1,10}" id="itemtype" size="10" maxlength="10" class="required" required="required" value="[% itemtype.itemtype |html %]" /> >+ <span class="required">[% t('Required') %]</span> > </li> > > <li> >- <label for="description" class="required">Description: </label> >+ <label for="description" class="required">[% t('Description:') %] </label> > <input type="text" name="description" id="description" size="42" value="[% itemtype.description |html %]" class="required" required="required"> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > </ol> > >- <p> To create another item type later and for more settings go to: >- <span class="breadcrumbs"> Administration › Item types </span> >+ <p> [% t('To create another item type later and for more settings go to:') %] >+ <span class="breadcrumbs"> [% t('Administration ⺠Item types') %] </span> > </p> > <input type="submit" class="btn btn-primary" value="Submit" /> > </fieldset> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt >index dfae544472..70d15efab9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt >@@ -1,9 +1,10 @@ >+[% PROCESS 'i18n.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Web installer › >+<title>[% t('Koha ⺠Web installer âº') %] > [% IF all_done %] >- Complete >+ [% t('Complete') %] > [% ELSE %] >- Create circulation rule >+ [% t('Create circulation rule') %] > [% END %] > </title> > [% INCLUDE 'installer-doc-head-close.inc' %] >@@ -16,75 +17,75 @@ > <div class="container-fluid"> > <div class="row"> > <div id="onboarding-step5" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2"> >- <h1 id="logo"><a href="#">Koha</a></h1> >+ <h1 id="logo"><a href="#">[% t('Koha') %]</a></h1> > > [% IF all_done %] > >- <h2>Web installer › Complete</h2> >+ <h2>[% t('Web installer ⺠Complete') %]</h2> > [% INCLUDE 'onboarding_messages.inc' %] >- <h3>Congratulations you have finished and are ready to use Koha</h3> >- <a class="btn btn-success" href="/cgi-bin/koha/mainpage.pl">Start using Koha</a> >+ <h3>[% t('Congratulations you have finished and are ready to use Koha') %]</h3> >+ <a class="btn btn-success" href="/cgi-bin/koha/mainpage.pl">[% t('Start using Koha') %]</a> > > [% ELSE %] > >- <h2>Web installer › Create a new circulation rule </h2> >+ <h2>[% t('Web installer ⺠Create a new circulation rule') %] </h2> > > [% INCLUDE 'onboarding_messages.inc' %] > > <form name="createcirculationrule" method="post" action="onboarding.pl"> > <fieldset class="rows"> >- <input type="hidden" name="step" value="5"/> >+ <input type="hidden" name="step" value="5" /> > <input type="hidden" name="op" value="add_validate_circ_rule" /> > <ol> > <li> >- <label for="branchname" class="required"> Library branch</label> >+ <label for="branchname" class="required"> [% t('Library branch') %]</label> > <select name="branch" id="branchname" required="required"> >- <option value=""> Choose</option> >- <option value="*" selected="selected">All</option> >+ <option value=""> [% t('Choose') %]</option> >+ <option value="*" selected="selected">[% t('All') %]</option> > [% FOREACH library IN libraries %] > <option value="[% library.branchcode %]"> [% library.branchname %]</option> > [% END %] > </select> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > <li> >- <label for="categorycode" class="required">Patron category: </label> >+ <label for="categorycode" class="required">[% t('Patron category:') %] </label> > <select name="categorycode" id="categorycode" required="required"> >- <option value=""> Choose</option> >- <option value="*" selected="selected">All</option> >+ <option value=""> [% t('Choose') %]</option> >+ <option value="*" selected="selected">[% t('All') %]</option> > [% FOREACH category IN categories %] >- <option value = "[% category.categorycode %]"> [%category.description %]</option> >+ <option value="[% category.categorycode %]"> [%category.description %]</option> > [%END%] > </select> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > > <li> >- <label for="itemtype"> Item type: </label> >+ <label for="itemtype"> [% t('Item type:') %] </label> > <select id="itemtype" name="itemtype" required="required"> >- <option value=""> Choose </option> >- <option value="*" selected="selected">All</option> >+ <option value=""> [% t('Choose') %] </option> >+ <option value="*" selected="selected">[% t('All') %]</option> > [% FOREACH item IN itemtypes %] >- <option value = "[% item.itemtype %]"> [% item.itemtype %] >+ <option value="[% item.itemtype %]"> [% item.itemtype %] > [%END%] > </select> >- <span class="required"> Required</span> >+ <span class="required"> [% t('Required') %]</span> > </li> > <li> >- <label for="maxissueqty" class="required">Current checkouts allowed: </label> >+ <label for="maxissueqty" class="required">[% t('Current checkouts allowed:') %] </label> > <input type="number" min="0" name="maxissueqty" id="maxissueqty" size="10" value="50" class="required" required="required" /> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > > <li> >- <label for="issuelength" class="required">Loan period: </label> >+ <label for="issuelength" class="required">[% t('Loan period:') %] </label> > <input type="number" min="0" name="issuelength" id="issuelength" size="10" value="14" class="required" required="required" /> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > <li> >- <label for="lengthunit">Units: </label> >+ <label for="lengthunit">[% t('Units:') %] </label> > <select name="lengthunit" id="lengthunit" required="required"> >- <option value=""> Choose </option> >+ <option value=""> [% t('Choose') %] </option> > [% SET units = 'days' %] > [% IF category %] > [% SET default_privacy = category.default_privacy %] >@@ -92,39 +93,39 @@ > > [% SWITCH units %] > [% CASE 'days' %] >- <option value="days" selected="selected">Days</option> >- <option value="hours">Hours</option> >+ <option value="days" selected="selected">[% t('Days') %]</option> >+ <option value="hours">[% t('Hours') %]</option> > [% CASE 'hours' %] >- <option value="days">Days</option> >- <option value="hours" selected="selected">Hours</option> >+ <option value="days">[% t('Days') %]</option> >+ <option value="hours" selected="selected">[% t('Hours') %]</option> > [% END %] > </select> > </li> > <li> >- <label for="renewalsallowed" class="required">Renewals allowed: </label> >+ <label for="renewalsallowed" class="required">[% t('Renewals allowed:') %] </label> > <input type="number" min="0" name="renewalsallowed" id="renewalsallowed" size="10" max="10" value="10" class="required" required="required" /> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > > <li> >- <label for="renewalperiod" class="required">Renewals period: </label> >+ <label for="renewalperiod" class="required">[% t('Renewals period:') %] </label> > <input type="number" min="0" name="renewalperiod" id="renewalperiod" size="10" value="14" class="required" required="required" /> >- <span class="required">Required</span> >+ <span class="required">[% t('Required') %]</span> > </li> > > <li> >- <label for="onshelfholds">On shelf holds allowed: </label> >+ <label for="onshelfholds">[% t('On shelf holds allowed:') %] </label> > <select name="onshelfholds" id="onshelfholds" required="required"> >- <option value="">Choose</option> >- <option value="1" selected="selected">Yes</option> >- <option value="0">If any unavailable</option> >- <option value="2">If all unavailable</option> >+ <option value="">[% t('Choose') %]</option> >+ <option value="1" selected="selected">[% t('Yes') %]</option> >+ <option value="0">[% t('If any unavailable') %]</option> >+ <option value="2">[% t('If all unavailable') %]</option> > </select> > </li> > </ol> > <p> >- To create circulation rule, go to: >- <span class="breadcrumbs">Administration › Circulation and fine rules </span> >+ [% t('To create circulation rule, go to:') %] >+ <span class="breadcrumbs">[% t('Administration ⺠Circulation and fine rules') %] </span> > </p> > > </fieldset> >-- >2.17.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20988
:
76333
|
76334
|
76335
|
76336
|
76337
|
76338
|
76339
|
76340
|
76341
|
76342
|
76343
|
76344
|
76345
|
76346
|
76347
|
76348
|
76349
|
76350
|
76351
|
76352
|
76353
|
76354
|
76355
|
76356
|
76357
|
76358
|
76359
|
76360
|
76361
|
76362
|
76363
|
76364
|
76365
|
76934
|
76935