461b61ad8a
[Patch originally by Ricardo Dias Marques] Bug 3730 - Wrong ISO 639-2 Language Code for Portuguese in database http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3730 For 3.0.x head of the Git branch, the ISO 639-2 Language Code for Portuguese in Koha database is wrong. Specifically, in the table "language_rfc4646_to_iso639", when the field "rfc4646_subtag" has the value "pt", the field "iso639_2_code" should have the value of "por" and NOT the current one of "pol" ("pol" refers to "Polish" as correctly also appears for the code "pl", in the row above the "pt" one). In my test setups, this showed some serious sequences for people that choose the Portuguese language in the Web Installer, namely: - very weird look of Staff client with missing Header and Footer, that renders the Staff client unusable - Portuguese translation apparently not getting updated for the OPAC (for people that do an Upgrade from a previous version) This patch is for the 3.0.x branch (I tested it with that branch). For the master branch, I don't have a database setup to create and test a similar patch but Chris Cormack nicely volunteered to do that. Thanks Chris! Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
20 lines
658 B
Perl
20 lines
658 B
Perl
# the next koha public release version number;
|
|
# the kohaversion is divided in 4 parts :
|
|
# - #1 : the major number. 3 atm
|
|
# - #2 : the functionnal release. 00 atm
|
|
# - #3 : the subnumber, moves only on a public release
|
|
# - #4 : the developer version. The 4th number is the database subversion.
|
|
# used by developers when the database changes. updatedatabase take care of the changes itself
|
|
# and is automatically called by Auth.pm when needed.
|
|
|
|
use strict;
|
|
|
|
sub kohaversion {
|
|
our $VERSION = '3.01.00.117';
|
|
# version needs to be set this way
|
|
# so that it can be picked up by Makefile.PL
|
|
# during install
|
|
return $VERSION;
|
|
}
|
|
|
|
1;
|