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

(-)a/installer/data/mysql/atomicupdate/bug_28244.perl (+8 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do( "UPDATE language_subtag_registry SET description = 'Ukrainian' WHERE subtag='uk' and type='language' and description='Ukranian'" );
4
    $dbh->do( "UPDATE language_descriptions SET description = 'Ukrainian' WHERE subtag='uk' and type='language' and lang='en' and description='Ukranian'" );
5
6
    # Always end with this (adjust the bug info)
7
    NewVersion( $DBversion, 28244, "Fix Ukrainian typo in English");
8
}
(-)a/installer/data/mysql/mandatory/subtag_registry.sql (-4 / +3 lines)
Lines 1090-1098 VALUES ( 'tr', 'language', 'fr', 'Turc'); Link Here
1090
INSERT INTO language_descriptions(subtag, type, lang, description)
1090
INSERT INTO language_descriptions(subtag, type, lang, description)
1091
VALUES ( 'tr', 'language', 'de', 'Türkisch');
1091
VALUES ( 'tr', 'language', 'de', 'Türkisch');
1092
1092
1093
-- Ukranian
1093
-- Ukrainian
1094
INSERT INTO language_subtag_registry( subtag, type, description, added)
1094
INSERT INTO language_subtag_registry( subtag, type, description, added)
1095
VALUES ( 'uk', 'language', 'Ukranian','2005-10-16');
1095
VALUES ( 'uk', 'language', 'Ukrainian','2005-10-16');
1096
1096
1097
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
1097
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
1098
VALUES ( 'uk','ukr');
1098
VALUES ( 'uk','ukr');
Lines 1101-1107 INSERT INTO language_descriptions(subtag, type, lang, description) Link Here
1101
VALUES ( 'uk', 'language', 'uk', 'Українська');
1101
VALUES ( 'uk', 'language', 'uk', 'Українська');
1102
1102
1103
INSERT INTO language_descriptions(subtag, type, lang, description)
1103
INSERT INTO language_descriptions(subtag, type, lang, description)
1104
VALUES ( 'uk', 'language', 'en', 'Ukranian');
1104
VALUES ( 'uk', 'language', 'en', 'Ukrainian');
1105
1105
1106
INSERT INTO language_descriptions(subtag, type, lang, description)
1106
INSERT INTO language_descriptions(subtag, type, lang, description)
1107
VALUES ( 'uk', 'language', 'fr', 'Ukrainien');
1107
VALUES ( 'uk', 'language', 'fr', 'Ukrainien');
1108
- 

Return to bug 28244