Bugzilla – Attachment 73360 Details for
Bug 20245
Wrong language code for Slovak
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20245: Wrong language code for Slovak
Bug-20245-Wrong-language-code-for-Slovak.patch (text/plain), 1.96 KB, created by
Mark Tompsett
on 2018-03-28 02:30:02 UTC
(
hide
)
Description:
Bug 20245: Wrong language code for Slovak
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2018-03-28 02:30:02 UTC
Size:
1.96 KB
patch
obsolete
>From 22fca903c13acf9cb75b418c7858441047a89048 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Radek=20=C5=A0iman?= <rbit@rbit.cz> >Date: Thu, 8 Mar 2018 22:28:37 +0100 >Subject: [PATCH] Bug 20245: Wrong language code for Slovak > >This patch updates iso639_2_code value for Slovak language > >Test plan: >1) Obtain a biblio record having 'slo' value in its language > code (marc field 041a) >2) Try to find it through Advanced search + more options > with language set to Slovak >3) Nothing is found >4) Apply this patch >5) Repeat steps 1 and 2 >6) Record is found now > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> >--- > .../data/mysql/atomicupdate/bug_20245-update_slovak-language-code.sql | 1 + > installer/data/mysql/mandatory/subtag_registry.sql | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > create mode 100644 installer/data/mysql/atomicupdate/bug_20245-update_slovak-language-code.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_20245-update_slovak-language-code.sql b/installer/data/mysql/atomicupdate/bug_20245-update_slovak-language-code.sql >new file mode 100644 >index 0000000..871f5f0 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_20245-update_slovak-language-code.sql >@@ -0,0 +1 @@ >+UPDATE language_rfc4646_to_iso639 SET iso639_2_code = 'slo' WHERE iso639_2_code = 'slk' AND rfc4646_subtag = 'sk'; >diff --git a/installer/data/mysql/mandatory/subtag_registry.sql b/installer/data/mysql/mandatory/subtag_registry.sql >index ebcdedc..87858d7 100755 >--- a/installer/data/mysql/mandatory/subtag_registry.sql >+++ b/installer/data/mysql/mandatory/subtag_registry.sql >@@ -922,7 +922,7 @@ INSERT INTO language_subtag_registry( subtag, type, description, added) > VALUES ( 'sk', 'language', 'Slovak','2014-10-30'); > > INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code) >-VALUES ( 'sk','slk'); >+VALUES ( 'sk','slo'); > > INSERT INTO language_descriptions(subtag, type, lang, description) > VALUES ( 'sk', 'language', 'sk', 'SlovenÄina'); >-- >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 20245
:
72542
|
73360
|
73754