spanish support
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Assets.Scripts;
|
||||
using Qoo.Game;
|
||||
|
||||
namespace Qoo.Def
|
||||
@@ -90,8 +91,20 @@ namespace Qoo.Def
|
||||
// Token: 0x040004FE RID: 1278
|
||||
private static readonly GameDef.GAME_PARAM_TABLE[] g_GameParamTable = new GameDef.GAME_PARAM_TABLE[]
|
||||
{
|
||||
UnityApp.Instance.isJapanese? new GameDef.GAME_PARAM_TABLE("firstname", "アリス", false) : new GameDef.GAME_PARAM_TABLE("firstname", "Alice", false),
|
||||
UnityApp.Instance.isJapanese? new GameDef.GAME_PARAM_TABLE("familyname", "リデル", false) : new GameDef.GAME_PARAM_TABLE("familyname", "Liddell", false),
|
||||
|
||||
|
||||
new GameDef.GAME_PARAM_TABLE("firstname", UnityApp.Instance.locale switch
|
||||
{
|
||||
LocaleEnum.English => "Alice",
|
||||
LocaleEnum.Spanish => "Alice",
|
||||
_ => "アリス"
|
||||
}, false),
|
||||
new GameDef.GAME_PARAM_TABLE("familyname", UnityApp.Instance.locale switch
|
||||
{
|
||||
LocaleEnum.English => "Liddell",
|
||||
LocaleEnum.Spanish => "Liddell",
|
||||
_ => "リデル"
|
||||
}, false),
|
||||
new GameDef.GAME_PARAM_TABLE("scene", string.Empty, false),
|
||||
new GameDef.GAME_PARAM_TABLE("memory", string.Empty, false),
|
||||
new GameDef.GAME_PARAM_TABLE("map_bg", string.Empty, false),
|
||||
|
||||
@@ -7,12 +7,24 @@ namespace Qoo.Def
|
||||
{
|
||||
void Awake()
|
||||
{
|
||||
if (!UnityApp.Instance.isJapanese)
|
||||
{
|
||||
MSG_SAVE_CONFIRM = "Do you want to save?";
|
||||
MSG_OVER_CONFIRM = "Do you want to overwrite this save?";
|
||||
MSG_LOAD_CONFIRM = "Do you want to load this save?";
|
||||
}
|
||||
switch (UnityApp.Instance.locale)
|
||||
{
|
||||
case Assets.Scripts.LocaleEnum.English:
|
||||
MSG_SAVE_CONFIRM = "Do you want to save?";
|
||||
MSG_LOAD_CONFIRM = "Do you want to load this save?";
|
||||
MSG_OVER_CONFIRM = "Do you want to overwrite this Save?";
|
||||
break;
|
||||
case Assets.Scripts.LocaleEnum.Spanish:
|
||||
MSG_SAVE_CONFIRM = "Spanish translation save message";
|
||||
MSG_LOAD_CONFIRM = "Spanish translation load message";
|
||||
MSG_OVER_CONFIRM = "Spanish translation overwrite confirm message";
|
||||
break;
|
||||
default:
|
||||
MSG_SAVE_CONFIRM = "セーブしますか?";
|
||||
MSG_LOAD_CONFIRM = "ロードしますか?";
|
||||
MSG_OVER_CONFIRM = "上書きしますか";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000565 RID: 1381
|
||||
|
||||
Reference in New Issue
Block a user