462d4c0b9a
To test: Apply patch Do a database update (e.g. by changing version number in kohaversion.pl) Find new system preference 'addressformat' in I18N/L10N Choose 'German style' Go to Patrons and edit a patron / create new patron Verify that Zip code appears above City Change system preference to 'US style' Verify that Zip code appears between State and Country. BTW: New formats can be added by editing i18n_l10n.pref (add a new code, e.g. fr for "French style") and copy / modify the includes using the same code as postfix. Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> Patch amended to move street number after address. /Marc Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> Amended do resolve conflict with updatedatabase.pl /Marc Rebased for current master /Marc Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
54 lines
1.9 KiB
Text
54 lines
1.9 KiB
Text
I18N/L10N:
|
|
-
|
|
- Format dates like
|
|
- pref: dateformat
|
|
default: us
|
|
choices:
|
|
us: mm/dd/yyyy
|
|
metric: dd/mm/yyyy
|
|
iso: yyyy-mm-dd
|
|
- . <b>Note:</b> Do not change this preference on a production server with overdue items that are accruing fines. Doing so will result in duplicate fines!
|
|
-
|
|
- Format times in
|
|
- pref: TimeFormat
|
|
default: 24hr
|
|
choices:
|
|
24hr: 24 hour format ( e.g. "14:18" )
|
|
12hr: 12 hour format ( e.g. "02:18 PM" )
|
|
- . <b>Note:</b> Do not change this preference on a production server with overdue items that are accruing fines. Doing so will result in duplicate fines!
|
|
-
|
|
- Use
|
|
- pref: CalendarFirstDayOfWeek
|
|
default: Sunday
|
|
choices:
|
|
Sunday: Sunday
|
|
Monday: Monday
|
|
- as the first day of week in the calendar.
|
|
-
|
|
- "Enable the following languages on the staff interface:"
|
|
- pref: language
|
|
type: staff-languages
|
|
-
|
|
- pref: opaclanguagesdisplay
|
|
default: 0
|
|
choices:
|
|
yes: Allow
|
|
no: "Don't allow"
|
|
- patrons to change the language they see on the OPAC.
|
|
-
|
|
- "Enable the following languages on the OPAC:"
|
|
- pref: opaclanguages
|
|
type: opac-languages
|
|
-
|
|
- "Use the alphabet"
|
|
- pref: alphabet
|
|
class: long
|
|
- "for lists of browsable letters. This should be a space separated list of uppercase letters."
|
|
- "<br/> Hint: Changing collation in the database for the 'surname' column of the 'borrowers' table is helpful to make browsing by last name work in members-home.pl when using an alphabet outside of A-Z"
|
|
-
|
|
- Format postal addresses using
|
|
- pref: addressformat
|
|
default: us
|
|
choices:
|
|
us: US style
|
|
de: German style
|