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
This commit is contained in:
Caolán McNamara 2014-11-26 13:40:43 +00:00
parent 2163ec3691
commit 4e14439b06
2 changed files with 12 additions and 0 deletions

View file

@ -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:

View file

@ -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