mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 00:38:52 -05:00
Fix Chinese language support
This commit is contained in:
parent
b5af78713a
commit
458c3630de
@ -94,12 +94,12 @@ public final class WebServices {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static VideoHashSubtitleService[] getVideoHashSubtitleServices(Locale locale) {
|
public static VideoHashSubtitleService[] getVideoHashSubtitleServices(Locale locale) {
|
||||||
// special support for 射手网 for Chinese language subtitles
|
switch (locale.getLanguage()) {
|
||||||
if (locale.equals(Locale.CHINESE)) {
|
case "zh":
|
||||||
return new VideoHashSubtitleService[] { OpenSubtitles, Shooter };
|
return new VideoHashSubtitleService[] { OpenSubtitles, Shooter }; // special support for 射手网 for Chinese language subtitles
|
||||||
|
default:
|
||||||
|
return new VideoHashSubtitleService[] { OpenSubtitles };
|
||||||
}
|
}
|
||||||
|
|
||||||
return new VideoHashSubtitleService[] { OpenSubtitles };
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Datasource getService(String name) {
|
public static Datasource getService(String name) {
|
||||||
|
Loading…
Reference in New Issue
Block a user