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:52:30 +0000
commit4e14439b065d3f36823029bb1a314dad5af73821 (patch)
tree9e74a861b692c92a25a794acd826e2bc5c60dc08 /external
parent2163ec3691ece9a00927891645190a971f775295 (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
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