From 24cc4b6620b91a0cff964773b9d51e31877fd014 Mon Sep 17 00:00:00 2001 From: Claire Hernandez Date: Sat, 9 Jun 2012 16:47:06 +0200 Subject: [PATCH 2/2] Bug 7994: Fix indenting mistakes Fix error parse yaml files with $ perl yaml_valid.pl -f After fixing all these mini mistakes I got: $ prove yaml_valid.t yaml_valid.t .. ../koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences at yaml_valid.t line 27. yaml_valid.t .. ok All tests successful. Files=1, Tests=16, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.45 cusr 0.00 csys = 0.49 CPU) Result: PASS http://bugs.koha-community.org/show_bug.cgi?id=7994 --- .../en/modules/admin/preferences/acquisitions.pref | 45 ++++++++++---------- .../prog/en/modules/admin/preferences/admin.pref | 3 +- .../en/modules/admin/preferences/searching.pref | 2 +- .../prog/en/modules/admin/preferences/serials.pref | 3 +- .../en/modules/admin/preferences/staff-client.pref | 4 +- 5 files changed, 30 insertions(+), 27 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref index a1ea02d..85d8abe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref @@ -2,26 +2,27 @@ # Unsure how to format the OrderPdfTemplate field as a browse option Acquisitions: Policy: - - - - Create an item when - - pref: AcqCreateItem - choices: - ordering: placing an order. - receiving: receiving an order. - cataloguing: cataloging the record. - - - - Display currencies using the following format - - pref: CurrencyFormat - choices: - US: 360,000.00 (US) - FR: 360 000,00 (FR) - - - - The default tax rate is - - pref: gist - - (enter in numeric form, 0.12 for 12%) - + - + - Create an item when + - pref: AcqCreateItem + choices: + ordering: placing an order. + receiving: receiving an order. + cataloguing: cataloging the record. + - + - Display currencies using the following format + - pref: CurrencyFormat + choices: + US: 360,000.00 (US) + FR: 360 000,00 (FR) + - + - The default tax rate is + - pref: gist + - (enter in numeric form, 0.12 for 12%) + Printing: - - - - Use - - pref: OrderPdfFormat - - when printing basket groups. \ No newline at end of file + - + - Use + - pref: OrderPdfFormat + - when printing basket groups. + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref index 069ea9d..54a4ab7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref @@ -101,4 +101,5 @@ Administration: - of CAS when logging out of Koha. - - The CAS Authentication Server can be found at - - pref: casServerUrl \ No newline at end of file + - pref: casServerUrl + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref index f817ac8..e69189a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref @@ -8,7 +8,7 @@ Searching: no: Use - the Zebra search engine. Searches are very slow on even modest sized collections when Zebra is off. - - - When Zebra is not in use, translate the following MARC fields to the following indexes (each line should look something like 'indexname' => '100a,245a,500*',): + - When Zebra is not in use, translate the following MARC fields to the following indexes (each line should look something like 'indexname' => '100a,245a,500*',) - pref: NoZebraIndexes type: textarea class: list diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/serials.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/serials.pref index a74b7cf..64c7d16 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/serials.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/serials.pref @@ -16,4 +16,5 @@ Serials: choices: yes: Place no: "Don't place" - - received serials on hold if they are on a routing list. \ No newline at end of file + - received serials on hold if they are on a routing list. + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff-client.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff-client.pref index 3359dc1..0e33474 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff-client.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff-client.pref @@ -46,11 +46,11 @@ Staff Client: - pref: intranetuserjs type: textarea class: code - - + - - XSLT path for the result page in the staff client - pref: IntranetXSLTResultsDisplay class: file - - + - - XSLT path for the details pages in the staff client - pref: IntranetXSLTDetailsDisplay class: file -- 1.7.4.1