dovecot-2.2: lib-fts: Add missing "j'" to French contractions.

dovecot at dovecot.org dovecot at dovecot.org
Mon Aug 31 17:24:34 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/7316c0b61cb9
changeset: 19046:7316c0b61cb9
user:      Teemu Huovila <teemu.huovila at dovecot.fi>
date:      Mon Aug 31 20:23:32 2015 +0300
description:
lib-fts: Add missing "j'" to French contractions.

diffstat:

 src/lib-fts/fts-filter-contractions.c |  1 +
 src/lib-fts/test-fts-filter.c         |  4 +++-
 2 files changed, 4 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 08b29b4b5e96 -r 7316c0b61cb9 src/lib-fts/fts-filter-contractions.c
--- a/src/lib-fts/fts-filter-contractions.c	Mon Aug 31 14:24:54 2015 +0300
+++ b/src/lib-fts/fts-filter-contractions.c	Mon Aug 31 20:23:32 2015 +0300
@@ -48,6 +48,7 @@
 		/* otherwise fall through */
 	case 'c':
 	case 'd':
+	case 'j':
 	case 'l':
 	case 'm':
 	case 'n':
diff -r 08b29b4b5e96 -r 7316c0b61cb9 src/lib-fts/test-fts-filter.c
--- a/src/lib-fts/test-fts-filter.c	Mon Aug 31 14:24:54 2015 +0300
+++ b/src/lib-fts/test-fts-filter.c	Mon Aug 31 20:23:32 2015 +0300
@@ -59,7 +59,9 @@
 		{ "cu'", "cu'" },
 		{ "qu", "qu" },
 		{ "d", "d" },
-		{ "qu'", NULL }
+		{ "qu'", NULL },
+		{ "j'adore", "adore" },
+		{ "quelqu'un", "quelqu'un" }
 	};
 	struct fts_filter *filter;
 	const char *error;


More information about the dovecot-cvs mailing list