Bugzilla – Attachment 44757 Details for
Bug 14542
Transliterate rule for all single quote forms
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14542 - Transliterate rule for all single quote forms
Bug-14542---Transliterate-rule-for-all-single-quot.patch (text/plain), 1.70 KB, created by
Jonathan Druart
on 2015-11-11 13:14:43 UTC
(
hide
)
Description:
Bug 14542 - Transliterate rule for all single quote forms
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-11-11 13:14:43 UTC
Size:
1.70 KB
patch
obsolete
>From 12f53f2193779542c93b958be0594492f434fe2f Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Thu, 16 Jul 2015 17:48:14 +0200 >Subject: [PATCH] Bug 14542 - Transliterate rule for all single quote forms > >Single quotes in common language (not in programming) are usually ', but >there is also the form known as ’ in HTML. See >https://fr.wikipedia.org/wiki/Apostrophe_%28typographie%29 > >This bug proposes to transliterate all forms into a space. > >Test plan : >(I'll use the code ’ instead of the unicode character) >- Without the patch >- Create a record with title : L’avion d’argile >- Index this record >- Search for "L’avion d’argile" => You find the record >- Search for "L'avion d'argile" => You do not find the record >- Apply patch >- Search for "L’avion d’argile" => You find the record >- Search for "L'avion d'argile" => You find the record >- Search for "L avion d argile" => You find the record > >Signed-off-by: Frederic Demians <f.demians@tamil.fr> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > etc/zebradb/etc/words-icu.xml | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/etc/zebradb/etc/words-icu.xml b/etc/zebradb/etc/words-icu.xml >index 1015688..2eb3e7b 100644 >--- a/etc/zebradb/etc/words-icu.xml >+++ b/etc/zebradb/etc/words-icu.xml >@@ -4,6 +4,8 @@ > <transliterate rule="{ æ > ae "/> > <transliterate rule="{ à > ae "/> > <transliterate rule="\'>\ "/> >+ <transliterate rule="\u2019>\ "/> >+ <transliterate rule="\u02BC>\ "/> > <transliterate rule="[:Number:] { '-' > '' "/> > <!-- Remove control characters except \t\n\r --> > <transform rule="[\x00-\x08\x0B\x0C\x0E-\x1F\x7F] Any-Remove"/> >-- >2.1.0
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 14542
:
41032
|
44753
| 44757