Bugzilla – Attachment 26697 Details for
Bug 10818
System preference OAI-PMH:ConfFile isn't translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10818 - System preference OAI-PMH:ConfFile isn't translatable
Bug-10818---System-preference-OAI-PMHConfFile-isnt.patch (text/plain), 2.63 KB, created by
Mark Tompsett
on 2014-03-31 03:57:33 UTC
(
hide
)
Description:
Bug 10818 - System preference OAI-PMH:ConfFile isn't translatable
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2014-03-31 03:57:33 UTC
Size:
2.63 KB
patch
obsolete
>From d685c96c1108e5f6a51dfc3e7999d51d76a0463d Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Sat, 22 Mar 2014 12:02:12 -0300 >Subject: [PATCH] Bug 10818 - System preference OAI-PMH:ConfFile isn't > translatable > >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> > >NOTE: I had to use install and not update, but the idea is the > same. Having fixed the English po files, the other language > po files (I used fr-FR) correctly generates text before > the system preference text box. It's still English, but > that is expected, as far as I know, since the French po > files are lacking the translation for the strings. > This corrects two problems at the same time, not just the > original bug problem. > 1) Missing text before system preference text box. > 2) Missing string to translate in the po file. > Where (2) is the original problem. >--- > .../en/modules/admin/preferences/web_services.pref | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref >index 7a4c910..b74563c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref >@@ -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. >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10818
:
26519
|
26697
|
26699