Skip to content

Commit 0d0df67

Browse files
authored
MBS-11875: Don't consider Braille an unlikely script (metabrainz#2224)
Braille is specifically meant to be used as a script for many languages and as such it shouldn't be considered as unlikely in combination with them.
1 parent 23dd0a7 commit 0d0df67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/MusicBrainz/Server/Report/ReleasesWithUnlikelyLanguageScript.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ sub query {
2222
JOIN script ON r.script = script.id
2323
JOIN language ON r.language = language.id
2424
WHERE (
25-
script.iso_code NOT IN ('Kana', 'Latn', 'Qaaa') AND
25+
script.iso_code NOT IN ('Brai', 'Kana', 'Latn', 'Qaaa') AND
2626
language.iso_code_3 IN (
2727
'eng', 'spa', 'deu', 'fra', 'por', 'ita', 'swe', 'nor', 'fin',
2828
'est', 'lav', 'lit', 'pol', 'nld', 'cat', 'hun', 'ces', 'slk',
2929
'dan', 'ron', 'slv', 'hrv'
3030
)
3131
) OR (
3232
language.iso_code_3 = 'jpn' AND
33-
script.iso_code NOT IN ('Hira', 'Hrkt', 'Kana', 'Jpan', 'Latn', 'Qaaa')
33+
script.iso_code NOT IN ('Brai', 'Hira', 'Hrkt', 'Kana', 'Jpan', 'Latn', 'Qaaa')
3434
)
3535
";
3636
}

0 commit comments

Comments
 (0)