From 84ae450f5df5040a1536389795ea76155e93bcee Mon Sep 17 00:00:00 2001 From: miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Wed, 16 Feb 2011 20:21:17 +0000 Subject: [PATCH] Patch from Thomas Berezansky to make many older OU setting types i18n friendly git-svn-id: svn://svn.open-ils.org/ILS/trunk@19451 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 467 +++++++++++++-------------- 1 file changed, 230 insertions(+), 237 deletions(-) diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index 5100104db0..2e2ebbb8e9 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -2226,375 +2226,369 @@ INSERT into config.org_unit_setting_type ( name, label, description, datatype ) VALUES ( 'auth.opac_timeout', - 'OPAC Inactivity Timeout (in seconds)', - null, - 'integer' ), + oils_i18n_gettext('auth.opac_timeout', 'OPAC Inactivity Timeout (in seconds)', 'coust', 'label'), + oils_i18n_gettext('auth.opac_timeout', 'OPAC Inactivity Timeout (in seconds)', 'coust', 'description'), + 'integer'), ( 'auth.staff_timeout', - 'Staff Login Inactivity Timeout (in seconds)', - null, - 'integer' ), + oils_i18n_gettext('auth.staff_timeout', 'Staff Login Inactivity Timeout (in seconds)', 'coust', 'label'), + oils_i18n_gettext('auth.staff_timeout', 'Staff Login Inactivity Timeout (in seconds)', 'coust', 'description'), + 'integer'), ( 'circ.lost_materials_processing_fee', - 'Lost Materials Processing Fee', - null, - 'currency' ), + oils_i18n_gettext('circ.lost_materials_processing_fee', 'Lost Materials Processing Fee', 'coust', 'label'), + oils_i18n_gettext('circ.lost_materials_processing_fee', 'Lost Materials Processing Fee', 'coust', 'description'), + 'currency'), ( 'cat.default_item_price', - 'Default Item Price', - null, - 'currency' ), + oils_i18n_gettext('cat.default_item_price', 'Default Item Price', 'coust', 'label'), + oils_i18n_gettext('cat.default_item_price', 'Default Item Price', 'coust', 'description'), + 'currency'), ( 'org.bounced_emails', - 'Sending email address for patron notices', - null, - 'string' ), + oils_i18n_gettext('org.bounced_emails', 'Sending email address for patron notices', 'coust', 'label'), + oils_i18n_gettext('org.bounced_emails', 'Sending email address for patron notices', 'coust', 'description'), + 'string'), ( 'circ.hold_expire_alert_interval', - 'Holds: Expire Alert Interval', - 'Amount of time before a hold expires at which point the patron should be alerted', - 'interval' ), + oils_i18n_gettext('circ.hold_expire_alert_interval', 'Holds: Expire Alert Interval', 'coust', 'label'), + oils_i18n_gettext('circ.hold_expire_alert_interval', 'Amount of time before a hold expires at which point the patron should be alerted', 'coust', 'description'), + 'interval'), ( 'circ.hold_expire_interval', - 'Holds: Expire Interval', - 'Amount of time after a hold is placed before the hold expires. Example "100 days"', - 'interval' ), + oils_i18n_gettext('circ.hold_expire_interval', 'Holds: Expire Interval', 'coust', 'label'), + oils_i18n_gettext('circ.hold_expire_interval', 'Amount of time after a hold is placed before the hold expires. Example "100 days"', 'coust', 'description'), + 'interval'), ( 'credit.payments.allow', - 'Allow Credit Card Payments', - 'If enabled, patrons will be able to pay fines accrued at this location via credit card', - 'bool' ), + oils_i18n_gettext('credit.payments.allow', 'Allow Credit Card Payments', 'coust', 'label'), + oils_i18n_gettext('credit.payments.allow', 'If enabled, patrons will be able to pay fines accrued at this location via credit card', 'coust', 'description'), + 'bool'), ( 'global.default_locale', - 'Global Default Locale', - null, - 'string' ), + oils_i18n_gettext('global.default_locale', 'Global Default Locale', 'coust', 'label'), + oils_i18n_gettext('global.default_locale', 'Global Default Locale', 'coust', 'description'), + 'string'), ( 'circ.void_overdue_on_lost', - 'Void overdue fines when items are marked lost', - null, - 'bool' ), + oils_i18n_gettext('circ.void_overdue_on_lost', 'Void overdue fines when items are marked lost', 'coust', 'label'), + oils_i18n_gettext('circ.void_overdue_on_lost', 'Void overdue fines when items are marked lost', 'coust', 'description'), + 'bool'), ( 'circ.hold_stalling.soft', - 'Holds: Soft stalling interval', - 'How long to wait before allowing remote items to be opportunistically captured for a hold. Example "5 days"', - 'interval' ), + oils_i18n_gettext('circ.hold_stalling.soft', 'Holds: Soft stalling interval', 'coust', 'label'), + oils_i18n_gettext('circ.hold_stalling.soft', 'How long to wait before allowing remote items to be opportunistically captured for a hold. Example "5 days"', 'coust', 'description'), + 'interval'), ( 'circ.hold_stalling_hard', - 'Holds: Hard stalling interval', - '', - 'interval' ), + oils_i18n_gettext('circ.hold_stalling_hard', 'Holds: Hard stalling interval', 'coust', 'label'), + oils_i18n_gettext('circ.hold_stalling_hard', '', 'coust', 'description'), + 'interval'), ( 'circ.hold_boundary.hard', - 'Holds: Hard boundary', - null, - 'integer' ), + oils_i18n_gettext('circ.hold_boundary.hard', 'Holds: Hard boundary', 'coust', 'label'), + oils_i18n_gettext('circ.hold_boundary.hard', 'Holds: Hard boundary', 'coust', 'description'), + 'integer'), ( 'circ.hold_boundary.soft', - 'Holds: Soft boundary', - null, - 'integer' ), + oils_i18n_gettext('circ.hold_boundary.soft', 'Holds: Soft boundary', 'coust', 'label'), + oils_i18n_gettext('circ.hold_boundary.soft', 'Holds: Soft boundary', 'coust', 'description'), + 'integer'), ( 'opac.barcode_regex', - 'Patron barcode format', - 'Regular expression defining the patron barcode format', - 'string' ), + oils_i18n_gettext('opac.barcode_regex', 'Patron barcode format', 'coust', 'label'), + oils_i18n_gettext('opac.barcode_regex', 'Regular expression defining the patron barcode format', 'coust', 'description'), + 'string'), ( 'global.password_regex', - 'Password format', - 'Regular expression defining the password format', - 'string' ), + oils_i18n_gettext('global.password_regex', 'Password format', 'coust', 'label'), + oils_i18n_gettext('global.password_regex', 'Regular expression defining the password format', 'coust', 'description'), + 'string'), ( 'circ.item_checkout_history.max', - 'Maximum previous checkouts displayed', - 'This is the maximum number of previous circulations the staff client will display when investigating item details', - 'integer' ), + oils_i18n_gettext('circ.item_checkout_history.max', 'Maximum previous checkouts displayed', 'coust', 'label'), + oils_i18n_gettext('circ.item_checkout_history.max', 'This is the maximum number of previous circulations the staff client will display when investigating item details', 'coust', 'description'), + 'integer'), ( 'circ.reshelving_complete.interval', - 'Change reshelving status interval', - 'Amount of time to wait before changing an item from "reshelving" status to "available". Examples: "1 day", "6 hours"', - 'interval' ), + oils_i18n_gettext('circ.reshelving_complete.interval', 'Change reshelving status interval', 'coust', 'label'), + oils_i18n_gettext('circ.reshelving_complete.interval', 'Amount of time to wait before changing an item from "reshelving" status to "available". Examples: "1 day", "6 hours"', 'coust', 'description'), + 'interval'), ( 'circ.holds.default_estimated_wait_interval', - 'Holds: Default Estimated Wait', - 'When predicting the amount of time a patron will be waiting for a hold to be fulfilled, this is the default estimated length of time to assume an item will be checked out.', - 'interval' ), + oils_i18n_gettext('circ.holds.default_estimated_wait_interval', 'Holds: Default Estimated Wait', 'coust', 'label'), + oils_i18n_gettext('circ.holds.default_estimated_wait_interval', 'When predicting the amount of time a patron will be waiting for a hold to be fulfilled, this is the default estimated length of time to assume an item will be checked out.', 'coust', 'description'), + 'interval'), ( 'circ.holds.min_estimated_wait_interval', - 'Holds: Minimum Estimated Wait', - 'When predicting the amount of time a patron will be waiting for a hold to be fulfilled, this is the minimum estimated length of time to assume an item will be checked out.', - 'interval' ), + oils_i18n_gettext('circ.holds.min_estimated_wait_interval', 'Holds: Minimum Estimated Wait', 'coust', 'label'), + oils_i18n_gettext('circ.holds.min_estimated_wait_interval', 'When predicting the amount of time a patron will be waiting for a hold to be fulfilled, this is the minimum estimated length of time to assume an item will be checked out.', 'coust', 'description'), + 'interval'), ( 'circ.selfcheck.patron_login_timeout', - 'Selfcheck: Patron Login Timeout (in seconds)', - 'Number of seconds of inactivity before the patron is logged out of the selfcheck interface', - 'integer' ), + oils_i18n_gettext('circ.selfcheck.patron_login_timeout', 'Selfcheck: Patron Login Timeout (in seconds)', 'coust', 'label'), + oils_i18n_gettext('circ.selfcheck.patron_login_timeout', 'Number of seconds of inactivity before the patron is logged out of the selfcheck interface', 'coust', 'description'), + 'integer'), ( 'circ.selfcheck.alert.popup', - 'Selfcheck: Pop-up alert for errors', - 'If true, checkout/renewal errors will cause a pop-up window in addition to the on-screen message', - 'bool' ), + oils_i18n_gettext('circ.selfcheck.alert.popup', 'Selfcheck: Pop-up alert for errors', 'coust', 'label'), + oils_i18n_gettext('circ.selfcheck.alert.popup', 'If true, checkout/renewal errors will cause a pop-up window in addition to the on-screen message', 'coust', 'description'), + 'bool'), ( 'circ.selfcheck.require_patron_password', - 'Selfcheck: Require patron password', - 'If true, patrons will be required to enter their password in addition to their username/barcode to log into the selfcheck interface', - 'bool' ), + oils_i18n_gettext('circ.selfcheck.require_patron_password', 'Selfcheck: Require patron password', 'coust', 'label'), + oils_i18n_gettext('circ.selfcheck.require_patron_password', 'If true, patrons will be required to enter their password in addition to their username/barcode to log into the selfcheck interface', 'coust', 'description'), + 'bool'), ( 'global.juvenile_age_threshold', - 'Juvenile Age Threshold', - 'The age at which a user is no long considered a juvenile. For example, "18 years".', - 'interval' ), + oils_i18n_gettext('global.juvenile_age_threshold', 'Juvenile Age Threshold', 'coust', 'label'), + oils_i18n_gettext('global.juvenile_age_threshold', 'The age at which a user is no long considered a juvenile. For example, "18 years".', 'coust', 'description'), + 'interval'), ( 'cat.bib.keep_on_empty', - 'Retain empty bib records', - 'Retain a bib record even when all attached copies are deleted', - 'bool' ), + oils_i18n_gettext('cat.bib.keep_on_empty', 'Retain empty bib records', 'coust', 'label'), + oils_i18n_gettext('cat.bib.keep_on_empty', 'Retain a bib record even when all attached copies are deleted', 'coust', 'description'), + 'bool'), ( 'cat.bib.alert_on_empty', - 'Alert on empty bib records', - 'Alert staff when the last copy for a record is being deleted', - 'bool' ), + oils_i18n_gettext('cat.bib.alert_on_empty', 'Alert on empty bib records', 'coust', 'label'), + oils_i18n_gettext('cat.bib.alert_on_empty', 'Alert staff when the last copy for a record is being deleted', 'coust', 'description'), + 'bool'), ( 'patron.password.use_phone', - 'Patron: password from phone #', - 'Use the last 4 digits of the patrons phone number as the default password when creating new users', - 'bool' ), + oils_i18n_gettext('patron.password.use_phone', 'Patron: password from phone #', 'coust', 'label'), + oils_i18n_gettext('patron.password.use_phone', 'Use the last 4 digits of the patrons phone number as the default password when creating new users', 'coust', 'description'), + 'bool'), ( 'circ.charge_on_damaged', - 'Charge item price when marked damaged', - 'Charge item price when marked damaged', - 'bool' ), + oils_i18n_gettext('circ.charge_on_damaged', 'Charge item price when marked damaged', 'coust', 'label'), + oils_i18n_gettext('circ.charge_on_damaged', 'Charge item price when marked damaged', 'coust', 'description'), + 'bool'), ( 'circ.charge_lost_on_zero', - 'Charge lost on zero', - '', - 'bool' ), + oils_i18n_gettext('circ.charge_lost_on_zero', 'Charge lost on zero', 'coust', 'label'), + oils_i18n_gettext('circ.charge_lost_on_zero', '', 'coust', 'description'), + 'bool'), ( 'circ.damaged_item_processing_fee', - 'Charge processing fee for damaged items', - 'Charge processing fee for damaged items', - 'currency' ), + oils_i18n_gettext('circ.damaged_item_processing_fee', 'Charge processing fee for damaged items', 'coust', 'label'), + oils_i18n_gettext('circ.damaged_item_processing_fee', 'Charge processing fee for damaged items', 'coust', 'description'), + 'currency'), ( 'circ.void_lost_on_checkin', - 'Circ: Void lost item billing when returned', - 'Void lost item billing when returned', - 'bool' ), + oils_i18n_gettext('circ.void_lost_on_checkin', 'Circ: Void lost item billing when returned', 'coust', 'label'), + oils_i18n_gettext('circ.void_lost_on_checkin', 'Void lost item billing when returned', 'coust', 'description'), + 'bool'), ( 'circ.max_accept_return_of_lost', - 'Circ: Void lost max interval', - 'Items that have been lost this long will not result in voided billings when returned. E.g. ''6 months''', - 'interval' ), + oils_i18n_gettext('circ.max_accept_return_of_lost', 'Circ: Void lost max interval', 'coust', 'label'), + oils_i18n_gettext('circ.max_accept_return_of_lost', 'Items that have been lost this long will not result in voided billings when returned. E.g. ''6 months''', 'coust', 'description'), + 'interval'), ( 'circ.void_lost_proc_fee_on_checkin', - 'Circ: Void processing fee on lost item return', - 'Void processing fee when lost item returned', - 'bool' ), + oils_i18n_gettext('circ.void_lost_proc_fee_on_checkin', 'Circ: Void processing fee on lost item return', 'coust', 'label'), + oils_i18n_gettext('circ.void_lost_proc_fee_on_checkin', 'Void processing fee when lost item returned', 'coust', 'description'), + 'bool'), ( 'circ.restore_overdue_on_lost_return', - 'Circ: Restore overdues on lost item return', - 'Restore overdue fines on lost item return', - 'bool' ), + oils_i18n_gettext('circ.restore_overdue_on_lost_return', 'Circ: Restore overdues on lost item return', 'coust', 'label'), + oils_i18n_gettext('circ.restore_overdue_on_lost_return', 'Restore overdue fines on lost item return', 'coust', 'description'), + 'bool'), ( 'circ.lost_immediately_available', - 'Circ: Lost items usable on checkin', - 'Lost items are usable on checkin instead of going ''home'' first', - 'bool' ), + oils_i18n_gettext('circ.lost_immediately_available', 'Circ: Lost items usable on checkin', 'coust', 'label'), + oils_i18n_gettext('circ.lost_immediately_available', 'Lost items are usable on checkin instead of going ''home'' first', 'coust', 'description'), + 'bool'), ( 'circ.holds_fifo', - 'Holds: FIFO', - 'Force holds to a more strict First-In, First-Out capture', - 'bool' ), + oils_i18n_gettext('circ.holds_fifo', 'Holds: FIFO', 'coust', 'label'), + oils_i18n_gettext('circ.holds_fifo', 'Force holds to a more strict First-In, First-Out capture', 'coust', 'description'), + 'bool'), ( 'opac.allow_pending_address', - 'OPAC: Allow pending addresses', - 'If enabled, patrons can create and edit existing addresses. Addresses are kept in a pending state until staff approves the changes', - 'bool' ), + oils_i18n_gettext('opac.allow_pending_address', 'OPAC: Allow pending addresses', 'coust', 'label'), + oils_i18n_gettext('opac.allow_pending_address', 'If enabled, patrons can create and edit existing addresses. Addresses are kept in a pending state until staff approves the changes', 'coust', 'description'), + 'bool'), ( 'ui.circ.show_billing_tab_on_bills', - 'Show billing tab first when bills are present', - 'If enabled and a patron has outstanding bills and the alert page is not required, show the billing tab by default, instead of the checkout tab, when a patron is loaded', - 'bool' ), + oils_i18n_gettext('ui.circ.show_billing_tab_on_bills', 'Show billing tab first when bills are present', 'coust', 'label'), + oils_i18n_gettext('ui.circ.show_billing_tab_on_bills', 'If enabled and a patron has outstanding bills and the alert page is not required, show the billing tab by default, instead of the checkout tab, when a patron is loaded', 'coust', 'description'), + 'bool'), ( 'ui.general.idle_timeout', - 'GUI: Idle timeout', - 'If you want staff client windows to be minimized after a certain amount of system idle time, set this to the number of seconds of idle time that you want to allow before minimizing (requires staff client restart).', - 'integer' ), + oils_i18n_gettext('ui.general.idle_timeout', 'GUI: Idle timeout', 'coust', 'label'), + oils_i18n_gettext('ui.general.idle_timeout', 'If you want staff client windows to be minimized after a certain amount of system idle time, set this to the number of seconds of idle time that you want to allow before minimizing (requires staff client restart).', 'coust', 'description'), + 'integer'), ( 'ui.circ.in_house_use.entry_cap', - 'GUI: Record In-House Use: Maximum # of uses allowed per entry.', - 'The # of uses entry in the Record In-House Use interface may not exceed the value of this setting.', - 'integer' ), + oils_i18n_gettext('ui.circ.in_house_use.entry_cap', 'GUI: Record In-House Use: Maximum # of uses allowed per entry.', 'coust', 'label'), + oils_i18n_gettext('ui.circ.in_house_use.entry_cap', 'The # of uses entry in the Record In-House Use interface may not exceed the value of this setting.', 'coust', 'description'), + 'integer'), ( 'ui.circ.in_house_use.entry_warn', - 'GUI: Record In-House Use: # of uses threshold for Are You Sure? dialog.', - 'In the Record In-House Use interface, a submission attempt will warn if the # of uses field exceeds the value of this setting.', - 'integer' ), + oils_i18n_gettext('ui.circ.in_house_use.entry_warn', 'GUI: Record In-House Use: # of uses threshold for Are You Sure? dialog.', 'coust', 'label'), + oils_i18n_gettext('ui.circ.in_house_use.entry_warn', 'In the Record In-House Use interface, a submission attempt will warn if the # of uses field exceeds the value of this setting.', 'coust', 'description'), + 'integer'), ( 'acq.default_circ_modifier', - 'Default circulation modifier', - null, - 'string' ), + oils_i18n_gettext('acq.default_circ_modifier', 'Default circulation modifier', 'coust', 'label'), + oils_i18n_gettext('acq.default_circ_modifier', 'Default circulation modifier', 'coust', 'description'), + 'string'), ( 'acq.tmp_barcode_prefix', - 'Temporary barcode prefix', - null, - 'string' ), + oils_i18n_gettext('acq.tmp_barcode_prefix', 'Temporary barcode prefix', 'coust', 'label'), + oils_i18n_gettext('acq.tmp_barcode_prefix', 'Temporary barcode prefix', 'coust', 'description'), + 'string'), ( 'acq.tmp_callnumber_prefix', - 'Temporary call number prefix', - null, - 'string' ), + oils_i18n_gettext('acq.tmp_callnumber_prefix', 'Temporary call number prefix', 'coust', 'label'), + oils_i18n_gettext('acq.tmp_callnumber_prefix', 'Temporary call number prefix', 'coust', 'description'), + 'string'), ( 'ui.circ.patron_summary.horizontal', - 'Patron circulation summary is horizontal', - null, - 'bool' ), + oils_i18n_gettext('ui.circ.patron_summary.horizontal', 'Patron circulation summary is horizontal', 'coust', 'label'), + oils_i18n_gettext('ui.circ.patron_summary.horizontal', 'Patron circulation summary is horizontal', 'coust', 'description'), + 'bool'), ( 'ui.staff.require_initials', oils_i18n_gettext('ui.staff.require_initials', 'GUI: Require staff initials for entry/edit of item/patron/penalty notes/messages.', 'coust', 'label'), oils_i18n_gettext('ui.staff.require_initials', 'Appends staff initials and edit date into note content.', 'coust', 'description'), - 'bool' ), + 'bool'), ( 'ui.general.button_bar', - 'Button bar', - null, - 'bool' ), + oils_i18n_gettext('ui.general.button_bar', 'Button bar', 'coust', 'label'), + oils_i18n_gettext('ui.general.button_bar', 'Button bar', 'coust', 'description'), + 'bool'), ( 'circ.hold_shelf_status_delay', - 'Hold Shelf Status Delay', - 'The purpose is to provide an interval of time after an item goes into the on-holds-shelf status before it appears to patrons that it is actually on the holds shelf. This gives staff time to process the item before it shows as ready-for-pickup.', - 'interval' ), + oils_i18n_gettext('circ.hold_shelf_status_delay', 'Hold Shelf Status Delay', 'coust', 'label'), + oils_i18n_gettext('circ.hold_shelf_status_delay', 'The purpose is to provide an interval of time after an item goes into the on-holds-shelf status before it appears to patrons that it is actually on the holds shelf. This gives staff time to process the item before it shows as ready-for-pickup.', 'coust', 'description'), + 'interval'), ( 'circ.patron_invalid_address_apply_penalty', - 'Invalid patron address penalty', - 'When set, if a patron address is set to invalid, a penalty is applied.', - 'bool' ), + oils_i18n_gettext('circ.patron_invalid_address_apply_penalty', 'Invalid patron address penalty', 'coust', 'label'), + oils_i18n_gettext('circ.patron_invalid_address_apply_penalty', 'When set, if a patron address is set to invalid, a penalty is applied.', 'coust', 'description'), + 'bool'), ( 'circ.checkout_fills_related_hold', - 'Checkout Fills Related Hold', - 'When a patron checks out an item and they have no holds that directly target the item, the system will attempt to find a hold for the patron that could be fulfilled by the checked out item and fulfills it', - 'bool'), + oils_i18n_gettext('circ.checkout_fills_related_hold', 'Checkout Fills Related Hold', 'coust', 'label'), + oils_i18n_gettext('circ.checkout_fills_related_hold', 'When a patron checks out an item and they have no holds that directly target the item, the system will attempt to find a hold for the patron that could be fulfilled by the checked out item and fulfills it', 'coust', 'description'), + 'bool'), ( 'circ.selfcheck.auto_override_checkout_events', - 'Selfcheck override events list', - 'List of checkout/renewal events that the selfcheck interface should automatically override instead instead of alerting and stopping the transaction', - 'array' ), + oils_i18n_gettext('circ.selfcheck.auto_override_checkout_events', 'Selfcheck override events list', 'coust', 'label'), + oils_i18n_gettext('circ.selfcheck.auto_override_checkout_events', 'List of checkout/renewal events that the selfcheck interface should automatically override instead instead of alerting and stopping the transaction', 'coust', 'description'), + 'array'), ( 'circ.staff_client.do_not_auto_attempt_print', - 'Disable Automatic Print Attempt Type List', - 'Disable automatic print attempts from staff client interfaces for the receipt types in this list. Possible values: "Checkout", "Bill Pay", "Hold Slip", "Transit Slip", and "Hold/Transit Slip". This is different from the Auto-Print checkbox in the pertinent interfaces in that it disables automatic print attempts altogether, rather than encouraging silent printing by suppressing the print dialog. The Auto-Print checkbox in these interfaces have no effect on the behavior for this setting. In the case of the Hold, Transit, and Hold/Transit slips, this also suppresses the alert dialogs that precede the print dialog (the ones that offer Print and Do Not Print as options).', - 'array' ), + oils_i18n_gettext('circ.staff_client.do_not_auto_attempt_print', 'Disable Automatic Print Attempt Type List', 'coust', 'label'), + oils_i18n_gettext('circ.staff_client.do_not_auto_attempt_print', 'Disable automatic print attempts from staff client interfaces for the receipt types in this list. Possible values: "Checkout", "Bill Pay", "Hold Slip", "Transit Slip", and "Hold/Transit Slip". This is different from the Auto-Print checkbox in the pertinent interfaces in that it disables automatic print attempts altogether, rather than encouraging silent printing by suppressing the print dialog. The Auto-Print checkbox in these interfaces have no effect on the behavior for this setting. In the case of the Hold, Transit, and Hold/Transit slips, this also suppresses the alert dialogs that precede the print dialog (the ones that offer Print and Do Not Print as options).', 'coust', 'description'), + 'array'), ( 'ui.patron.default_inet_access_level', - 'Default level of patrons'' internet access', - null, - 'integer' ), + oils_i18n_gettext('ui.patron.default_inet_access_level', 'Default level of patrons'' internet access', 'coust', 'label'), + oils_i18n_gettext('ui.patron.default_inet_access_level', 'Default level of patrons'' internet access', 'coust', 'description'), + 'integer'), ( 'circ.max_patron_claim_return_count', - 'Max Patron Claims Returned Count', - 'When this count is exceeded, a staff override is required to mark the item as claims returned', - 'integer' ), + oils_i18n_gettext('circ.max_patron_claim_return_count', 'Max Patron Claims Returned Count', 'coust', 'label'), + oils_i18n_gettext('circ.max_patron_claim_return_count', 'When this count is exceeded, a staff override is required to mark the item as claims returned', 'coust', 'description'), + 'integer'), ( 'circ.obscure_dob', - 'Obscure the Date of Birth field', - 'When true, the Date of Birth column in patron lists will default to Not Visible, and in the Patron Summary sidebar the value will display as <Hidden> unless the field label is clicked.', - 'bool' ), + oils_i18n_gettext('circ.obscure_dob', 'Obscure the Date of Birth field', 'coust', 'label'), + oils_i18n_gettext('circ.obscure_dob', 'When true, the Date of Birth column in patron lists will default to Not Visible, and in the Patron Summary sidebar the value will display as <Hidden> unless the field label is clicked.', 'coust', 'description'), + 'bool'), ( 'circ.auto_hide_patron_summary', - 'GUI: Toggle off the patron summary sidebar after first view.', - 'When true, the patron summary sidebar will collapse after a new patron sub-interface is selected.', - 'bool' ), + oils_i18n_gettext('circ.auto_hide_patron_summary', 'GUI: Toggle off the patron summary sidebar after first view.', 'coust', 'label'), + oils_i18n_gettext('circ.auto_hide_patron_summary', 'When true, the patron summary sidebar will collapse after a new patron sub-interface is selected.', 'coust', 'description'), + 'bool'), ( 'credit.processor.default', - 'Credit card processing: Name default credit processor', - 'This might be "AuthorizeNet", "PayPal", etc.', - 'string' ), + oils_i18n_gettext('credit.processor.default', 'Credit card processing: Name default credit processor', 'coust', 'label'), + oils_i18n_gettext('credit.processor.default', 'This might be "AuthorizeNet", "PayPal", etc.', 'coust', 'description'), + 'string'), ( 'credit.processor.authorizenet.enabled', - 'Credit card processing: Enable AuthorizeNet payments', - '', - 'bool' ), + oils_i18n_gettext('credit.processor.authorizenet.enabled', 'Credit card processing: Enable AuthorizeNet payments', 'coust', 'label'), + oils_i18n_gettext('credit.processor.authorizenet.enabled', '', 'coust', 'description'), + 'bool'), ( 'credit.processor.authorizenet.login', - 'Credit card processing: AuthorizeNet login', - '', - 'string' ), + oils_i18n_gettext('credit.processor.authorizenet.login', 'Credit card processing: AuthorizeNet login', 'coust', 'label'), + oils_i18n_gettext('credit.processor.authorizenet.login', '', 'coust', 'description'), + 'string'), ( 'credit.processor.authorizenet.password', - 'Credit card processing: AuthorizeNet password', - '', - 'string' ), + oils_i18n_gettext('credit.processor.authorizenet.password', 'Credit card processing: AuthorizeNet password', 'coust', 'label'), + oils_i18n_gettext('credit.processor.authorizenet.password', '', 'coust', 'description'), + 'string'), ( 'credit.processor.authorizenet.server', - 'Credit card processing: AuthorizeNet server', - 'Required if using a developer/test account with AuthorizeNet', - 'string' ), + oils_i18n_gettext('credit.processor.authorizenet.server', 'Credit card processing: AuthorizeNet server', 'coust', 'label'), + oils_i18n_gettext('credit.processor.authorizenet.server', 'Required if using a developer/test account with AuthorizeNet', 'coust', 'description'), + 'string'), ( 'credit.processor.authorizenet.testmode', - 'Credit card processing: AuthorizeNet test mode', - '', - 'bool' ), + oils_i18n_gettext('credit.processor.authorizenet.testmode', 'Credit card processing: AuthorizeNet test mode', 'coust', 'label'), + oils_i18n_gettext('credit.processor.authorizenet.testmode', '', 'coust', 'description'), + 'bool'), ( 'credit.processor.paypal.enabled', - 'Credit card processing: Enable PayPal payments', - '', - 'bool' ), + oils_i18n_gettext('credit.processor.paypal.enabled', 'Credit card processing: Enable PayPal payments', 'coust', 'label'), + oils_i18n_gettext('credit.processor.paypal.enabled', '', 'coust', 'description'), + 'bool'), ( 'credit.processor.paypal.login', - 'Credit card processing: PayPal login', - '', - 'string' ), + oils_i18n_gettext('credit.processor.paypal.login', 'Credit card processing: PayPal login', 'coust', 'label'), + oils_i18n_gettext('credit.processor.paypal.login', '', 'coust', 'description'), + 'string'), ( 'credit.processor.paypal.password', - 'Credit card processing: PayPal password', - '', - 'string' ), + oils_i18n_gettext('credit.processor.paypal.password', 'Credit card processing: PayPal password', 'coust', 'label'), + oils_i18n_gettext('credit.processor.paypal.password', '', 'coust', 'description'), + 'string'), ( 'credit.processor.paypal.signature', - 'Credit card processing: PayPal signature', - '', - 'string' ), + oils_i18n_gettext('credit.processor.paypal.signature', 'Credit card processing: PayPal signature', 'coust', 'label'), + oils_i18n_gettext('credit.processor.paypal.signature', '', 'coust', 'description'), + 'string'), ( 'credit.processor.paypal.testmode', - 'Credit card processing: PayPal test mode', - '', - 'bool' ), -('credit.processor.payflowpro.enabled', - 'Credit card processing: Enable PayflowPro payments', - 'This is NOT the same thing as the settings labeled with just "PayPal."', - 'bool' -), -('credit.processor.payflowpro.login', - 'Credit card processing: PayflowPro login/merchant ID', - 'Often the same thing as the PayPal manager login', - 'string' -), -('credit.processor.payflowpro.password', - 'Credit card processing: PayflowPro password', - 'PayflowPro password', - 'string' -), -('credit.processor.payflowpro.testmode', - 'Credit card processing: PayflowPro test mode', - 'Do not really process transactions, but stay in test mode - uses pilot-payflowpro.paypal.com instead of the usual host', - 'bool' -), -('credit.processor.payflowpro.vendor', - 'Credit card processing: PayflowPro vendor', - 'Often the same thing as the login', - 'string' -), -('credit.processor.payflowpro.partner', - 'Credit card processing: PayflowPro partner', - 'Often "PayPal" or "VeriSign", sometimes others', - 'string' -), + oils_i18n_gettext('credit.processor.paypal.testmode', 'Credit card processing: PayPal test mode', 'coust', 'label'), + oils_i18n_gettext('credit.processor.paypal.testmode', '', 'coust', 'description'), + 'bool'), +( 'credit.processor.payflowpro.enabled', + oils_i18n_gettext('credit.processor.payflowpro.enabled', 'Credit card processing: Enable PayflowPro payments', 'coust', 'label'), + oils_i18n_gettext('credit.processor.payflowpro.enabled', 'This is NOT the same thing as the settings labeled with just "PayPal."', 'coust', 'description'), + 'bool'), +( 'credit.processor.payflowpro.login', + oils_i18n_gettext('credit.processor.payflowpro.login', 'Credit card processing: PayflowPro login/merchant ID', 'coust', 'label'), + oils_i18n_gettext('credit.processor.payflowpro.login', 'Often the same thing as the PayPal manager login', 'coust', 'description'), + 'string'), +( 'credit.processor.payflowpro.password', + oils_i18n_gettext('credit.processor.payflowpro.password', 'Credit card processing: PayflowPro password', 'coust', 'label'), + oils_i18n_gettext('credit.processor.payflowpro.password', 'PayflowPro password', 'coust', 'description'), + 'string'), +( 'credit.processor.payflowpro.testmode', + oils_i18n_gettext('credit.processor.payflowpro.testmode', 'Credit card processing: PayflowPro test mode', 'coust', 'label'), + oils_i18n_gettext('credit.processor.payflowpro.testmode', 'Do not really process transactions, but stay in test mode - uses pilot-payflowpro.paypal.com instead of the usual host', 'coust', 'description'), + 'bool'), +( 'credit.processor.payflowpro.vendor', + oils_i18n_gettext('credit.processor.payflowpro.vendor', 'Credit card processing: PayflowPro vendor', 'coust', 'label'), + oils_i18n_gettext('credit.processor.payflowpro.vendor', 'Often the same thing as the login', 'coust', 'description'), + 'string'), +( 'credit.processor.payflowpro.partner', + oils_i18n_gettext('credit.processor.payflowpro.partner', 'Credit card processing: PayflowPro partner', 'coust', 'label'), + oils_i18n_gettext('credit.processor.payflowpro.partner', 'Often "PayPal" or "VeriSign", sometimes others', 'coust', 'description'), + 'string'), ( 'ui.admin.work_log.max_entries', oils_i18n_gettext('ui.admin.work_log.max_entries', 'GUI: Work Log: Maximum Actions Logged', 'coust', 'label'), oils_i18n_gettext('ui.admin.work_log.max_entries', 'Maximum entries for "Most Recent Staff Actions" section of the Work Log interface.', 'coust', 'description'), - 'interval' ), + 'interval'), ( 'ui.admin.patron_log.max_entries', oils_i18n_gettext('ui.admin.patron_log.max_entries', 'GUI: Work Log: Maximum Patrons Logged', 'coust', 'label'), oils_i18n_gettext('ui.admin.patron_log.max_entries', 'Maximum entries for "Most Recently Affected Patrons..." section of the Work Log interface.', 'coust', 'description'), - 'interval' ), + 'interval'), ( 'lib.courier_code', oils_i18n_gettext('lib.courier_code', 'Courier Code', 'coust', 'label'), @@ -2604,7 +2598,7 @@ INSERT into config.org_unit_setting_type ( 'circ.block_renews_for_holds', oils_i18n_gettext('circ.block_renews_for_holds', 'Holds: Block Renewal of Items Needed for Holds', 'coust', 'label'), oils_i18n_gettext('circ.block_renews_for_holds', 'When an item could fulfill a hold, do not allow the current patron to renew', 'coust', 'description'), - 'bool' ), + 'bool'), ( 'circ.password_reset_request_per_user_limit', oils_i18n_gettext('circ.password_reset_request_per_user_limit', 'Circulation: Maximum concurrently active self-serve password reset requests per user', 'coust', 'label'), @@ -2622,9 +2616,8 @@ INSERT into config.org_unit_setting_type 'string'), ( 'opac.fully_compressed_serial_holdings', - 'OPAC: Use fully compressed serial holdings', - 'Show fully compressed serial holdings for all libraries at and below - the current context unit', + oils_i18n_gettext('opac.fully_compressed_serial_holdings', 'OPAC: Use fully compressed serial holdings', 'coust', 'label'), + oils_i18n_gettext('opac.fully_compressed_serial_holdings', 'Show fully compressed serial holdings for all libraries at and below the current context unit', 'coust', 'description'), 'bool') ; @@ -2796,8 +2789,8 @@ INSERT INTO actor.org_unit_setting (org_unit, name, value) VALUES ( INSERT into config.org_unit_setting_type ( name, label, description, datatype, fm_class ) VALUES ( 'acq.default_copy_location', - 'Default copy location', - null, + oils_i18n_gettext( 'acq.default_copy_location', 'Default copy location', 'coust', 'label'), + oils_i18n_gettext( 'acq.default_copy_location', 'Default copy location', 'coust', 'description'), 'link', 'acpl' ); -- 2.11.0