Bug 22770: Fix typo in German language description of el

Fixes:
Griechisch (Moern [1453- ] ==> Griechisch (Modern 1453-)

To test:
- Install de-DE language and activate it
- Check the language pull down on advanced search has the typo
- Apply patch and run database update
- Check advanced search again
- Verify the description now shows correctly

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit eba980b351)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 9aac2c9051)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Katrin Fischer 2019-06-02 10:48:00 +02:00 committed by Lucas Gass
parent f61cb04472
commit d53330a64d
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,7 @@
$DBversion = 'XXX'; # will be replaced by the RM
if( CheckVersion( $DBversion ) ) {
$dbh->do( 'UPDATE language_descriptions SET description = "Griechisch (Modern 1453-)"
WHERE subtag = "el" and type = "language" and lang ="de"' );
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 22770 - Fix typo in language description for el in German)\n";
}

View File

@ -239,7 +239,7 @@ INSERT INTO language_descriptions(subtag, type, lang, description)
VALUES ( 'el', 'language', 'fr', 'Grec Moderne (Après 1453)');
INSERT INTO language_descriptions(subtag, type, lang, description)
VALUES ( 'el', 'language', 'de', 'Griechisch (Moern [1453- ]');
VALUES ( 'el', 'language', 'de', 'Griechisch (Modern 1453-)');
-- English
INSERT INTO language_subtag_registry( subtag, type, description, added)