Bug 28244: Fix typo in Ukrainian in language tables in English
This changes the English of Ukranian to Ukrainian. 1) Apply patch 2) Go to http://localhost:8080/cgi-bin/koha/opac-search.pl 3) Click on "Language" drop-down 4) Note near the bottom it says "Ukrainian" instead of "Ukranian" Signed-off-by: Henry Bolshaw <bolshawh@parliament.uk> Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> (cherry picked from commit945548533b) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit0e6320cde5) Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
This commit is contained in:
parent
b96efb1b13
commit
677d379011
|
|
@ -0,0 +1,8 @@
|
|||
$DBversion = 'XXX'; # will be replaced by the RM
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
$dbh->do( "UPDATE language_subtag_registry SET description = 'Ukrainian' WHERE subtag='uk' and type='language' and description='Ukranian'" );
|
||||
$dbh->do( "UPDATE language_descriptions SET description = 'Ukrainian' WHERE subtag='uk' and type='language' and lang='en' and description='Ukranian'" );
|
||||
|
||||
# Always end with this (adjust the bug info)
|
||||
NewVersion( $DBversion, 28244, "Fix Ukrainian typo in English");
|
||||
}
|
||||
|
|
@ -1090,9 +1090,9 @@ VALUES ( 'tr', 'language', 'fr', 'Turc');
|
|||
INSERT INTO language_descriptions(subtag, type, lang, description)
|
||||
VALUES ( 'tr', 'language', 'de', 'Türkisch');
|
||||
|
||||
-- Ukranian
|
||||
-- Ukrainian
|
||||
INSERT INTO language_subtag_registry( subtag, type, description, added)
|
||||
VALUES ( 'uk', 'language', 'Ukranian','2005-10-16');
|
||||
VALUES ( 'uk', 'language', 'Ukrainian','2005-10-16');
|
||||
|
||||
INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
|
||||
VALUES ( 'uk','ukr');
|
||||
|
|
@ -1101,7 +1101,7 @@ INSERT INTO language_descriptions(subtag, type, lang, description)
|
|||
VALUES ( 'uk', 'language', 'uk', 'Українська');
|
||||
|
||||
INSERT INTO language_descriptions(subtag, type, lang, description)
|
||||
VALUES ( 'uk', 'language', 'en', 'Ukranian');
|
||||
VALUES ( 'uk', 'language', 'en', 'Ukrainian');
|
||||
|
||||
INSERT INTO language_descriptions(subtag, type, lang, description)
|
||||
VALUES ( 'uk', 'language', 'fr', 'Ukrainien');
|
||||
|
|
|
|||
Loading…
Reference in New Issue