summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-26 13:40:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-26 13:53:32 +0000
commitdce30375a0bb17b974f6dd6cb92a452e2f0dd492 (patch)
tree5f54ab7e87f9481cf783aef6b3d53b5ae18a528e /external
parentc51c39ddf6d513afda83d4f15549c6277a0cc211 (diff)
there is no HI country code, I suspect it should be HT for Haiti
https://github.com/languagetool-org/languagetool/pull/219 Change-Id: I32e5caac17165a77d0803e782a285a9f32752742 (cherry picked from commit 4e14439b065d3f36823029bb1a314dad5af73821)
Diffstat (limited to 'external')
-rw-r--r--external/languagetool/UnpackedTarball_languagetool.mk1
-rw-r--r--external/languagetool/french.haiti.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/external/languagetool/UnpackedTarball_languagetool.mk b/external/languagetool/UnpackedTarball_languagetool.mk
index efca850c9eff..757a4b35e797 100644
--- a/external/languagetool/UnpackedTarball_languagetool.mk
+++ b/external/languagetool/UnpackedTarball_languagetool.mk
@@ -19,6 +19,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,languagetool,\
external/languagetool/MessageBox-apichange.patch \
external/languagetool/english.ireland.patch \
external/languagetool/esperanto.territory.patch \
+ external/languagetool/french.haiti.patch \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/languagetool/french.haiti.patch b/external/languagetool/french.haiti.patch
new file mode 100644
index 000000000000..207699e70cbf
--- /dev/null
+++ b/external/languagetool/french.haiti.patch
@@ -0,0 +1,11 @@
+--- misc/build/JLanguageTool-1.7.0/src/java/org/languagetool/language/French.java
++++ misc/build/JLanguageTool-1.7.0/src/java/org/languagetool/language/French.java
+@@ -54,7 +54,7 @@
+ @Override
+ public String[] getCountryVariants() {
+ return new String[]{"FR", "", "BE", "CH", "CA", "LU", "MC", "CM",
+- "CI", "HI", "ML", "SN", "CD", "MA", "RE"};
++ "CI", "HT", "ML", "SN", "CD", "MA", "RE"};
+ }
+
+ @Override