View | Details | Raw Unified | Return to bug 12649
Collapse All | Expand All

(-)a/installer/data/mysql/de-DE/mandatory/subtag_registry.sql (+19 lines)
Lines 887-892 VALUES( 'Laoo', 'script', 'en', 'Lao'); Link Here
887
INSERT INTO language_descriptions(subtag, type, lang, description)
887
INSERT INTO language_descriptions(subtag, type, lang, description)
888
VALUES( 'Laoo', 'script', 'de', 'Laotisch');
888
VALUES( 'Laoo', 'script', 'de', 'Laotisch');
889
889
890
-- Croatian
891
INSERT INTO language_subtag_registry( subtag, type, description, added)
892
VALUES ( 'hr', 'language', 'Croatian','2014-07-24' );
893
894
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
895
VALUES( 'hr','hrv');
896
897
INSERT INTO language_descriptions(subtag, type, lang, description)
898
VALUES( 'hr', 'language', 'hr', 'Hrvatski');
899
900
INSERT INTO language_descriptions(subtag, type, lang, description)
901
VALUES( 'hr', 'language', 'en', 'Croatian');
902
903
INSERT INTO language_descriptions(subtag, type, lang, description)
904
VALUES( 'hr', 'language', 'fr', 'Croate');
905
906
INSERT INTO language_descriptions(subtag, type, lang, description)
907
VALUES( 'hr', 'language', 'de', 'Kroatisch');
908
890
909
891
-- REGIONS
910
-- REGIONS
892
-- Canada
911
-- Canada
(-)a/installer/data/mysql/en/mandatory/subtag_registry.sql (+19 lines)
Lines 887-892 VALUES( 'Laoo', 'script', 'en', 'Lao'); Link Here
887
INSERT INTO language_descriptions(subtag, type, lang, description)
887
INSERT INTO language_descriptions(subtag, type, lang, description)
888
VALUES( 'Laoo', 'script', 'de', 'Laotisch');
888
VALUES( 'Laoo', 'script', 'de', 'Laotisch');
889
889
890
-- Croatian
891
INSERT INTO language_subtag_registry( subtag, type, description, added)
892
VALUES ( 'hr', 'language', 'Croatian','2014-07-24' );
893
894
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
895
VALUES( 'hr','hrv');
896
897
INSERT INTO language_descriptions(subtag, type, lang, description)
898
VALUES( 'hr', 'language', 'hr', 'Hrvatski');
899
900
INSERT INTO language_descriptions(subtag, type, lang, description)
901
VALUES( 'hr', 'language', 'en', 'Croatian');
902
903
INSERT INTO language_descriptions(subtag, type, lang, description)
904
VALUES( 'hr', 'language', 'fr', 'Croate');
905
906
INSERT INTO language_descriptions(subtag, type, lang, description)
907
VALUES( 'hr', 'language', 'de', 'Kroatisch');
908
890
909
891
-- REGIONS
910
-- REGIONS
892
-- Canada
911
-- Canada
(-)a/installer/data/mysql/es-ES/mandatory/subtag_registry.sql (+20 lines)
Lines 731-736 VALUES ( 'Laoo', 'script', 'lo', 'Lao'); Link Here
731
INSERT INTO language_descriptions(subtag, type, lang, description)
731
INSERT INTO language_descriptions(subtag, type, lang, description)
732
VALUES( 'Laoo', 'script', 'en', 'Lao');
732
VALUES( 'Laoo', 'script', 'en', 'Lao');
733
733
734
-- Croatian
735
INSERT INTO language_subtag_registry( subtag, type, description, added)
736
VALUES ( 'hr', 'language', 'Croatian','2014-07-24' );
737
738
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
739
VALUES( 'hr','hrv');
740
741
INSERT INTO language_descriptions(subtag, type, lang, description)
742
VALUES( 'hr', 'language', 'hr', 'Hrvatski');
743
744
INSERT INTO language_descriptions(subtag, type, lang, description)
745
VALUES( 'hr', 'language', 'en', 'Croatian');
746
747
INSERT INTO language_descriptions(subtag, type, lang, description)
748
VALUES( 'hr', 'language', 'fr', 'Croate');
749
750
INSERT INTO language_descriptions(subtag, type, lang, description)
751
VALUES( 'hr', 'language', 'de', 'Kroatisch');
752
753
734
-- REGIONS
754
-- REGIONS
735
-- Canada
755
-- Canada
736
INSERT INTO language_subtag_registry( subtag, type, description, added)
756
INSERT INTO language_subtag_registry( subtag, type, description, added)
(-)a/installer/data/mysql/pl-PL/mandatory/subtag_registry.sql (+20 lines)
Lines 719-724 VALUES ( 'Laoo', 'script', 'lo', 'Lao'); Link Here
719
INSERT INTO language_descriptions(subtag, type, lang, description)
719
INSERT INTO language_descriptions(subtag, type, lang, description)
720
VALUES( 'Laoo', 'script', 'en', 'Lao');
720
VALUES( 'Laoo', 'script', 'en', 'Lao');
721
721
722
-- Croatian
723
INSERT INTO language_subtag_registry( subtag, type, description, added)
724
VALUES ( 'hr', 'language', 'Croatian','2014-07-24' );
725
726
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
727
VALUES( 'hr','hrv');
728
729
INSERT INTO language_descriptions(subtag, type, lang, description)
730
VALUES( 'hr', 'language', 'hr', 'Hrvatski');
731
732
INSERT INTO language_descriptions(subtag, type, lang, description)
733
VALUES( 'hr', 'language', 'en', 'Croatian');
734
735
INSERT INTO language_descriptions(subtag, type, lang, description)
736
VALUES( 'hr', 'language', 'fr', 'Croate');
737
738
INSERT INTO language_descriptions(subtag, type, lang, description)
739
VALUES( 'hr', 'language', 'de', 'Kroatisch');
740
741
722
-- REGIONS
742
-- REGIONS
723
-- Canada
743
-- Canada
724
INSERT INTO language_subtag_registry( subtag, type, description, added)
744
INSERT INTO language_subtag_registry( subtag, type, description, added)
(-)a/installer/data/mysql/ru-RU/mandatory/subtag_registry.sql (+20 lines)
Lines 719-724 VALUES ( 'Laoo', 'script', 'lo', 'Lao'); Link Here
719
INSERT INTO language_descriptions(subtag, type, lang, description)
719
INSERT INTO language_descriptions(subtag, type, lang, description)
720
VALUES( 'Laoo', 'script', 'en', 'Lao');
720
VALUES( 'Laoo', 'script', 'en', 'Lao');
721
721
722
-- Croatian
723
INSERT INTO language_subtag_registry( subtag, type, description, added)
724
VALUES ( 'hr', 'language', 'Croatian','2014-07-24' );
725
726
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
727
VALUES( 'hr','hrv');
728
729
INSERT INTO language_descriptions(subtag, type, lang, description)
730
VALUES( 'hr', 'language', 'hr', 'Hrvatski');
731
732
INSERT INTO language_descriptions(subtag, type, lang, description)
733
VALUES( 'hr', 'language', 'en', 'Croatian');
734
735
INSERT INTO language_descriptions(subtag, type, lang, description)
736
VALUES( 'hr', 'language', 'fr', 'Croate');
737
738
INSERT INTO language_descriptions(subtag, type, lang, description)
739
VALUES( 'hr', 'language', 'de', 'Kroatisch');
740
741
722
-- REGIONS
742
-- REGIONS
723
-- Canada
743
-- Canada
724
INSERT INTO language_subtag_registry( subtag, type, description, added)
744
INSERT INTO language_subtag_registry( subtag, type, description, added)
(-)a/installer/data/mysql/uk-UA/mandatory/subtag_registry.sql (+20 lines)
Lines 719-724 VALUES ( 'Laoo', 'script', 'lo', 'Lao'); Link Here
719
INSERT INTO language_descriptions(subtag, type, lang, description)
719
INSERT INTO language_descriptions(subtag, type, lang, description)
720
VALUES( 'Laoo', 'script', 'en', 'Lao');
720
VALUES( 'Laoo', 'script', 'en', 'Lao');
721
721
722
-- Croatian
723
INSERT INTO language_subtag_registry( subtag, type, description, added)
724
VALUES ( 'hr', 'language', 'Croatian','2014-07-24' );
725
726
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
727
VALUES( 'hr','hrv');
728
729
INSERT INTO language_descriptions(subtag, type, lang, description)
730
VALUES( 'hr', 'language', 'hr', 'Hrvatski');
731
732
INSERT INTO language_descriptions(subtag, type, lang, description)
733
VALUES( 'hr', 'language', 'en', 'Croatian');
734
735
INSERT INTO language_descriptions(subtag, type, lang, description)
736
VALUES( 'hr', 'language', 'fr', 'Croate');
737
738
INSERT INTO language_descriptions(subtag, type, lang, description)
739
VALUES( 'hr', 'language', 'de', 'Kroatisch');
740
741
722
-- REGIONS
742
-- REGIONS
723
-- Canada
743
-- Canada
724
INSERT INTO language_subtag_registry( subtag, type, description, added)
744
INSERT INTO language_subtag_registry( subtag, type, description, added)
(-)a/installer/data/mysql/updatedatabase.pl (-2 / +13 lines)
Lines 8548-8554 $DBversion = "3.17.00.007"; Link Here
8548
if (CheckVersion($DBversion)) {
8548
if (CheckVersion($DBversion)) {
8549
    $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('UpdateNotForLoanStatusOnCheckin', '', 'NULL', 'This is a list of value pairs. When an item is checked in, if the not for loan value on the left matches the items not for loan value it will be updated to the right-hand value. E.g. ''-1: 0'' will cause an item that was set to ''Ordered'' to now be available for loan. Each pair of values should be on a separate line.', 'Free');");
8549
    $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('UpdateNotForLoanStatusOnCheckin', '', 'NULL', 'This is a list of value pairs. When an item is checked in, if the not for loan value on the left matches the items not for loan value it will be updated to the right-hand value. E.g. ''-1: 0'' will cause an item that was set to ''Ordered'' to now be available for loan. Each pair of values should be on a separate line.', 'Free');");
8550
    print "Upgrade to $DBversion done (Bug 11629 - Add ability to update not for loan status on checkin)\n";
8550
    print "Upgrade to $DBversion done (Bug 11629 - Add ability to update not for loan status on checkin)\n";
8551
    SetVersion($DBversion);
8551
    SetVersion($DBversion;
8552
}
8552
}
8553
8553
8554
$DBversion = "3.17.00.008";
8554
$DBversion = "3.17.00.008";
Lines 8577-8582 if ( CheckVersion($DBversion) ) { Link Here
8577
    SetVersion ($DBversion);
8577
    SetVersion ($DBversion);
8578
}
8578
}
8579
8579
8580
$DBversion = "3.17.00.XXX";
8581
if ( CheckVersion($DBversion) ) {
8582
    $dbh->do("INSERT INTO language_subtag_registry( subtag, type, description, added) VALUES ( 'hr', 'language', 'Croatian','2014-07-24' )");
8583
    $dbh->do("INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code) VALUES( 'hr','hrv')");
8584
    $dbh->do("INSERT INTO language_descriptions(subtag, type, lang, description) VALUES( 'hr', 'language', 'hr', 'Hrvatski')");
8585
    $dbh->do("INSERT INTO language_descriptions(subtag, type, lang, description) VALUES( 'hr', 'language', 'en', 'Croatian')");
8586
    $dbh->do("INSERT INTO language_descriptions(subtag, type, lang, description) VALUES( 'hr', 'language', 'fr', 'Croate')");
8587
    $dbh->do("INSERT INTO language_descriptions(subtag, type, lang, description) VALUES( 'hr', 'language', 'de', 'Kroatisch')");
8588
    print "Upgrade to $DBversion done (Bug 12649: Add Croatian laguage)\n";
8589
    SetVersion ($DBversion);
8590
}
8591
8580
=head1 FUNCTIONS
8592
=head1 FUNCTIONS
8581
8593
8582
=head2 TableExists($table)
8594
=head2 TableExists($table)
8583
- 

Return to bug 12649