add fr_HT and ht_HT locales for french (haiti) and haitian creole, RT#15269
authorivan <ivan>
Wed, 14 Dec 2011 23:20:19 +0000 (23:20 +0000)
committerivan <ivan>
Wed, 14 Dec 2011 23:20:19 +0000 (23:20 +0000)
FS/FS/L10N/fr_ht.pm [new file with mode: 0644]
FS/FS/L10N/ht_ht.pm [new file with mode: 0644]
FS/FS/Locales.pm

diff --git a/FS/FS/L10N/fr_ht.pm b/FS/FS/L10N/fr_ht.pm
new file mode 100644 (file)
index 0000000..0363ac4
--- /dev/null
@@ -0,0 +1,4 @@
+package FS::L10N::fr_ht;
+use base qw(FS::L10N::fr_fr);
+
+1;
diff --git a/FS/FS/L10N/ht_ht.pm b/FS/FS/L10N/ht_ht.pm
new file mode 100644 (file)
index 0000000..6091bed
--- /dev/null
@@ -0,0 +1,4 @@
+package FS::L10N::ht_ht;
+use base qw(FS::L10N::DBI);
+
+1;
index 351f478..692bb93 100644 (file)
@@ -28,11 +28,13 @@ Returns a list of the available locales.
 =cut
 
 tie our %locales, 'Tie::IxHash',
-  'en_CA', { name => 'English',     country => 'Canada', },
-  'en_US', { name => 'English',     country => 'United States', },
-  'fr_CA', { name => 'French',      country => 'Canada', },
-  'fr_FR', { name => 'French',      country => 'France', },
-  'iw_IL', { name => 'Hebrew',      country => 'Israel', rtl=>1, },
+  'en_CA', { name => 'English',        country => 'Canada', },
+  'en_US', { name => 'English',        country => 'United States', },
+  'fr_CA', { name => 'French',         country => 'Canada', },
+  'fr_FR', { name => 'French',         country => 'France', },
+  'fr_HT', { name => 'French',         country => 'Haiti', },
+  'ht_HT', { name => 'Haitian Creole', country => 'Haiti', },
+  'iw_IL', { name => 'Hebrew',         country => 'Israel', rtl=>1, },
 ;
 
 sub locales {