summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-11-18 10:20:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-11-18 14:08:07 +0000
commit91e15fc645bd5492b6fe52f01f5bda50552e0c92 (patch)
tree95756eaea2461e70af8f7601bda80645c02af784 /external
parentb7069ad07dc651f5326cd3a671588d8c1ecf2534 (diff)
surely we don't want ANY string anymore
presumably a simple blank string makes a whole lot more sense in these langtag days Change-Id: Ib50f7aed782f04d5d1c1f84617061ba2f66153bc
Diffstat (limited to 'external')
-rw-r--r--external/languagetool/UnpackedTarball_languagetool.mk1
-rw-r--r--external/languagetool/esperanto.territory.patch12
2 files changed, 13 insertions, 0 deletions
diff --git a/external/languagetool/UnpackedTarball_languagetool.mk b/external/languagetool/UnpackedTarball_languagetool.mk
index 317be406a0a2..efca850c9eff 100644
--- a/external/languagetool/UnpackedTarball_languagetool.mk
+++ b/external/languagetool/UnpackedTarball_languagetool.mk
@@ -18,6 +18,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,languagetool,\
external/languagetool/JLanguageTool-1.4.0-no-hc.patch \
external/languagetool/MessageBox-apichange.patch \
external/languagetool/english.ireland.patch \
+ external/languagetool/esperanto.territory.patch \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/languagetool/esperanto.territory.patch b/external/languagetool/esperanto.territory.patch
new file mode 100644
index 000000000000..6037adc43c07
--- /dev/null
+++ b/external/languagetool/esperanto.territory.patch
@@ -0,0 +1,12 @@
+--- misc/build/JLanguageTool-1.7.0/src/java/org/languagetool/language/Esperanto.java.orig 2013-11-18 10:18:49.111712785 +0000
++++ misc/build/JLanguageTool-1.7.0/src/java/org/languagetool/language/Esperanto.java 2013-11-18 10:18:59.254813036 +0000
+@@ -71,8 +71,7 @@
+
+ @Override
+ public String[] getCountryVariants() {
+- /* return "ANY" country code as a "country-less" placeholder for OOo: */
+- return new String[] {"ANY"};
++ return new String[] {""};
+ }
+
+ @Override