[% t('Card number can be up to') %] [% maxlength_cardnumber %] [% t('characters.') %]
[% ELSE %]
There is no minimum or maximum character length.
+ [% IF mandatorycardnumber %]
[% t('Required') %] [% END %]
+
[% t('There is no minimum or maximum character length.') %]
[% END %]
[% IF autoMemberNum %]
[% IF mandatorycardnumber %]
- AutoMemberNum is set to enabled, but cardnumber is marked as mandatory in BorrowerMandatoryField: auto calc has been disabled.
+ [% t('AutoMemberNum is set to enabled, but cardnumber is marked as mandatory in BorrowerMandatoryField: auto calc has been disabled.') %]
[% ELSE %]
- Leave blank for auto calc during registration
+ [% t('Leave blank for auto calc during registration') %]
[% END %]
[% END %]
@@ -551,25 +552,25 @@
[% END %]
[% UNLESS nobranchcode %]
- Library:
+ [% t('Library:') %]
[% PROCESS options_for_libraries libraries => Branches.all( selected => userbranch, only_from_group => 1 ) %]
- Required
+ [% t('Required') %]
[% END %]
- Category:
+ [% t('Category:') %]
[% FOREACH typeloo IN typeloop %]
[% FOREACH categoryloo IN typeloo.categoryloop %]
[% IF ( loop.first ) %]
- [% IF ( typeloo.typename_C ) %][% END %]
- [% IF ( typeloo.typename_A ) %][% END %]
- [% IF ( typeloo.typename_S ) %][% END %]
- [% IF ( typeloo.typename_I ) %][% END %]
- [% IF ( typeloo.typename_P ) %][% END %]
- [% IF ( typeloo.typename_X ) %][% END %]
+ [% IF ( typeloo.typename_C ) %][% END %]
+ [% IF ( typeloo.typename_A ) %][% END %]
+ [% IF ( typeloo.typename_S ) %][% END %]
+ [% IF ( typeloo.typename_I ) %][% END %]
+ [% IF ( typeloo.typename_P ) %][% END %]
+ [% IF ( typeloo.typename_X ) %][% END %]
[% END %]
[% IF ( categoryloo.categorycodeselected ) %]
[% categoryloo.categoryname %]
@@ -582,7 +583,7 @@
[% END %]
[% END %]
- Required
+ [% t('Required') %]
[% UNLESS nosort1 %]
@@ -591,9 +592,9 @@
[% ELSE %]
[% END %]
- Sort 1:
+ [% t('Sort 1:') %]
[% PROCESS 'av-build-dropbox.inc' name="sort1", category="Bsort1", default=sort1, size = 20 %]
- [% IF ( mandatorysort1 ) %]Required [% END %]
+ [% IF ( mandatorysort1 ) %][% t('Required') %] [% END %]
[% END %]
[% UNLESS nosort2 %]
@@ -603,47 +604,47 @@
[% ELSE %]
[% END %]
- Sort 2:
+ [% t('Sort 2:') %]
[% PROCESS 'av-build-dropbox.inc' name="sort2", category="Bsort2", default=sort2, size = 20 %]
- [% IF ( mandatorysort2 ) %]
Required [% END %]
+ [% IF ( mandatorysort2 ) %]
[% t('Required') %] [% END %]
[% END %]
[% IF ( Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 ) %]
- Sync with the Norwegian national patron database:
+ [% t('Sync with the Norwegian national patron database:') %]
[% IF ( sync == 0 ) %]
- Yes
- No
+ [% t('Yes') %]
+ [% t('No') %]
[% ELSE %]
- Yes
- No
+ [% t('Yes') %]
+ [% t('No') %]
[% END %]
[% END %]
[% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %]
-
Check for previous checkouts:
+ [% t('Check for previous checkouts:') %]
[% IF ( checkprevcheckout == 'yes' ) %]
- Yes if settings allow it
- No if settings allow it
- Inherit from settings
+ [% t('Yes if settings allow it') %]
+ [% t('No if settings allow it') %]
+ [% t('Inherit from settings') %]
[% ELSIF ( checkprevcheckout == 'no' ) %]
- Yes if settings allow it
- No if settings allow it
- Inherit from settings
+ [% t('Yes if settings allow it') %]
+ [% t('No if settings allow it') %]
+ [% t('Inherit from settings') %]
[% ELSE %]
- Yes if settings allow it
- No if settings allow it
- Inherit from settings
+ [% t('Yes if settings allow it') %]
+ [% t('No if settings allow it') %]
+ [% t('Inherit from settings') %]
[% END %]
[% END %]
[% IF Koha.Preference('TranslateNotices') %]
- Preferred language for notices:
+ [% t('Preferred language for notices:') %]
- Default
+ [% t('Default') %]
[% FOR language IN languages %]
[% FOR sublanguage IN language.sublanguages_loop %]
[% IF language.plural %]
@@ -668,7 +669,7 @@
[% UNLESS nodateenrolled && noopacnote && noborrowernotes %]
- Library set-up
+ [% t('Library set-up') %]
[% UNLESS nodateenrolled %]
[% IF ( mandatorydateenrolled ) %]
@@ -676,14 +677,14 @@
[% ELSE %]
[% END %]
- Registration date:
+ [% t('Registration date:') %]
[% IF ( dateformat == "metric" ) %]
-
+
[% ELSE %]
-
+
[% END %]
- [% IF ( mandatorydateenrolled ) %]Required [% END %]
- [% IF ( ERROR_dateenrolled ) %](Error) [% END %]
+ [% IF ( mandatorydateenrolled ) %][% t('Required') %] [% END %]
+ [% IF ( ERROR_dateenrolled ) %][% t('(Error)') %] [% END %]
[% INCLUDE 'date-format.inc' %]
[% END %]
@@ -697,22 +698,22 @@
[% ELSE %]
[% END %]
- Expiry date (leave blank for auto calc):
+ [% t('Expiry date (leave blank for auto calc):') %]
[% IF ( dateformat == "metric" ) %]
[% UNLESS ( opadd ) %]
-
+
[% ELSE %]
-
+
[% END %]
[% ELSE %]
[% UNLESS ( opadd ) %]
-
+
[% ELSE %]
-
+
[% END %]
[% END %]
- [% IF ( mandatorydateexpiry ) %]Required [% END %]
- [% IF ( ERROR_dateexpiry ) %](Error) [% END %]
+ [% IF ( mandatorydateexpiry ) %][% t('Required') %] [% END %]
+ [% IF ( ERROR_dateexpiry ) %][% t('(Error)') %] [% END %]
[% INCLUDE 'date-format.inc' %]
[% UNLESS noopacnote %]
@@ -722,10 +723,10 @@
[% ELSE %]
[% END %]
- OPAC note:
+ [% t('OPAC note:') %]
-
This message appears on this patron's user page in the OPAC
- [% IF ( mandatoryopacnote ) %]
Required [% END %]
+
[% t('This message appears on this patron\'s user page in the OPAC') %]
+ [% IF ( mandatoryopacnote ) %]
[% t('Required') %] [% END %]
[% END %]
[% UNLESS noborrowernotes %]
@@ -735,10 +736,10 @@
[% ELSE %]
[% END %]
- Circulation note:
+ [% t('Circulation note:') %]
-
This message displays when checking out to this patron
- [% IF ( mandatoryborrowernotes ) %]
Required [% END %]
+
[% t('This message displays when checking out to this patron') %]
+ [% IF ( mandatoryborrowernotes ) %]
[% t('Required') %] [% END %]
[% END %]
@@ -747,7 +748,7 @@
[% UNLESS nouserid && nopassword %]
- OPAC/Staff login
+ [% t('OPAC/Staff login') %]
[% UNLESS nouserid %]
[% IF ( mandatoryuserid ) %]
@@ -755,7 +756,7 @@
[% ELSE %]
[% END %]
- Username:
+ [% t('Username:') %]
[% IF ( NoUpdateLogin ) %]
[% IF ( opduplicate ) %]
@@ -774,7 +775,7 @@
[%# Dummy input to avoid Firefox from using userid/password saved for authentication %]
- [% IF ( mandatoryuserid ) %]Required [% END %]
+ [% IF ( mandatoryuserid ) %][% t('Required') %] [% END %]
[%END %]
[% UNLESS nopassword %]
@@ -784,13 +785,13 @@
[% ELSE %]
[% END %]
- Password:
+ [% t('Password:') %]
[% IF ( opadd ) %]
[% IF ( NoUpdateLogin ) %]
[% IF ( opduplicate ) %]
-
+
[% ELSE %]
-
+
[% END %]
[% ELSE %]
[% IF ( opduplicate ) %]
@@ -802,7 +803,7 @@
[% ELSE %]
[% IF ( password ) %]
[% IF ( NoUpdateLogin ) %]
-
+
[% ELSE %]
[% IF ( opduplicate ) %]
@@ -812,17 +813,17 @@
[% END %]
[% ELSE %]
[% IF ( NoUpdateLogin ) %]
-
+
[% ELSE %]
[% END %]
[% END %]
[% END %]
- [% IF ( mandatorypassword ) %]Required [% END %]
- [% IF ( ERROR_password_too_short ) %]Password is too short [% END %]
- [% IF ( ERROR_password_too_weak ) %]Password is too weak [% END %]
- [% IF ( ERROR_password_has_whitespaces ) %]Password has leading or trailing whitespaces [% END %]
- Minimum password length: [% minPasswordLength %]
+ [% IF ( mandatorypassword ) %][% t('Required') %] [% END %]
+ [% IF ( ERROR_password_too_short ) %][% t('Password is too short') %] [% END %]
+ [% IF ( ERROR_password_too_weak ) %][% t('Password is too weak') %] [% END %]
+ [% IF ( ERROR_password_has_whitespaces ) %][% t('Password has leading or trailing whitespaces') %] [% END %]
+ [% t('Minimum password length:') %] [% minPasswordLength %]
[% IF ( mandatorypassword ) %]
@@ -830,13 +831,13 @@
[% ELSE %]
[% END %]
- Confirm password:
+ [% t('Confirm password:') %]
[% IF ( opadd ) %]
[% IF ( NoUpdateLogin ) %]
[% IF ( opduplicate ) %]
-
+
[% ELSE %]
-
+
[% END %]
[% ELSE %]
[% IF ( opduplicate ) %]
@@ -848,7 +849,7 @@
[% ELSE %]
[% IF ( password ) %]
[% IF ( NoUpdateLogin ) %]
-
+
[% ELSE %]
[% IF ( opduplicate ) %]
@@ -858,13 +859,13 @@
[% END %]
[% ELSE %]
[% IF ( NoUpdateLogin ) %]
-
+
[% ELSE %]
[% END %]
[% END %]
[% END %]
- [% IF ( mandatorypassword ) %]Required [% END %][% IF ( ERROR_password_mismatch ) %]Passwords do not match [% END %]
+ [% IF ( mandatorypassword ) %][% t('Required') %] [% END %][% IF ( ERROR_password_mismatch ) %][% t('Passwords do not match') %] [% END %]
@@ -872,12 +873,12 @@
[% UNLESS ( opadd || opduplicate ) %]
- Patron account flags
+ [% t('Patron account flags') %]
[% FOREACH flagloo IN flagloop %]
- [% IF ( flagloo.key == 'gonenoaddress' ) %]Gone no address:[% END %]
- [% IF ( flagloo.key == 'lost' ) %]Lost card:[% END %]
+ [% IF ( flagloo.key == 'gonenoaddress' ) %][% t('Gone no address:') %][% END %]
+ [% IF ( flagloo.key == 'lost' ) %][% t('Lost card:') %][% END %]
[% IF CAN_user_circulate_manage_restrictions %]
@@ -886,16 +887,16 @@
[% ELSE %]
[% END %]
- Yes
+ [% t('Yes') %]
[% IF ( flagloo.no ) %]
-
+
[% ELSE %]
[% END %]
- No
+ [% t('No') %]
[% ELSE %]
- [% IF flagloo.yes %]Yes[% ELSE %]No[% END %]
+ [% IF flagloo.yes %][% t('Yes') %][% ELSE %][% t('No') %][% END %]
[% END %]
@@ -905,18 +906,18 @@
- Patron restrictions
+ [% t('Patron restrictions') %]
[% IF ( debarments ) %]
- Type
- Comment
- Expiration
- Created
+ [% t('Type') %]
+ [% t('Comment') %]
+ [% t('Expiration') %]
+ [% t('Created') %]
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
- Remove?
+ [% t('Remove?') %]
[% END %]
@@ -927,12 +928,12 @@
[% d.type %]
[% IF d.comment.search('OVERDUES_PROCESS') %]
- Restriction added by overdues process [% d.comment.remove('OVERDUES_PROCESS ') %]
+ [% t('Restriction added by overdues process') %] [% d.comment.remove('OVERDUES_PROCESS ') %]
[% ELSE %]
[% d.comment %]
[% END %]
- [% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] Indefinite [% END %]
+ [% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] [% t('Indefinite') %] [% END %]
[% d.created | $KohaDates %]
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
@@ -944,22 +945,22 @@
[% ELSE %]
- Patron is currently unrestricted.
+ [% t('Patron is currently unrestricted.') %]
[% END %]
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
- Add manual restriction
+ [% t('Add manual restriction') %]
- Add manual restriction
+ [% t('Add manual restriction') %]
- Comment:
- Expiration:
- Clear date
+ [% t('Comment:') %]
+ [% t('Expiration:') %]
+ [% t('Clear date') %]
- Cancel
+ [% t('Cancel') %]
[% END %]
@@ -971,48 +972,36 @@
[% IF ( step_4 ) %]
[% IF Koha.Preference('HouseboundModule') %]
- Housebound roles
+ [% t('Housebound roles') %]
- Chooser:
+ [% t('Chooser:') %]
[% IF ( housebound_role.housebound_chooser == 1 ) %]
- Yes
-
- No
-
+ [% t('Yes') %]
+
+ [% t('No') %]
+
[% ELSE %]
- Yes
-
- No
-
+ [% t('Yes') %]
+
+ [% t('No') %]
+
[% END %]
- Deliverer:
+ [% t('Deliverer:') %]
[% IF ( housebound_role.housebound_deliverer == 1 ) %]
- Yes
-
- No
-
+ [% t('Yes') %]
+
+ [% t('No') %]
+
[% ELSE %]
- Yes
-
- No
-
+ [% t('Yes') %]
+
+ [% t('No') %]
+
[% END %]
@@ -1020,7 +1009,7 @@
[% END # hide fieldset %]
[% IF ( ExtendedPatronAttributes ) %][% UNLESS ( no_patron_attribute_types ) %]
- Additional attributes and identifiers
+ [% t('Additional attributes and identifiers') %]
[% FOREACH pa_loo IN patron_attributes %]
[% IF pa_loo.class %]
@@ -1040,7 +1029,7 @@
[% auth_val_loo.lib %]
[% ELSE %]
-
+
[% auth_val_loo.lib %]
[% END %]
@@ -1050,9 +1039,9 @@
[% END %]
- Clear
+ [% t('Clear') %]
[% IF ( patron_attribute.repeatable ) %]
- New
+ [% t('New') %]
[% END %]
[% END %]
@@ -1064,7 +1053,7 @@
[% IF ( step_5 ) %][% IF ( EnhancedMessagingPreferences ) %]
- Patron messaging preferences
+ [% t('Patron messaging preferences') %]
[% IF ( opadd ) %]
[% FOREACH koha_new IN koha_news %]
[% koha_new.title %]
[% koha_new.content %]
-
[% END %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
@@ -1,3 +1,4 @@
+[% PROCESS 'i18n.inc' %]
[% USE Asset %]
[% USE Koha %]
[% USE Branches %]
@@ -6,9 +7,9 @@
[% USE ColumnsSettings %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
-Koha › Patrons ›
+[% t('Koha › Patrons ›') %]
[% UNLESS blocking_error %]
- Patron details for [% INCLUDE 'patron-title.inc' no_html = 1 %]
+ [% t('Patron details for') %] [% INCLUDE 'patron-title.inc' no_html = 1 %]
[% END %]
[% INCLUDE 'doc-head-close.inc' %]
@@ -20,9 +21,9 @@
[% INCLUDE 'patron-search.inc' %]
-
Home
-›
Patrons
-› [% UNLESS blocking_error %]Patron details for [% INCLUDE 'patron-title.inc' %][% END %]
+
[% t('Home') %]
+›
[% t('Patrons') %]
+› [% UNLESS blocking_error %][% t('Patron details for') %] [% INCLUDE 'patron-title.inc' %][% END %]
@@ -36,26 +37,26 @@
[% IF ( error ) %]
[% IF ( error == 'CANT_DELETE_STAFF' ) %]
-
Unable to delete staff user
-
Insufficient privileges.
+
[% t('Unable to delete staff user') %]
+
[% t('Insufficient privileges.') %]
[% END %]
[% IF ( error == 'CANT_DELETE_YOURSELF' ) %]
-
Not allowed to delete own account
-
Deleting your own account would lock you out of Koha.
+
[% t('Not allowed to delete own account') %]
+
[% t('Deleting your own account would lock you out of Koha.') %]
[% END %]
[% IF ( error == 'CANT_DELETE_OTHERLIBRARY' ) %]
-
Unable to delete patrons from other libraries with current settings
-
Insufficient privileges.
+
[% t('Unable to delete patrons from other libraries with current settings') %]
+
[% t('Insufficient privileges.') %]
[% END %]
[% IF ( error == 'CANT_DELETE' ) %]
-
Unable to delete patron
-
Insufficient privileges.
+
[% t('Unable to delete patron') %]
+
[% t('Insufficient privileges.') %]
[% END %]
[% END %]
- [% IF ( was_renewed ) %]
Patron's account has been renewed until [% patron.dateexpiry | $KohaDates %]
[% END %]
+ [% IF ( was_renewed ) %]
[% t('Patron\'s account has been renewed until') %] [% patron.dateexpiry | $KohaDates %]
[% END %]
[% IF fines %]
@@ -67,7 +68,7 @@
[% IF ( patron_messages ) %]
[% END %]
@@ -97,25 +98,25 @@
[% IF ( userdebarred ) %]
- Patron's account is restricted
+ [% t('Patron\'s account is restricted') %]
[% IF ( userdebarreddate ) %]
- until [% userdebarreddate %]
+ [% t('until') %] [% userdebarreddate %]
[% END %]
[% IF ( debarredcomment ) %]
- with the explanation:
+ [% t('with the explanation:') %]
[% IF debarredcomment.search('OVERDUES_PROCESS') %]
- Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | html_line_break %]
+ [% t('Restriction added by overdues process') %] [% debarredcomment.remove('OVERDUES_PROCESS ') | html_line_break %]
[% ELSE %]
[% debarredcomment | html_line_break %]
[% END %]
[% END %]
- View restrictions
+ [% t('View restrictions') %]
[% END %]
- [% IF ( patron.gonenoaddress ) %]Patron's address is in doubt. [% END %]
- [% IF ( lost ) %]Patron's card has been reported lost. [% END %]
+ [% IF ( patron.gonenoaddress ) %][% t('Patron\'s address is in doubt.') %] [% END %]
+ [% IF ( lost ) %][% t('Patron\'s card has been reported lost.') %] [% END %]
[% END %]
@@ -124,9 +125,9 @@