summaryrefslogtreecommitdiff
path: root/external/languagetool
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-11-18 10:17:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-11-18 14:08:06 +0000
commit92424bdb2d05934d8f31910e175b0df9f5fe8c77 (patch)
treea45af98c340a7821c9bc6b2db3c27125140a971c /external/languagetool
parentf3660062ce8a2c65d483b83c2800d9b958d12f08 (diff)
support en-IE as well
Change-Id: Ibf92c0044cdbea8c85a7a73258d883bd28d619e9
Diffstat (limited to 'external/languagetool')
-rw-r--r--external/languagetool/UnpackedTarball_languagetool.mk1
-rw-r--r--external/languagetool/english.ireland.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/external/languagetool/UnpackedTarball_languagetool.mk b/external/languagetool/UnpackedTarball_languagetool.mk
index 05f9e000b145..317be406a0a2 100644
--- a/external/languagetool/UnpackedTarball_languagetool.mk
+++ b/external/languagetool/UnpackedTarball_languagetool.mk
@@ -17,6 +17,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,languagetool,\
external/languagetool/JLanguageTool-1.7.0.patch \
external/languagetool/JLanguageTool-1.4.0-no-hc.patch \
external/languagetool/MessageBox-apichange.patch \
+ external/languagetool/english.ireland.patch \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/languagetool/english.ireland.patch b/external/languagetool/english.ireland.patch
new file mode 100644
index 000000000000..2e47d3247b65
--- /dev/null
+++ b/external/languagetool/english.ireland.patch
@@ -0,0 +1,11 @@
+--- misc/build/JLanguageTool-1.7.0/src/java/org/languagetool/language/English.java.orig 2013-11-18 09:41:10.625421948 +0000
++++ misc/build/JLanguageTool-1.7.0/src/java/org/languagetool/language/English.java 2013-11-18 09:41:25.736570684 +0000
+@@ -67,7 +67,7 @@
+
+ @Override
+ public final String[] getCountryVariants() {
+- return new String[]{"GB", "US", "AU", "CA", "NZ", "ZA"};
++ return new String[]{"GB", "US", "AU", "CA", "IE", "NZ", "ZA"};
+ }
+
+ @Override