Permalink
Browse files

Added Croatian as hr_HR. Fixes #1514.

  • Loading branch information...
1 parent c989981 commit 11df9f204f110ebb1a82e851a668bbaa4b7560ee @bharat bharat committed Dec 24, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 modules/gallery/helpers/locales.php
@@ -64,6 +64,7 @@ static function update_installed($locales) {
// @todo Might want to add a localizable language name as well.
// ref: http://cldr.unicode.org/
// ref: http://cldr.unicode.org/index/cldr-spec/picking-the-right-language-code
+ // ref: http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/likely_subtags.html
private static function _init_language_data() {
$l["af_ZA"] = "Afrikaans"; // Afrikaans
$l["ar_SA"] = "العربية"; // Arabic
@@ -88,6 +89,7 @@ private static function _init_language_data() {
$l["fr_FR"] = "Français"; // French
$l["ga_IE"] = "Gaeilge"; // Irish
$l["he_IL"] = "עברית"; // Hebrew
+ $l["hr_HR"] = "hr̀vātskī"; // Croatian
$l["hu_HU"] = "Magyar"; // Hungarian
$l["is_IS"] = "Icelandic"; // Icelandic
$l["it_IT"] = "Italiano"; // Italian

0 comments on commit 11df9f2

Please sign in to comment.