Bug 10818: improve display and translatability of sysprefs OAI-PMH:ConfFile's description
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Sat, 22 Mar 2014 15:02:12 +0000 (12:02 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 14 Jul 2014 11:27:43 +0000 (07:27 -0400)
This patch correct english display for OAI-PMH:ConfFile syspref,
and makes it's strings translatable

To test:
1) On Administration > System preferences > Web Services
OAI-PMH:ConfFile syspref doesn't have description before
file box. Text after that box is not translated.
2) Choose your prefered language, xx-YY, update po files
cd misc/translator
perl translate update xx-YY
3) Look into xx-YY-pref.po for any occurence of "YAML", there is none
4) Apply the patch
5) Update po files again
6) Look into xx-YY-pref.po, now there are 2 entries
7) Also reload page from 1) and check for text before
file box.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works for me as described, only changes YAML pref file.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 15b4f9bbe990224067aea8ac9ddfd02d524c84ad)

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 2c50a3c0e01091998dc2e62265a26e2d6ae48029)

koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref

index 7244675..0fcf8f7 100644 (file)
@@ -17,7 +17,7 @@ Web services:
               class: integer
             - records at a time in response to a ListRecords or ListIdentifiers query.
         -
-            - YAML OAI Koha server configuration file:
+            - "YAML OAI Koha server configuration file:"
             - pref: "OAI-PMH:ConfFile"
               class: file
             - . If empty, Koha OAI Server operates in normal mode, otherwise it operates in extended mode. In extended mode, it's possible to parameter other formats than marcxml or Dublin Core. OAI-PMH:ConfFile specify a YAML configuration file which list available metadata formats and XSL file used to create them from marcxml records.