Sync with Redump region and language selection (fixes #349)

This commit is contained in:
Matt Nadareski
2022-01-26 09:41:34 -08:00
parent 1d0b06bfbe
commit c4fa40c403
3 changed files with 26 additions and 5 deletions

View File

@@ -49,6 +49,7 @@
- Conditionally pull region from Redump
- Be smarter about volume labels
- Use volume label in checks, not formatted version
- Sync with Redump region and language selection
### 2.2 (2021-12-30)
- Fix Saturn header finding

View File

@@ -129,9 +129,15 @@ namespace RedumpLib.Data
[HumanReadable(LongName = "Arabic", ShortName = "ara")]
Arabic,
[HumanReadable(LongName = "Armenian", ShortName = "hye")]
Armenian,
[HumanReadable(LongName = "Basque", ShortName = "baq")]
Basque,
[HumanReadable(LongName = "Belarusian", ShortName = "bel")]
Belarusian,
[HumanReadable(LongName = "Bulgarian", ShortName = "bul")]
Bulgarian,
@@ -183,12 +189,12 @@ namespace RedumpLib.Data
[HumanReadable(LongName = "Hungarian", ShortName = "hun")]
Hungarian,
[HumanReadable(LongName = "Indonesian", ShortName = "ind")]
Indonesian,
[HumanReadable(LongName = "Icelandic", ShortName = "isl")]
Icelandic,
[HumanReadable(LongName = "Indonesian", ShortName = "ind")]
Indonesian,
[HumanReadable(LongName = "Italian", ShortName = "ita")]
Italian,
@@ -254,6 +260,9 @@ namespace RedumpLib.Data
[HumanReadable(LongName = "Ukrainian", ShortName = "ukr")]
Ukrainian,
[HumanReadable(LongName = "Vietnamese", ShortName = "vie")]
Vietnamese,
}
/// <summary>
@@ -988,6 +997,9 @@ namespace RedumpLib.Data
[HumanReadable(LongName = "Austria, Switzerland", ShortName = "At,Ch")]
AustriaSwitzerland,
[HumanReadable(LongName = "Belarus", ShortName = "By")]
Belarus,
[HumanReadable(LongName = "Belgium", ShortName = "Be")]
Belgium,

View File

@@ -926,8 +926,12 @@ namespace RedumpLib.Data
return Language.Albanian;
case "ara":
return Language.Arabic;
case "hye":
return Language.Armenian;
case "baq":
return Language.Basque;
case "bel":
return Language.Belarusian;
case "bul":
return Language.Bulgarian;
case "cat":
@@ -962,10 +966,10 @@ namespace RedumpLib.Data
return Language.Hindi;
case "hun":
return Language.Hungarian;
case "ind":
return Language.Indonesian;
case "isl":
return Language.Icelandic;
case "ind":
return Language.Indonesian;
case "ita":
return Language.Italian;
case "jap":
@@ -1010,6 +1014,8 @@ namespace RedumpLib.Data
return Language.Turkish;
case "ukr":
return Language.Ukrainian;
case "vie":
return Language.Vietnamese;
default:
return null;
}
@@ -1089,6 +1095,8 @@ namespace RedumpLib.Data
return Region.Austria;
case "At,Ch":
return Region.AustriaSwitzerland;
case "By":
return Region.Belarus;
case "Be":
return Region.Belgium;
case "Be,N":