Koha/installer/data/mysql/en/mandatory/auth_values.yml
Bernardo Gonzalez Kriegel c56e8b58d9
Bug 24583: Rewrite mandatory/auth_values to YAML
YAML version of mandatory auth_values.

To test:
1) Do a clean install, dump auth_values, reserve.

2) Apply this patch and it's dependencies

3) Do a clean install, dump again and compare
   No differences expected

4) Try translation
  a) Go to misc/translator
  b) create files for a new language
     ./translate create xx-YY
  c) Check new file po/xx-YY-instaler.po
     Verify strings from this file.
  d) Install new language
     ./translate install xx-YY
  e) Try clean install with new files

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-09 13:54:31 +00:00

60 lines
1.7 KiB
YAML

---
#
# Copyright 2020 Koha Development Team
#
# This file is part of Koha.
#
# Koha is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
description:
- "Default Koha system authorised values"
tables:
- authorised_values:
translatable: [ lib, lib_opac ]
multiline: []
rows:
- category: "YES_NO"
authorised_value: "0"
lib: "No"
lib_opac: "No"
- category: "YES_NO"
authorised_value: "1"
lib: "Yes"
lib_opac: "Yes"
- category: "PAYMENT_TYPE"
authorised_value: "SIP00"
lib: "Cash via SIP2"
lib_opac: "Cash"
- category: "PAYMENT_TYPE"
authorised_value: "SIP01"
lib: "Visa via SIP2"
lib_opac: "Visa"
- category: "PAYMENT_TYPE"
authorised_value: "SIP02"
lib: "Creditcard via SIP2"
lib_opac: "Creditcard"
- authorised_values:
translatable: [ lib ]
multiline: []
rows:
- category: "HSBND_FREQ"
authorised_value: "EW"
lib: "Every week"