Bugzilla – Attachment 56966 Details for
Bug 17518
Displayed language name for Czech is wrong
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17518: Displayed language name for Czech is wrong
Bug-17518-Displayed-language-name-for-Czech-is-wro.patch (text/plain), 2.40 KB, created by
Josef Moravec
on 2016-10-28 19:19:35 UTC
(
hide
)
Description:
Bug 17518: Displayed language name for Czech is wrong
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2016-10-28 19:19:35 UTC
Size:
2.40 KB
patch
obsolete
>From ce66806ac2aa5ec8a83c061c1956cd8099452ba1 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Wed, 26 Oct 2016 22:53:04 +0000 >Subject: [PATCH] Bug 17518: Displayed language name for Czech is wrong >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >It's "CeÅ¡tina" and should be "ÄeÅ¡tina" > >Test plan: >1) apply the patch >2) install Czech translation for Koha >3) note the language name in language switcher (in staff client and > opac) is right: "ÄeÅ¡tina" >--- > installer/data/mysql/mandatory/subtag_registry.sql | 2 +- > installer/data/mysql/updatedatabase.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/mandatory/subtag_registry.sql b/installer/data/mysql/mandatory/subtag_registry.sql >index d3bbea8..e21577a 100755 >--- a/installer/data/mysql/mandatory/subtag_registry.sql >+++ b/installer/data/mysql/mandatory/subtag_registry.sql >@@ -176,7 +176,7 @@ INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code) > VALUES ( 'cs','cze'); > > INSERT INTO language_descriptions(subtag, type, lang, description) >-VALUES ( 'cs', 'language', 'cs', 'CeÅ¡tina'); >+VALUES ( 'cs', 'language', 'cs', 'ÄeÅ¡tina'); > > INSERT INTO language_descriptions(subtag, type, lang, description) > VALUES ( 'cs', 'language', 'en', 'Czech'); >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 9fbc16f..0139a47 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -9106,7 +9106,7 @@ if ( CheckVersion($DBversion) ) { > $dbh->do("INSERT IGNORE INTO language_descriptions(subtag, type, lang, description) VALUES ( 'bn', 'language', 'en', 'Bengali')"); > > $dbh->do("UPDATE language_descriptions SET description = 'ÐÑлгаÑÑки' WHERE subtag = 'bg' AND type = 'language' AND lang = 'bg'"); >- $dbh->do("UPDATE language_descriptions SET description = 'CeÅ¡tina' WHERE subtag = 'cs' AND type = 'language' AND lang = 'cs'"); >+ $dbh->do("UPDATE language_descriptions SET description = 'ÄeÅ¡tina' WHERE subtag = 'cs' AND type = 'language' AND lang = 'cs'"); > $dbh->do("UPDATE language_descriptions SET description = 'Îλληνικά' WHERE subtag = 'el' AND type = 'language' AND lang = 'el'"); > $dbh->do("UPDATE language_descriptions SET description = 'Español' WHERE subtag = 'es' AND type = 'language' AND lang = 'es'"); > >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17518
:
56966
|
56969
|
56970
|
56971
|
57023