35 lines
1.6 KiB
C#
35 lines
1.6 KiB
C#
#if ENABLE_MONO && (DEVELOPMENT_BUILD || UNITY_EDITOR)
|
||
namespace SingularityGroup.HotReload.Localization {
|
||
|
||
internal static partial class Translations {
|
||
public static class Settings {
|
||
public static string BuildSettings;
|
||
public static string IncludeInBuildTooltip;
|
||
public static string PlayerSettings;
|
||
public static string Other;
|
||
public static string FallbackEventSystemTooltip;
|
||
public static string NoEventSystemWarning;
|
||
|
||
public static void LoadEnglish() {
|
||
BuildSettings = "Build Settings";
|
||
IncludeInBuildTooltip = "Should the Hot Reload runtime be included in development builds? HotReload is never included in release builds.";
|
||
PlayerSettings = "Player Settings";
|
||
Other = "Other";
|
||
FallbackEventSystemTooltip = "Used when project does not create an EventSystem early enough";
|
||
NoEventSystemWarning = "No EventSystem is active, enabling an EventSystem inside Hot Reload {0} prefab. A Unity EventSystem and an Input module is required for tapping buttons on the Unity UI.";
|
||
}
|
||
|
||
public static void LoadSimplifiedChinese() {
|
||
BuildSettings = "构建设置";
|
||
IncludeInBuildTooltip = "Hot Reload 运行时是否应包含在开发版本中?HotReload 永远不会包含在发布版本中。";
|
||
PlayerSettings = "播放器设置";
|
||
Other = "其他";
|
||
FallbackEventSystemTooltip = "当项目未能及早创建 EventSystem 时使用";
|
||
NoEventSystemWarning = "没有活动的 EventSystem,正在 Hot Reload {0} 预制件内启用 EventSystem。点击 Unity UI 上的按钮需要 Unity EventSystem 和输入模块。";
|
||
}
|
||
}
|
||
}
|
||
|
||
}
|
||
#endif
|