fix type sprites displaying wrong for languages with a hyphen (#2454)
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"textures": [
|
||||
{
|
||||
"image": "types_pt_BR.png",
|
||||
"image": "types_pt-BR.png",
|
||||
"format": "RGBA8888",
|
||||
"size": {
|
||||
"w": 32,
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"textures": [
|
||||
{
|
||||
"image": "types_zh_CN.png",
|
||||
"image": "types_zh-CN.png",
|
||||
"format": "RGBA8888",
|
||||
"size": {
|
||||
"w": 32,
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"textures": [
|
||||
{
|
||||
"image": "types_zh_TW.png",
|
||||
"image": "types_zh-TW.png",
|
||||
"format": "RGBA8888",
|
||||
"size": {
|
||||
"w": 32,
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 800 B After Width: | Height: | Size: 800 B |
Before Width: | Height: | Size: 799 B After Width: | Height: | Size: 799 B |
|
@ -450,9 +450,9 @@ export function verifyLang(lang?: string): boolean {
|
|||
case "fr":
|
||||
case "de":
|
||||
case "it":
|
||||
case "zh_CN":
|
||||
case "zh_TW":
|
||||
case "pt_BR":
|
||||
case "zh-CN":
|
||||
case "zh-TW":
|
||||
case "pt-BR":
|
||||
case "ko":
|
||||
return true;
|
||||
default:
|
||||
|
|