Bugzilla – Attachment 19461 Details for
Bug 9519
Wrong language code for Italian in the advanced search language limitations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 9519 Wrong language code for Italian The code for Italian in advanced search limitations should be "ita"and not "ind".
PASSED-QA-Bug-9519-Wrong-language-code-for-Italian.patch (text/plain), 4.86 KB, created by
Katrin Fischer
on 2013-07-07 17:11:06 UTC
(
hide
)
Description:
[PASSED QA] Bug 9519 Wrong language code for Italian The code for Italian in advanced search limitations should be "ita"and not "ind".
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-07-07 17:11:06 UTC
Size:
4.86 KB
patch
obsolete
>From a18eac9b4ab23479c7fa7d148a231f674d2629d8 Mon Sep 17 00:00:00 2001 >From: Sonia LEMAIRE <sonia.lemaire@biblibre.com> >Date: Wed, 3 Jul 2013 15:53:49 +0200 >Subject: [PATCH] [PASSED QA] Bug 9519 Wrong language code for Italian The > code for Italian in advanced search limitations should be > "ita"and not "ind". > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >I checked nb-NO and de-DE - language code there had already >been corrected. >--- > .../mysql/fr-FR/1-Obligatoire/subtag_registry.sql | 2 +- > .../data/mysql/it-IT/necessari/subtag_registry.sql | 2 +- > .../data/mysql/pl-PL/mandatory/subtag_registry.sql | 2 +- > .../data/mysql/ru-RU/mandatory/subtag_registry.sql | 2 +- > .../data/mysql/uk-UA/mandatory/subtag_registry.sql | 2 +- > installer/data/mysql/updatedatabase.pl | 6 ++++++ > 6 files changed, 11 insertions(+), 5 deletions(-) > >diff --git a/installer/data/mysql/fr-FR/1-Obligatoire/subtag_registry.sql b/installer/data/mysql/fr-FR/1-Obligatoire/subtag_registry.sql >index 0d0f2cf..59db6bb 100644 >--- a/installer/data/mysql/fr-FR/1-Obligatoire/subtag_registry.sql >+++ b/installer/data/mysql/fr-FR/1-Obligatoire/subtag_registry.sql >@@ -273,7 +273,7 @@ INSERT INTO language_subtag_registry( subtag, type, description, added) > VALUES ( 'it', 'language', 'Italian','2005-10-16' ); > > INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code) >-VALUES( 'it','ind'); >+VALUES( 'it','ita'); > > INSERT INTO language_descriptions(subtag, type, lang, description) > VALUES( 'it', 'language', 'it', 'Italiano'); >diff --git a/installer/data/mysql/it-IT/necessari/subtag_registry.sql b/installer/data/mysql/it-IT/necessari/subtag_registry.sql >index db92311..43e5a14 100644 >--- a/installer/data/mysql/it-IT/necessari/subtag_registry.sql >+++ b/installer/data/mysql/it-IT/necessari/subtag_registry.sql >@@ -314,7 +314,7 @@ INSERT INTO language_subtag_registry( subtag, type, description, added) > VALUES ( 'it', 'language', 'Italian','2005-10-16' ); > > INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code) >-VALUES( 'it','ind'); >+VALUES( 'it','ita'); > > INSERT INTO language_descriptions(subtag, type, lang, description) > VALUES( 'it', 'language', 'it', 'Italiano'); >diff --git a/installer/data/mysql/pl-PL/mandatory/subtag_registry.sql b/installer/data/mysql/pl-PL/mandatory/subtag_registry.sql >index d27be70..09561a9 100644 >--- a/installer/data/mysql/pl-PL/mandatory/subtag_registry.sql >+++ b/installer/data/mysql/pl-PL/mandatory/subtag_registry.sql >@@ -312,7 +312,7 @@ INSERT INTO language_subtag_registry( subtag, type, description, added) > VALUES ( 'it', 'language', 'Italian','2005-10-16' ); > > INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code) >-VALUES( 'it','ind'); >+VALUES( 'it','ita'); > > INSERT INTO language_descriptions(subtag, type, lang, description) > VALUES( 'it', 'language', 'it', 'Italiano'); >diff --git a/installer/data/mysql/ru-RU/mandatory/subtag_registry.sql b/installer/data/mysql/ru-RU/mandatory/subtag_registry.sql >index f494bab..3403d0f 100644 >--- a/installer/data/mysql/ru-RU/mandatory/subtag_registry.sql >+++ b/installer/data/mysql/ru-RU/mandatory/subtag_registry.sql >@@ -312,7 +312,7 @@ INSERT INTO language_subtag_registry( subtag, type, description, added) > VALUES ( 'it', 'language', 'Italian','2005-10-16' ); > > INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code) >-VALUES( 'it','ind'); >+VALUES( 'it','ita'); > > INSERT INTO language_descriptions(subtag, type, lang, description) > VALUES( 'it', 'language', 'it', 'Italiano'); >diff --git a/installer/data/mysql/uk-UA/mandatory/subtag_registry.sql b/installer/data/mysql/uk-UA/mandatory/subtag_registry.sql >index f494bab..3403d0f 100644 >--- a/installer/data/mysql/uk-UA/mandatory/subtag_registry.sql >+++ b/installer/data/mysql/uk-UA/mandatory/subtag_registry.sql >@@ -312,7 +312,7 @@ INSERT INTO language_subtag_registry( subtag, type, description, added) > VALUES ( 'it', 'language', 'Italian','2005-10-16' ); > > INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code) >-VALUES( 'it','ind'); >+VALUES( 'it','ita'); > > INSERT INTO language_descriptions(subtag, type, lang, description) > VALUES( 'it', 'language', 'it', 'Italiano'); >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 08722cc..1ddca1f 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -7029,6 +7029,12 @@ INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ( > SetVersion($DBversion); > } > >+$DBversion = "3.13.00.XXX"; >+if ( CheckVersion($DBversion) ) { >+ $dbh->do("UPDATE language_rfc4646_to_iso639 SET iso639_2_code='ita' WHERE rfc4646_subtag='it'"); >+ print "Upgrade to $DBversion done (Bug 9519: Wrong language code for Italian in the advanced search language limitations)\n"; >+ SetVersion($DBversion); >+} > > =head1 FUNCTIONS > >-- >1.7.9.5
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 9519
:
19392
|
19446
| 19461