more Slavic intelligibility: added Bosnian to Serbian and Croatian
authorSlaven Rezic <slaven@rezic.de>
Sat, 6 Feb 2010 22:55:31 +0000 (23:55 +0100)
committerJames E Keenan <jkeenan@cpan.org>
Thu, 5 Sep 2013 23:33:19 +0000 (01:33 +0200)
Bump $VERSION.

For: RT #72594

dist/I18N-LangTags/lib/I18N/LangTags.pm

index aeb726d..9bac707 100644 (file)
@@ -19,7 +19,7 @@ require Exporter;
                );
 %EXPORT_TAGS = ('ALL' => \@EXPORT_OK);
 
-$VERSION = "0.39";
+$VERSION = "0.40";
 
 sub uniq { my %seen; return grep(!($seen{$_}++), @_); } # a util function
 
@@ -678,7 +678,7 @@ sub alternate_language_tags {
 
    # My guesses at Slavic intelligibility:
    ([qw(ru be uk)]) x 2,  # Russian, Belarusian, Ukranian
-   'sr' => 'hr', 'hr' => 'sr', # Serb + Croat
+   ([qw(sr hr bs)]) x 2,  # Serbian, Croatian, Bosnian
    'cs' => 'sk', 'sk' => 'cs', # Czech + Slovak
 
    'ms' => 'id', 'id' => 'ms', # Malay + Indonesian