[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - external/languagetool

Caolán McNamara caolanm at redhat.com
Wed Nov 26 05:54:02 PST 2014


 external/languagetool/UnpackedTarball_languagetool.mk |    1 +
 external/languagetool/french.haiti.patch              |   11 +++++++++++
 2 files changed, 12 insertions(+)

New commits:
commit dce30375a0bb17b974f6dd6cb92a452e2f0dd492
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Nov 26 13:40:43 2014 +0000

    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)

diff --git a/external/languagetool/UnpackedTarball_languagetool.mk b/external/languagetool/UnpackedTarball_languagetool.mk
index efca850..757a4b3 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 0000000..207699e
--- /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


More information about the Libreoffice-commits mailing list