maint: hotreload updated to 1.13.7

This commit is contained in:
Chris
2026-01-06 22:42:15 -05:00
parent 796dbca5d8
commit 105da8850a
128 changed files with 3538 additions and 738 deletions

View File

@@ -0,0 +1,103 @@
namespace SingularityGroup.HotReload.Editor.Localization {
internal static partial class Translations {
public static class About {
// Log Messages
public static string LogNoLogsFound;
public static string LogFailedOpeningLogFile;
public static string LogBuildTargetSwitching;
// About/Help Tab
public static string AboutTitle;
public static string AboutDescription;
public static string AboutVersionInfo;
public static string AboutChangelog;
public static string AboutFeatures;
public static string AboutImprovements;
public static string AboutFixes;
public static string AboutToday;
public static string AboutYesterday;
public static string AboutDaysAgo;
public static string AboutOneMonthAgo;
public static string AboutMonthsAgo;
public static string AboutOneYearAgo;
public static string AboutYearsAgo;
// About Tab Buttons
public static string ButtonDocumentation;
public static string ButtonContact;
public static string ButtonUnityForum;
public static string ButtonReportIssue;
public static string ButtonJoinDiscord;
public static string ButtonSeeMore;
public static string ButtonManageLicense;
public static string ButtonManageAccount;
public static void LoadEnglish() {
// Log Messages
LogNoLogsFound = "No logs found";
LogFailedOpeningLogFile = "Failed opening log file.";
LogBuildTargetSwitching = "Build target is switching to {0}.";
// About/Help Tab
AboutTitle = "Help";
AboutDescription = "Info and support for Hot Reload for Unity.";
AboutVersionInfo = " Hot Reload version {0}. ";
AboutChangelog = "Changelog";
AboutFeatures = "Features:";
AboutImprovements = "Improvements:";
AboutFixes = "Fixes:";
AboutToday = "Today";
AboutYesterday = "Yesterday";
AboutDaysAgo = "{0} days ago";
AboutOneMonthAgo = "one month ago";
AboutMonthsAgo = "{0} months ago";
AboutOneYearAgo = "one year ago";
AboutYearsAgo = "{0} years ago";
// About Tab Buttons
ButtonDocumentation = "Documentation";
ButtonContact = "Contact";
ButtonUnityForum = "Unity Forum";
ButtonReportIssue = "Report issue";
ButtonJoinDiscord = "Join Discord";
ButtonSeeMore = "See More";
ButtonManageLicense = "Manage License";
ButtonManageAccount = "Manage Account";
}
public static void LoadSimplifiedChinese() {
// Log Messages
LogNoLogsFound = "未找到日志";
LogFailedOpeningLogFile = "打开日志文件失败。";
LogBuildTargetSwitching = "构建目标正在切换到 {0}。";
// About/Help Tab
AboutTitle = "帮助";
AboutDescription = "Unity Hot Reload 的信息和支持。";
AboutVersionInfo = " Hot Reload 版本 {0}。";
AboutChangelog = "更新日志";
AboutFeatures = "新功能:";
AboutImprovements = "改进:";
AboutFixes = "修复:";
AboutToday = "今天";
AboutYesterday = "昨天";
AboutDaysAgo = "{0} 天前";
AboutOneMonthAgo = "一个月前";
AboutMonthsAgo = "{0} 个月前";
AboutOneYearAgo = "一年前";
AboutYearsAgo = "{0} 年前";
// About Tab Buttons
ButtonDocumentation = "文档";
ButtonContact = "联系我们";
ButtonUnityForum = "Unity 论坛";
ButtonReportIssue = "报告问题";
ButtonJoinDiscord = "加入 Discord";
ButtonSeeMore = "查看更多";
ButtonManageLicense = "管理许可证";
ButtonManageAccount = "管理帐户";
}
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 155269da640bb89428bf5b3d415878c9

View File

@@ -0,0 +1,115 @@
namespace SingularityGroup.HotReload.Editor.Localization {
internal static partial class Translations {
public static class Common {
// Common Buttons
public static string ButtonSubmit;
public static string ButtonHide;
public static string ButtonClear;
public static string ButtonStart;
public static string ButtonStop;
public static string ButtonRecompile;
public static string ButtonProceed;
public static string ButtonYes;
public static string ButtonNo;
public static string ButtonCancel;
public static string ButtonOpenInBrowser;
public static string ButtonLogin;
public static string ButtonLogout;
public static string ButtonRedeem;
public static string ButtonSkip;
public static string ButtonUpgrade;
public static string ButtonFixAll;
public static string ButtonGoBack;
public static string ButtonActivatePromoCode;
public static string ButtonActivateLicense;
public static string ButtonOpenLogFile;
public static string ButtonBrowseAllLogs;
public static string ButtonInfo;
public static string ButtonNotNow;
public static string ButtonStopAndRecompile;
// Common Labels
public static string LabelEmail;
public static string LabelPassword;
public static string LabelPromoCode;
public static string LabelCompanySize;
public static string LabelInvoiceNumber;
public static string LabelShowOnStartup;
public static void LoadEnglish() {
// Common Buttons
ButtonSubmit = "Submit";
ButtonHide = "Hide";
ButtonClear = "Clear";
ButtonStart = " Start";
ButtonStop = " Stop";
ButtonRecompile = " Recompile";
ButtonProceed = "Proceed";
ButtonYes = "Yes";
ButtonNo = "No";
ButtonCancel = "Cancel";
ButtonOpenInBrowser = "Open in browser";
ButtonLogin = "Login";
ButtonLogout = "Logout";
ButtonRedeem = "Redeem";
ButtonSkip = "Skip";
ButtonUpgrade = "Upgrade";
ButtonFixAll = "Fix All";
ButtonGoBack = "Go Back";
ButtonActivatePromoCode = "Activate promo code";
ButtonActivateLicense = "Activate License";
ButtonOpenLogFile = "Open Log File";
ButtonBrowseAllLogs = "Browse all logs";
ButtonInfo = " Info";
ButtonNotNow = "Not now";
ButtonStopAndRecompile = "Stop and Recompile";
// Common Labels
LabelEmail = "Email";
LabelPassword = "Password";
LabelPromoCode = "Promo code";
LabelCompanySize = "Company size (number of employees)";
LabelInvoiceNumber = "Invoice number/Order ID";
LabelShowOnStartup = "Show On Startup";
}
public static void LoadSimplifiedChinese() {
// Common Buttons
ButtonSubmit = "提交";
ButtonHide = "隐藏";
ButtonClear = "清除";
ButtonStart = " 开始";
ButtonStop = " 停止";
ButtonRecompile = " 重新编译";
ButtonProceed = "继续";
ButtonYes = "是";
ButtonNo = "否";
ButtonCancel = "取消";
ButtonOpenInBrowser = "在浏览器中打开";
ButtonLogin = "登录";
ButtonLogout = "登出";
ButtonRedeem = "兑换";
ButtonSkip = "跳过";
ButtonUpgrade = "升级";
ButtonFixAll = "全部修复";
ButtonGoBack = "返回";
ButtonActivatePromoCode = "激活促销代码";
ButtonActivateLicense = "激活许可证";
ButtonOpenLogFile = "打开日志文件";
ButtonBrowseAllLogs = "浏览所有日志";
ButtonInfo = " 信息";
ButtonNotNow = "以后再说";
ButtonStopAndRecompile = "停止并重新编译";
// Common Labels
LabelEmail = "电子邮件";
LabelPassword = "密码";
LabelPromoCode = "促销代码";
LabelCompanySize = "公司规模(员工人数)";
LabelInvoiceNumber = "发票号码/订单 ID";
LabelShowOnStartup = "启动时显示";
}
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 2fea73e8304102e4a805c3d00653b84b

View File

@@ -0,0 +1,139 @@
namespace SingularityGroup.HotReload.Editor.Localization {
internal static partial class Translations {
public static class Dialogs {
// Dialogs
public static string DialogTitleRecompile;
public static string DialogMessageRecompile;
public static string DialogTitleStopPlayMode;
public static string DialogMessageStopPlayMode;
public static string DialogTitleRecoverPassword;
public static string DialogMessageRecoverPassword;
public static string DialogTitleRateApp;
public static string DialogMessageRateApp;
public static string DialogTitleDeactivate;
public static string DialogMessageDeactivate;
public static string DialogButtonDeactivate;
public static string DialogTitleRestartServer;
public static string DialogMessageRestartAssetRefresh;
public static string DialogMessageRestartConsoleWindow;
public static string DialogMessageRestartErrorReporting;
public static string DialogButtonRestartHotReload;
public static string DialogButtonRestartServer;
public static string DialogButtonDontRestart;
public static string DialogTitleInstallComponents;
public static string DialogMessageInstallComponents;
public static string DialogButtonInstall;
public static string DialogButtonMoreInfo;
public static string DialogTitleSwitchBuildTarget;
public static string DialogMessageSwitchBuildTarget;
public static string DialogButtonSwitchToStandalone;
// About Tab Dialog Messages
public static string DialogManageLicenseMessage;
public static string DialogManageAccountMessage;
public static string DialogReportIssueMessage;
// Update Dialog
public static string DialogTitleUpdateFormat;
public static string DialogMessageUpdateFormat;
public static string DialogButtonUpdate;
// Update Server Dialog
public static string DialogMessageRestartUpdate;
public static string DialogMessageRestartFieldInitializer;
public static string DialogMessageRestartExposeServer;
public static string DialogTitleHotReload;
public static void LoadEnglish() {
// Dialogs
DialogTitleRecompile = "Hot Reload auto-applies changes";
DialogMessageRecompile = "Using the Recompile button is only necessary when Hot Reload fails to apply your changes. \n\nDo you wish to proceed?";
DialogTitleStopPlayMode = "Stop Play Mode and Recompile?";
DialogMessageStopPlayMode = "Using the Recompile button will stop Play Mode.\n\nDo you wish to proceed?";
DialogTitleRecoverPassword = "Recover password";
DialogMessageRecoverPassword = "Use company code 'naughtycult' and the email you signed up with in order to recover your account.";
DialogTitleRateApp = "Rate Hot Reload";
DialogMessageRateApp = "Thank you for using Hot Reload!\n\nPlease consider leaving a review on the Asset Store to support us.";
DialogTitleDeactivate = "Hot Reload";
DialogMessageDeactivate = "Hot Reload will be completely deactivated (unusable) until you activate it again.\n\nDo you want to proceed?";
DialogButtonDeactivate = "Deactivate";
DialogTitleRestartServer = "Hot Reload";
DialogMessageRestartAssetRefresh = "When changing 'Asset refresh', the Hot Reload server must be restarted for this to take effect.\nDo you want to restart it now?";
DialogMessageRestartConsoleWindow = "When changing 'Hide console window on start', the Hot Reload server must be restarted for this to take effect.\nDo you want to restart it now?";
DialogMessageRestartErrorReporting = "When changing 'Disable Detailed Error Reporting', the Hot Reload server must be restarted for this to take effect.\nDo you want to restart it now?";
DialogButtonRestartHotReload = "Restart Hot Reload";
DialogButtonRestartServer = "Restart server";
DialogButtonDontRestart = "Don't restart";
DialogTitleInstallComponents = "Install platform specific components";
DialogMessageInstallComponents = "For Hot Reload to work, additional components specific to your operating system have to be installed";
DialogButtonInstall = "Install";
DialogButtonMoreInfo = "More Info";
DialogTitleSwitchBuildTarget = "Switch Build Target";
DialogMessageSwitchBuildTarget = "Switching the build target can take a while depending on project size.";
DialogButtonSwitchToStandalone = "Switch to Standalone";
// About Tab Dialog Messages
DialogManageLicenseMessage = "Upgrade/downgrade/edit your subscription and edit payment info.";
DialogManageAccountMessage = "Login with company code 'naughtycult'. Use the email you signed up with. Your initial password was sent to you by email.";
DialogReportIssueMessage = "Report issue in our public issue tracker. Requires gitlab.com account (if you don't have one and are not willing to make it, please contact us by other means such as our website).";
// Update Dialog
DialogTitleUpdateFormat = "Update To v{0}";
DialogMessageUpdateFormat = "By pressing 'Update' the Hot Reload package will be updated to v{0}";
DialogButtonUpdate = "Update";
// Update Server Dialog
DialogMessageRestartUpdate = "When updating Hot Reload, the server must be restarted for the update to take effect.\nDo you want to restart it now?";
DialogMessageRestartFieldInitializer = "When changing 'Apply field initializer edits to existing class instances' setting, the Hot Reload server must restart for it to take effect.\nDo you want to restart it now?";
DialogMessageRestartExposeServer = "When changing '{0}', the Hot Reload server must be restarted for this to take effect.\nDo you want to restart it now?";
DialogTitleHotReload = "Hot Reload";
}
public static void LoadSimplifiedChinese() {
// Dialogs
DialogTitleRecompile = "Hot Reload 自动应用更改";
DialogMessageRecompile = "仅当 Hot Reload 未能应用您的更改时,才需要使用“重新编译”按钮。\n\n您希望继续吗";
DialogTitleStopPlayMode = "停止播放模式并重新编译?";
DialogMessageStopPlayMode = "使用“重新编译”按钮将停止播放模式。\n\n您希望继续吗";
DialogTitleRecoverPassword = "恢复密码";
DialogMessageRecoverPassword = "使用公司代码 'naughtycult' 和您注册时使用的电子邮件来恢复您的帐户。";
DialogTitleRateApp = "为 Hot Reload 评分";
DialogMessageRateApp = "感谢您使用 Hot Reload\n\n请考虑在 Asset Store 上留下评论以支持我们。";
DialogTitleDeactivate = "Hot Reload";
DialogMessageDeactivate = "Hot Reload 将被完全停用(无法使用),直到您再次激活它。\n\n您希望继续吗";
DialogButtonDeactivate = "停用";
DialogTitleRestartServer = "Hot Reload";
DialogMessageRestartAssetRefresh = "更改“资源刷新”时,必须重新启动 Hot Reload 服务器才能生效。\n您希望现在重新启动吗";
DialogMessageRestartConsoleWindow = "更改“启动时隐藏控制台窗口”时,必须重新启动 Hot Reload 服务器才能生效。\n您希望现在重新启动吗";
DialogMessageRestartErrorReporting = "更改“禁用详细错误报告”时,必须重新启动 Hot Reload 服务器才能生效。\n您希望现在重新启动吗";
DialogButtonRestartHotReload = "重新启动 Hot Reload";
DialogButtonRestartServer = "重新启动服务器";
DialogButtonDontRestart = "不重新启动";
DialogTitleInstallComponents = "安装特定于平台的组件";
DialogMessageInstallComponents = "为了让 Hot Reload 工作,必须安装特定于您操作系统的附加组件";
DialogButtonInstall = "安装";
DialogButtonMoreInfo = "更多信息";
DialogTitleSwitchBuildTarget = "切换构建目标";
DialogMessageSwitchBuildTarget = "切换构建目标可能需要一段时间,具体取决于项目大小。";
DialogButtonSwitchToStandalone = "切换到独立平台";
// About Tab Dialog Messages
DialogManageLicenseMessage = "升级/降级/编辑您的订阅并编辑付款信息。";
DialogManageAccountMessage = "使用公司代码 'naughtycult' 登录。使用您注册时使用的电子邮件。您的初始密码已通过电子邮件发送给您。";
DialogReportIssueMessage = "在我们的公共问题跟踪器中报告问题。需要 gitlab.com 帐户(如果您没有并且不愿意创建,请通过其他方式与我们联系,例如我们的网站)。";
// Update Dialog
DialogTitleUpdateFormat = "更新到 v{0}";
DialogMessageUpdateFormat = "按下“更新”后Hot Reload 软件包将更新到 v{0}";
DialogButtonUpdate = "更新";
// Update Server Dialog
DialogMessageRestartUpdate = "更新 Hot Reload 时,必须重新启动服务器才能使更新生效。\n您希望现在重新启动吗";
DialogMessageRestartFieldInitializer = "更改“将字段初始化程序编辑应用于现有类实例”设置时,必须重新启动 Hot Reload 服务器才能生效。\n您希望现在重新启动吗";
DialogMessageRestartExposeServer = "更改“{0}”时,必须重新启动 Hot Reload 服务器才能生效。\n您希望现在重新启动吗";
DialogTitleHotReload = "Hot Reload";
}
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 18bf971e42f1c6b40a2f22f0cc76411f

View File

@@ -0,0 +1,328 @@
namespace SingularityGroup.HotReload.Editor.Localization {
internal static partial class Translations {
public static class Errors {
// Error Messages
public static string ErrorInvalidInput;
public static string ErrorNetworkIssue;
public static string ErrorDownloadFailed;
public static string ErrorServerBinaryNotFound;
public static string ErrorCopyingServerBinary;
public static string ErrorDownloadSucceeded;
public static string ErrorContactSupport;
public static string ErrorEnterNumber;
public static string ErrorEnterEmail;
public static string ErrorValidEmail;
public static string ErrorEnterPassword;
public static string ErrorMailExtensions;
public static string ErrorEnterInvoiceNumber;
public static string ErrorInvalidEmailAddress;
public static string ErrorLicenseInvoiceRedeemed;
public static string ErrorEmailAlreadyUsed;
public static string ErrorInvoiceNotFound;
public static string ErrorInvoiceRefunded;
public static string ErrorPromoCodeInvalid;
public static string ErrorPromoCodeUsed;
public static string ErrorPromoCodeExpired;
public static string ErrorLicenseExtended;
public static string ErrorPromoCodeActivation;
public static string ErrorPromoCodeNetwork;
// Warning Messages
public static string WarningUnityJobHotReloaded;
public static string WarningBuildSettingsNotSupported;
public static string WarningInlinedMethods;
public static string WarningMacOSVersionDetectionFailed;
public static string WarningUnexpectedSaveProblem;
public static string WarningRedeemStatusUnknown;
public static string WarningRedeemUnknownError;
public static string WarningFailedToRunServerCommand;
public static string WarningVersionCheckException;
public static string WarningVersionCheckFailed;
public static string WarningUpdateIssueFailed;
public static string WarningUpdatePackageFailed;
public static string WarningUnableToFindPackage;
public static string WarningCompileCheckerIssue;
public static string WarningFailedToStartServer;
public static string WarningNoSlnFileFound;
public static string WarningPreparingBuildInfoFailed;
public static string WarningInlineMethodChecker;
public static string WarningRefreshingAssetFailed;
public static string WarningFailedDeterminingRegistration;
public static string WarningRedeemingLicenseFailed;
public static string WarningInitializingEventEntries;
public static string WarningPersistingEventEntries;
public static string WarningIndicationTextNotFound;
// Info Messages
public static string InfoDebuggerAttached;
public static string InfoInspectorFieldRecompile;
public static string InfoDefaultProjectGeneration;
public static string ErrorFreeChargesUnavailable;
// Exception Messages
public static string ExceptionExpectedZipFile;
public static string ExceptionZipFileNotFound;
public static string ExceptionUnzipFailed;
public static string ExceptionDownloadFailed;
public static string ExceptionUnableToFindManifest;
public static string ErrorRedeemRequestFailed;
public static string ErrorFailedDeserializingRedeem;
public static string ErrorRedeemingWebException;
public static string ExceptionDownloadContentLengthUnknown;
public static string ExceptionDownloadFileCorrupted;
public static string ExceptionFailedToFindAppDirectory;
public static string ExceptionCouldNotStartCodePatcher;
// Info/Debug Messages
public static string InfoManifestSearch;
public static string InfoOmitProjectsForPlayerBuild;
public static string InfoSeparator;
public static string InfoOmittedEditorProject;
public static string InfoFoundProjectNamed;
// Project Generation Warnings
public static string WarningPostProcessorException;
public static string WarningPostProcessorFailedProject;
public static string WarningPostProcessorFailedSolution;
public static string WarningPostProcessorNoDefaultConstructor;
public static string WarningPostProcessorConstructorException;
public static string WarningPostProcessorUnknownException;
// Parse Errors
public static string ErrorParseError;
// Android Manifest Comments
public static string CommentAndroidCleartextPermit;
public static string CommentAndroidCleartextDevelopmentOnly;
// Debug Messages
public static string DebugDetouringMethodFailed;
// Package Update Errors
public static string ErrorRequestFailedStatusCode;
public static string ErrorInvalidPackageJson;
public static string ErrorInvalidVersionInPackageJson;
public static string ErrorUnableToFindManifestJson;
public static string ErrorNoDependenciesInManifest;
public static string ErrorDependenciesNullInManifest;
public static string ErrorNoDependenciesSpecified;
public static void LoadEnglish() {
// Error Messages
ErrorInvalidInput = "Invalid input";
ErrorNetworkIssue = "Something went wrong. Please check your internet connection.";
ErrorContactSupport = "Something went wrong. Please contact support if the issue persists.";
ErrorDownloadFailed = "Download attempt failed. If the issue persists please reach out to customer support for assistance. Exception: {0}";
ErrorServerBinaryNotFound = "unable to find server binary for platform '{0}' at '{1}'. Will proceed with downloading the binary (default behavior)";
ErrorCopyingServerBinary = "encountered exception when copying server binary in the specified custom executable path '{0}':\n{1}";
ErrorDownloadSucceeded = "Download succeeded!";
ErrorEnterNumber = "Please enter a number.";
ErrorEnterEmail = "Please enter your email address.";
ErrorValidEmail = "Please enter a valid email address.";
ErrorEnterPassword = "Please enter your password.";
ErrorMailExtensions = "Mail extensions (in a form of 'username+suffix@example.com') are not supported yet. Please provide your original email address (such as 'username@example.com' without '+suffix' part) as we're working on resolving this issue.";
ErrorEnterInvoiceNumber = "Please enter invoice number / order ID.";
ErrorInvalidEmailAddress = "Please enter a valid email address.";
ErrorLicenseInvoiceRedeemed = "The invoice number/order ID you're trying to use has already been applied to redeem a license. Please enter a different invoice number/order ID. If you have already redeemed a license for another email, you may proceed to the next step.";
ErrorEmailAlreadyUsed = "The provided email has already been used to redeem a license. If you have previously redeemed a license, you can proceed to the next step and use your existing credentials. If not, please input a different email address.";
ErrorInvoiceNotFound = "The invoice was not found. Please ensure that you've entered the correct invoice number/order ID.";
ErrorInvoiceRefunded = "The purchase has been refunded. Please enter a different invoice number/order ID.";
ErrorPromoCodeInvalid = "Your promo code is invalid. Please ensure that you have entered the correct promo code.";
ErrorPromoCodeUsed = "Your promo code has already been used.";
ErrorPromoCodeExpired = "Your promo code has expired.";
ErrorLicenseExtended = "Your license has already been activated with a promo code. Only one promo code activation per license is allowed.";
ErrorPromoCodeActivation = "We encountered an error while activating your promo code. Please try again. If the issue persists, please contact our customer support team for assistance.";
ErrorPromoCodeNetwork = "There is an issue connecting to our servers. Please check your internet connection or contact customer support if the issue persists.";
// Warning Messages
WarningUnityJobHotReloaded = "A unity job was hot reloaded. This will cause a harmless warning that can be ignored. More info about this can be found here: {0}";
WarningBuildSettingsNotSupported = "Hot Reload was not included in the build because one or more build settings were not supported.";
WarningInlinedMethods = "Unity Editor inlines simple methods when it's in \"Release\" mode, which Hot Reload cannot patch.\n\nSwitch to Debug mode to avoid this problem, or let Hot Reload fully recompile Unity when this issue occurs.";
WarningMacOSVersionDetectionFailed = "Failed to detect MacOS version, if Hot Reload fails to start, please contact support.";
WarningUnexpectedSaveProblem = "Unexpected problem unable to save HotReloadSettingsObject";
WarningRedeemStatusUnknown = "Redeeming license failed: unknown status received";
WarningRedeemUnknownError = "Redeeming a license failed: uknown error encountered";
WarningFailedToRunServerCommand = "Failed to the run the start server command. ExitCode={0}\nFilepath: {1}";
WarningVersionCheckException = "encountered exception when checking for new Hot Reload package version:\n{0}";
WarningVersionCheckFailed = "version check failed: {0}";
WarningUpdateIssueFailed = "Encountered issue when updating Hot Reload: {0}";
WarningUpdatePackageFailed = "Failed to update package: {0}";
WarningUnableToFindPackage = "Unable to find package. message: {0}";
WarningCompileCheckerIssue = "compile checker encountered issue: {0} {1}";
WarningFailedToStartServer = "Failed to start the Hot Reload Server. {0}";
WarningNoSlnFileFound = "No .sln file found. Open any c# file to generate it so Hot Reload can work properly";
WarningPreparingBuildInfoFailed = "Preparing build info failed! On-device functionality might not work. Exception: {0}";
WarningInlineMethodChecker = "Inline method checker ran into an exception. Please contact support with the exception message to investigate the problem. Exception: {0}";
WarningRefreshingAssetFailed = "Refreshing asset at path: {0} failed due to exception: {1}";
WarningFailedDeterminingRegistration = "Failed determining registration outcome with {0}: {1}";
WarningRedeemingLicenseFailed = "Redeeming a license failed with error: {0}";
WarningInitializingEventEntries = "Failed initializing Hot Reload event entries on start: {0}";
WarningPersistingEventEntries = "Failed persisting Hot Reload event entries: {0}";
WarningIndicationTextNotFound = "Indication text not found for status {0}";
// Info Messages
InfoDebuggerAttached = "Debugger was attached. Hot Reload may interfere with your debugger session. Recompiling in order to get full debugger experience.";
InfoInspectorFieldRecompile = "Some inspector field changes require recompilation in Unity. Auto recompiling Unity according to the settings.";
InfoDefaultProjectGeneration = "Using default project generation. If you encounter any problem with Unity's default project generation consider disabling it to use custom project generation.";
ErrorFreeChargesUnavailable = "Free charges unavailabe. Please contact support if the issue persists.";
// Exception Messages
ExceptionExpectedZipFile = "Expected to end with .zip, but it was: {0}";
ExceptionZipFileNotFound = "zip file not found {0}";
ExceptionUnzipFailed = "unzip failed with ExitCode {0}";
ExceptionDownloadFailed = "Download failed with status code {0} and reason {1}";
ExceptionUnableToFindManifest = "[{0}] Unable to find {1}";
ErrorRedeemRequestFailed = "Redeem request failed. Status code: {0}, reason: {1}";
ErrorFailedDeserializingRedeem = "Failed deserializing redeem response with exception: {0}: {1}";
ErrorRedeemingWebException = "Redeeming license failed: WebException encountered {0}";
ExceptionDownloadContentLengthUnknown = "Download failed: Content length unknown";
ExceptionDownloadFileCorrupted = "Download failed: download file is corrupted";
ExceptionFailedToFindAppDirectory = "Failed to find .app directory and move it to {0}";
ExceptionCouldNotStartCodePatcher = "Could not start code patcher process.";
// Info/Debug Messages
InfoManifestSearch = "Did not find {0} at {1}, searching for manifest file inside {2}";
InfoOmitProjectsForPlayerBuild = "To compile C# files same as a Player build, we must omit projects which aren't part of the selected Player build.";
InfoSeparator = "---------";
InfoOmittedEditorProject = "omitted editor/other project named: {0}";
InfoFoundProjectNamed = "found project named {0}";
// Project Generation Warnings
WarningPostProcessorException = "Post processor '{0}' threw exception when calling OnGeneratedCSProjectFilesThreaded:\n{1}";
WarningPostProcessorFailedProject = "Post processor '{0}' failed when processing project '{1}':\n{2}";
WarningPostProcessorFailedSolution = "Post processor '{0}' failed when processing solution '{1}':\n{2}";
WarningPostProcessorNoDefaultConstructor = "The type '{0}' was expected to have a public default constructor but it didn't";
WarningPostProcessorConstructorException = "Exception occurred when invoking default constructor of '{0}':\n{1}";
WarningPostProcessorUnknownException = "Unknown exception encountered when trying to create post processor '{0}':\n{1}";
// Parse Errors
ErrorParseError = "{0} Parse Error : {1}";
// Android Manifest Comments
CommentAndroidCleartextPermit = "[{0}] Added android:usesCleartextTraffic=\"true\" to permit connecting to the Hot Reload http server running on your machine.";
CommentAndroidCleartextDevelopmentOnly = "[{0}] This change only happens in Unity development builds. You can disable this in the Hot Reload settings window.";
// Debug Messages
DebugDetouringMethodFailed = "Detouring {0} method failed. {1} {2}";
// Package Update Errors
ErrorRequestFailedStatusCode = "Request failed with statusCode: {0} {1}";
ErrorInvalidPackageJson = "Invalid package.json";
ErrorInvalidVersionInPackageJson = "Invalid version in package.json: '{0}'";
ErrorUnableToFindManifestJson = "Unable to find manifest.json";
ErrorNoDependenciesInManifest = "no dependencies object found in manifest.json";
ErrorDependenciesNullInManifest = "dependencies object null in manifest.json";
ErrorNoDependenciesSpecified = "no dependencies specified in manifest.json";
}
public static void LoadSimplifiedChinese() {
// Error Messages
ErrorInvalidInput = "无效输入";
ErrorNetworkIssue = "出现问题。请检查您的网络连接。";
ErrorContactSupport = "出现问题。如果问题仍然存在,请联系支持。";
ErrorDownloadFailed = "下载尝试失败。如果问题仍然存在,请联系客户支持寻求帮助。异常:{0}";
ErrorServerBinaryNotFound = "无法在“{1}”找到平台“{0}”的服务器二进制文件。将继续下载二进制文件(默认行为)";
ErrorCopyingServerBinary = "在指定的自定义可执行路径“{0}”中复制服务器二进制文件时遇到异常:\n{1}";
ErrorDownloadSucceeded = "下载成功!";
ErrorEnterNumber = "请输入一个数字。";
ErrorEnterEmail = "请输入您的电子邮件地址。";
ErrorValidEmail = "请输入有效的电子邮件地址。";
ErrorEnterPassword = "请输入您的密码。";
ErrorMailExtensions = "尚不支持邮件扩展(格式为'username+suffix@example.com')。请提供您原始的电子邮件地址(例如'username@example.com',不含'+suffix'部分),我们正在努力解决此问题。";
ErrorEnterInvoiceNumber = "请输入发票号码/订单 ID。";
ErrorInvalidEmailAddress = "请输入有效的电子邮件地址。";
ErrorLicenseInvoiceRedeemed = "您尝试使用的发票号码/订单 ID 已用于兑换许可证。请输入不同的发票号码/订单 ID。如果您已经为另一个电子邮件兑换了许可证您可以继续下一步。";
ErrorEmailAlreadyUsed = "提供的电子邮件已用于兑换许可证。如果您之前已兑换许可证,您可以继续下一步并使用您现有的凭据。如果没有,请输入不同的电子邮件地址。";
ErrorInvoiceNotFound = "未找到发票。请确保您输入了正确的发票号码/订单 ID。";
ErrorInvoiceRefunded = "购买已退款。请输入不同的发票号码/订单 ID。";
ErrorPromoCodeInvalid = "您的促销代码无效。请确保您输入了正确的促销代码。";
ErrorPromoCodeUsed = "您的促销代码已被使用。";
ErrorPromoCodeExpired = "您的促销代码已过期。";
ErrorLicenseExtended = "您的许可证已使用促销代码激活。每个许可证只允许激活一次促销代码。";
ErrorPromoCodeActivation = "激活您的促销代码时遇到错误。请重试。如果问题仍然存在,请联系我们的客户支持团队寻求帮助。";
ErrorPromoCodeNetwork = "连接到我们的服务器时出现问题。请检查您的网络连接,如果问题仍然存在,请联系客户支持。";
// Warning Messages
WarningUnityJobHotReloaded = "一个 unity 作业被热重载。这将导致一个可以忽略的无害警告。更多信息可以在这里找到:{0}";
WarningBuildSettingsNotSupported = "由于一个或多个构建设置不受支持Hot Reload 未包含在构建中。";
WarningInlinedMethods = "Unity 编辑器在“发布”模式下会内联简单方法Hot Reload 无法修补。\n\n切换到调试模式以避免此问题或让 Hot Reload 在出现此问题时完全重新编译 Unity。";
WarningMacOSVersionDetectionFailed = "检测 MacOS 版本失败,如果 Hot Reload 启动失败,请联系支持。";
WarningUnexpectedSaveProblem = "无法保存 HotReloadSettingsObject 的意外问题";
WarningRedeemStatusUnknown = "兑换许可证失败:收到未知状态";
WarningRedeemUnknownError = "兑换许可证失败:遇到未知错误";
WarningFailedToRunServerCommand = "运行启动服务器命令失败。退出代码={0}\n文件路径{1}";
WarningVersionCheckException = "检查新的 Hot Reload 软件包版本时遇到异常:\n{0}";
WarningVersionCheckFailed = "版本检查失败:{0}";
WarningUpdateIssueFailed = "更新 Hot Reload 时遇到问题:{0}";
WarningUpdatePackageFailed = "更新软件包失败:{0}";
WarningUnableToFindPackage = "无法找到软件包。消息:{0}";
WarningCompileCheckerIssue = "编译检查器遇到问题:{0} {1}";
WarningFailedToStartServer = "启动 Hot Reload 服务器失败。{0}";
WarningNoSlnFileFound = "未找到 .sln 文件。打开任何 c# 文件以生成它,以便 Hot Reload 正常工作";
WarningPreparingBuildInfoFailed = "准备构建信息失败!设备上功能可能无法工作。异常:{0}";
WarningInlineMethodChecker = "内联方法检查器遇到异常。请联系支持并提供异常消息以调查问题。异常:{0}";
WarningRefreshingAssetFailed = "刷新路径:{0} 的资产失败,原因异常:{1}";
WarningFailedDeterminingRegistration = "确定注册结果失败,{0}{1}";
WarningRedeemingLicenseFailed = "兑换许可证失败,错误:{0}";
WarningInitializingEventEntries = "启动时初始化 Hot Reload 事件条目失败:{0}";
WarningPersistingEventEntries = "持久化 Hot Reload 事件条目失败:{0}";
WarningIndicationTextNotFound = "未找到状态 {0} 的指示文本";
// Info Messages
InfoDebuggerAttached = "调试器已附加。Hot Reload 可能会干扰您的调试会话。正在重新编译以获得完整的调试器体验。";
InfoInspectorFieldRecompile = "一些检查器字段更改需要 Unity 重新编译。根据设置自动重新编译 Unity。";
InfoDefaultProjectGeneration = "使用默认项目生成。如果您遇到 Unity 默认项目生成的任何问题,请考虑禁用它以使用自定义项目生成。";
ErrorFreeChargesUnavailable = "免费费用不可用。如果问题仍然存在,请联系支持。";
// Exception Messages
ExceptionExpectedZipFile = "预期以 .zip 结尾,但它是:{0}";
ExceptionZipFileNotFound = "未找到 zip 文件 {0}";
ExceptionUnzipFailed = "解压缩失败,退出代码 {0}";
ExceptionDownloadFailed = "下载失败,状态码 {0},原因 {1}";
ExceptionUnableToFindManifest = "[{0}] 无法找到 {1}";
ErrorRedeemRequestFailed = "兑换请求失败。状态码:{0},原因:{1}";
ErrorFailedDeserializingRedeem = "反序列化兑换响应失败,异常:{0}{1}";
ErrorRedeemingWebException = "兑换许可证失败:遇到 WebException {0}";
ExceptionDownloadContentLengthUnknown = "下载失败:内容长度未知";
ExceptionDownloadFileCorrupted = "下载失败:下载文件已损坏";
ExceptionFailedToFindAppDirectory = "未能找到 .app 目录并将其移动到 {0}";
ExceptionCouldNotStartCodePatcher = "无法启动代码修补程序进程。";
// Info/Debug Messages
InfoManifestSearch = "在 {1} 未找到 {0},正在 {2} 内搜索清单文件";
InfoOmitProjectsForPlayerBuild = "要像 Player 构建一样编译 C# 文件,我们必须省略不属于所选 Player 构建的项目。";
InfoSeparator = "---------";
InfoOmittedEditorProject = "省略的编辑器/其他项目名为:{0}";
InfoFoundProjectNamed = "找到名为 {0} 的项目";
// Project Generation Warnings
WarningPostProcessorException = "后处理器“{0}”在调用 OnGeneratedCSProjectFilesThreaded 时引发异常:\n{1}";
WarningPostProcessorFailedProject = "后处理器“{0}”在处理项目“{1}”时失败:\n{2}";
WarningPostProcessorFailedSolution = "后处理器“{0}”在处理解决方案“{1}”时失败:\n{2}";
WarningPostProcessorNoDefaultConstructor = "类型“{0}”应具有公共默认构造函数,但没有";
WarningPostProcessorConstructorException = "调用“{0}”的默认构造函数时发生异常:\n{1}";
WarningPostProcessorUnknownException = "尝试创建后处理器“{0}”时遇到未知异常:\n{1}";
// Parse Errors
ErrorParseError = "{0} 解析错误:{1}";
// Android Manifest Comments
CommentAndroidCleartextPermit = "[{0}] 添加了 android:usesCleartextTraffic=\"true\" 以允许连接到您机器上运行的 Hot Reload http 服务器。";
CommentAndroidCleartextDevelopmentOnly = "[{0}] 此更改仅在 Unity 开发构建中发生。您可以在 Hot Reload 设置窗口中禁用此功能。";
// Debug Messages
DebugDetouringMethodFailed = "Detouring {0} 方法失败。{1} {2}";
// Package Update Errors
ErrorRequestFailedStatusCode = "请求失败,状态码:{0} {1}";
ErrorInvalidPackageJson = "无效的 package.json";
ErrorInvalidVersionInPackageJson = "package.json 中的版本无效:'{0}'";
ErrorUnableToFindManifestJson = "无法找到 manifest.json";
ErrorNoDependenciesInManifest = "在 manifest.json 中找不到依赖项对象";
ErrorDependenciesNullInManifest = "manifest.json 中的依赖项对象为 null";
ErrorNoDependenciesSpecified = "manifest.json 中未指定依赖项";
}
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: f1ff9542af2fa0c4d8b9bfb9620e29a0

View File

@@ -0,0 +1,112 @@
namespace SingularityGroup.HotReload.Editor.Localization {
internal static partial class Translations {
public static class License {
// License & Authentication
public static string TitleHotReloadLimited;
public static string TitleHotReloadLicense;
public static string MessageTrialLicense;
public static string MessageIndieLicenseActive;
public static string MessageBusinessLicenseActive;
public static string MessageLicenseWillRenew;
public static string MessagePromoCodeActivated;
public static string PromoCodesTitle;
// License Error Descriptions
public static string LicenseErrorDeviceInUse;
public static string LicenseErrorDeviceBlacklisted;
public static string LicenseErrorIncorrectClock;
public static string LicenseErrorActivation;
public static string LicenseErrorDeleted;
public static string LicenseErrorDisabled;
public static string LicenseErrorExpired;
public static string LicenseErrorInactive;
public static string LicenseErrorCorrupted;
public static string LicenseErrorNetwork;
public static string LicenseErrorTrialExpired;
public static string LicenseErrorInvalidCredentials;
public static string LicenseErrorIncompatible;
public static string LicenseErrorDefault;
public static string LicenseErrorAssetStorePro;
public static string LicenseErrorUnityPlusIndie;
// License Button Labels
public static string LicenseButtonGetLicense;
public static string LicenseButtonContactSupport;
public static string LicenseButtonUpgradeLicense;
public static string LicenseButtonManageLicense;
public static void LoadEnglish() {
// License & Authentication
TitleHotReloadLimited = "Hot Reload Limited";
TitleHotReloadLicense = "Hot Reload License";
MessageTrialLicense = "Using Trial license, valid until {0}";
MessageIndieLicenseActive = " Indie license active";
MessageBusinessLicenseActive = " Business license active";
MessageLicenseWillRenew = "License will renew on {0}.";
MessagePromoCodeActivated = "Your promo code has been successfully activated. Free trial has been extended by 3 months.";
PromoCodesTitle = "Promo Codes";
// License Error Descriptions
LicenseErrorDeviceInUse = "Another device is using your license. Please reach out to customer support for assistance.";
LicenseErrorDeviceBlacklisted = "You device has been blacklisted.";
LicenseErrorIncorrectClock = "Your license is not working because your computer's clock is incorrect. Please set the clock to the correct time to restore your license.";
LicenseErrorActivation = "An error has occured while activating your license. Please contact customer support for assistance.";
LicenseErrorDeleted = "Your license has been deleted. Please contact customer support for assistance.";
LicenseErrorDisabled = "Your license has been disabled. Please contact customer support for assistance.";
LicenseErrorExpired = "Your license has expired. Please renew your license subscription using the 'Upgrade License' button below and login with your email/password to activate your license.";
LicenseErrorInactive = "Your license is currenty inactive. Please login with your email/password to activate your license.";
LicenseErrorCorrupted = "Your license file was damaged or corrupted. Please login with your email/password to refresh your license file.";
LicenseErrorNetwork = "There is an issue connecting to our servers. Please check your internet connection or contact customer support if the issue persists.";
LicenseErrorTrialExpired = "Your trial has expired. Activate a license with unlimited usage or continue using the Free version. View available plans on our website.";
LicenseErrorInvalidCredentials = "Incorrect email/password. You can find your initial password in the sign-up email.";
LicenseErrorIncompatible = "Please upgrade your license to continue using hotreload with Unity Pro.";
LicenseErrorDefault = "We apologize, an error happened while verifying your license. Please reach out to customer support for assistance.";
LicenseErrorAssetStorePro = "Unity Pro/Enterprise users from company with your number of employees require a Business license. Please upgrade your license on our website.";
LicenseErrorUnityPlusIndie = "Unity Plus users require an Indie license. Please upgrade your license on our website.";
// License Button Labels
LicenseButtonGetLicense = "Get License";
LicenseButtonContactSupport = "Contact Support";
LicenseButtonUpgradeLicense = "Upgrade License";
LicenseButtonManageLicense = "Manage License";
}
public static void LoadSimplifiedChinese() {
// License & Authentication
TitleHotReloadLimited = "Hot Reload 有限";
TitleHotReloadLicense = "Hot Reload 许可证";
MessageTrialLicense = "正在使用试用许可证,有效期至 {0}";
MessageIndieLicenseActive = " 独立开发者许可证已激活";
MessageBusinessLicenseActive = " 商业许可证已激活";
MessageLicenseWillRenew = "许可证将于 {0} 续订。";
MessagePromoCodeActivated = "您的促销代码已成功激活。免费试用期已延长3个月。";
PromoCodesTitle = "促销代码";
// License Error Descriptions
LicenseErrorDeviceInUse = "另一台设备正在使用您的许可证。请联系客户支持寻求帮助。";
LicenseErrorDeviceBlacklisted = "您的设备已被列入黑名单。";
LicenseErrorIncorrectClock = "您的许可证无法工作,因为您的计算机时钟不正确。请将时钟设置为正确的时间以恢复您的许可证。";
LicenseErrorActivation = "激活您的许可证时发生错误。请联系客户支持寻求帮助。";
LicenseErrorDeleted = "您的许可证已被删除。请联系客户支持寻求帮助。";
LicenseErrorDisabled = "您的许可证已被禁用。请联系客户支持寻求帮助。";
LicenseErrorExpired = "您的许可证已过期。请使用下方的“升级许可证”按钮续订您的许可证订阅,并使用您的电子邮件/密码登录以激活您的许可证。";
LicenseErrorInactive = "您的许可证当前未激活。请使用您的电子邮件/密码登录以激活您的许可证。";
LicenseErrorCorrupted = "您的许可证文件已损坏或损坏。请使用您的电子邮件/密码登录以刷新您的许可证文件。";
LicenseErrorNetwork = "连接到我们的服务器时出现问题。请检查您的网络连接,如果问题仍然存在,请联系客户支持。";
LicenseErrorTrialExpired = "您的试用已过期。激活具有无限使用权的许可证或继续使用免费版本。在我们网站上查看可用计划。";
LicenseErrorInvalidCredentials = "电子邮件/密码不正确。您可以在注册电子邮件中找到您的初始密码。";
LicenseErrorIncompatible = "请升级您的许可证以继续在 Unity Pro 中使用 hotreload。";
LicenseErrorDefault = "我们深表歉意,验证您的许可证时发生错误。请联系客户支持寻求帮助。";
LicenseErrorAssetStorePro = "拥有您员工数量的公司中的 Unity Pro/Enterprise 用户需要商业许可证。请在我们的网站上升级您的许可证。";
LicenseErrorUnityPlusIndie = "Unity Plus 用户需要独立开发者许可证。请在我们的网站上升级您的许可证。";
// License Button Labels
LicenseButtonGetLicense = "获取许可证";
LicenseButtonContactSupport = "联系支持";
LicenseButtonUpgradeLicense = "升级许可证";
LicenseButtonManageLicense = "管理许可证";
}
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 35d12621e71ef12458b3bbe48e047469

View File

@@ -0,0 +1,61 @@
using SingularityGroup.HotReload.Localization;
using UnityEditor;
using UnityEngine;
namespace SingularityGroup.HotReload.Editor.Localization {
[InitializeOnLoad]
internal static partial class Translations {
static string loadedLocale;
static Translations() {
LoadDefaultLocalization();
}
public static void LoadDefaultLocalization() {
LoadLocalization(PackageConst.DefaultLocale);
}
static void LoadLocalization(string locale) {
if (loadedLocale == locale) {
return;
}
if (locale == Locale.SimplifiedChinese) {
LoadSimplifiedChinese();
} else {
LoadEnglish();
}
loadedLocale = locale;
}
static void LoadEnglish() {
Common.LoadEnglish();
Timeline.LoadEnglish();
License.LoadEnglish();
Errors.LoadEnglish();
Registration.LoadEnglish();
Dialogs.LoadEnglish();
Settings.LoadEnglish();
OnDevice.LoadEnglish();
About.LoadEnglish();
Miscellaneous.LoadEnglish();
Suggestions.LoadEnglish();
Utility.LoadEnglish();
UI.LoadEnglish();
}
static void LoadSimplifiedChinese() {
Common.LoadSimplifiedChinese();
Timeline.LoadSimplifiedChinese();
License.LoadSimplifiedChinese();
Errors.LoadSimplifiedChinese();
Registration.LoadSimplifiedChinese();
Dialogs.LoadSimplifiedChinese();
Settings.LoadSimplifiedChinese();
OnDevice.LoadSimplifiedChinese();
About.LoadSimplifiedChinese();
Miscellaneous.LoadSimplifiedChinese();
Suggestions.LoadSimplifiedChinese();
Utility.LoadSimplifiedChinese();
UI.LoadSimplifiedChinese();
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 1e39c1f768bb465fa48c1fe2c3dd4d75
timeCreated: 1759652321

View File

@@ -0,0 +1,13 @@
using SingularityGroup.HotReload.Localization;
namespace SingularityGroup.HotReload.Editor.Localization {
internal static partial class Translations {
public static class MenuItems {
public const string OpenHotReload = PackageConst.DefaultLocale == Locale.SimplifiedChinese ? "Window/Hot Reload/打开 &#H" : "Window/Hot Reload/Open &#H";
public const string RecompileHotReload = PackageConst.DefaultLocale == Locale.SimplifiedChinese ? "Window/Hot Reload/重新编译" : "Window/Hot Reload/Recompile";
public const string OverlayDescription = PackageConst.DefaultLocale == Locale.SimplifiedChinese ? "Hot Reload" : "Hot Reload";
public const string NotImplementedObsolete = PackageConst.DefaultLocale == Locale.SimplifiedChinese ? "未实现" : "Not implemented";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ff31c47e148cfc243a9f2c173a058c3f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,163 @@
namespace SingularityGroup.HotReload.Editor.Localization {
internal static partial class Translations {
public static class Miscellaneous {
// Overlay/Toolbar
public static string OverlayTooltipRecompile;
// Notifications
public static string NotificationPatching;
public static string NotificationNeedsRecompile;
// Update Button
public static string ButtonUpdateToVersionFormat;
public static string ButtonTroubleshooting;
// Rate App
public static string RateAppQuestion;
public static string RateAppThankYou;
// Compilation Messages
public static string CompileErrorTapToSee;
public static string UnsupportedChangeTapToSee;
public static string TapToShowStacktrace;
// Link Messages
public static string LinkForgotPassword;
// Changelog
public static string ChangelogTitle;
// Daily Session
public static string DailySessionStart;
public static string DailySessionTimeHoursLeft;
public static string DailySessionTimeMinutesLeft;
public static string DailySessionNextSessionMinutes;
public static string DailySessionNextSessionHours;
// Indication Status Messages
public static string IndicationFinishRegistration;
public static string IndicationStarted;
public static string IndicationStopping;
public static string IndicationStopped;
public static string IndicationPaused;
public static string IndicationInstalling;
public static string IndicationStarting;
public static string IndicationReloaded;
public static string IndicationPartiallySupported;
public static string IndicationUnsupported;
public static string IndicationPatching;
public static string IndicationCompiling;
public static string IndicationCompileErrors;
public static string IndicationActivationFailed;
public static string IndicationLoading;
public static string IndicationUndetected;
public static void LoadEnglish() {
// Overlay/Toolbar
OverlayTooltipRecompile = "Recompile";
// Notifications
NotificationPatching = "[Hot Reload] Applying patches...";
NotificationNeedsRecompile = "[Hot Reload] Unsupported Changes detected! Recompiling...";
// Update Button
ButtonUpdateToVersionFormat = "Update To v{0}";
ButtonTroubleshooting = "Troubleshooting";
// Rate App
RateAppQuestion = "Are you enjoying using Hot Reload?";
RateAppThankYou = "Thank you for using Hot Reload!\n\nPlease consider leaving a review on the Asset Store to support us.";
// Compilation Messages
CompileErrorTapToSee = "Compile error, tap here to see more.";
UnsupportedChangeTapToSee = "Unsupported change detected, tap here to see more.";
TapToShowStacktrace = "Tap to show stacktrace";
// Link Messages
LinkForgotPassword = "Forgot password?";
// Changelog
ChangelogTitle = "Changelog";
// Daily Session
DailySessionStart = "Daily Session: Make code changes to start";
DailySessionTimeHoursLeft = "Daily Session: {0}h {1}m Left";
DailySessionTimeMinutesLeft = "Daily Session: {1}m Left";
DailySessionNextSessionMinutes = "Next Session: {1}m";
DailySessionNextSessionHours = "Next Session: {0}h {1}m";
// Indication Status Messages
IndicationFinishRegistration = "Finish Registration";
IndicationStarted = "Waiting for code changes";
IndicationStopping = "Stopping Hot Reload";
IndicationStopped = "Hot Reload inactive";
IndicationPaused = "Hot Reload paused";
IndicationInstalling = "Installing";
IndicationStarting = "Starting Hot Reload";
IndicationReloaded = "Reload finished";
IndicationPartiallySupported = "Changes partially applied";
IndicationUnsupported = "Finished with warnings";
IndicationPatching = "Reloading";
IndicationCompiling = "Compiling";
IndicationCompileErrors = "Scripts have compile errors";
IndicationActivationFailed = "Activation failed";
IndicationLoading = "Loading";
IndicationUndetected = "No changes applied";
}
public static void LoadSimplifiedChinese() {
// Overlay/Toolbar
OverlayTooltipRecompile = "重新编译";
// Notifications
NotificationPatching = "[Hot Reload] 正在应用补丁...";
NotificationNeedsRecompile = "[Hot Reload] 检测到不支持的更改!正在重新编译...";
// Update Button
ButtonUpdateToVersionFormat = "更新到 v{0}";
ButtonTroubleshooting = "疑难解答";
// Rate App
RateAppQuestion = "您喜欢使用 Hot Reload 吗?";
RateAppThankYou = "感谢您使用 Hot Reload\n\n请考虑在 Asset Store 上留下评论以支持我们。";
// Compilation Messages
CompileErrorTapToSee = "编译错误,点击此处查看更多。";
UnsupportedChangeTapToSee = "检测到不支持的更改,点击此处查看更多。";
TapToShowStacktrace = "点击以显示堆栈跟踪";
// Link Messages
LinkForgotPassword = "忘记密码?";
// Changelog
ChangelogTitle = "更新日志";
// Daily Session
DailySessionStart = "每日会话:进行代码更改以开始";
DailySessionTimeHoursLeft = "每日会话:剩余 {0}h {1}m";
DailySessionTimeMinutesLeft = "每日会话:剩余 {1}m";
DailySessionNextSessionMinutes = "下一会话:{1}m";
DailySessionNextSessionHours = "下一会话:{0}h {1}m";
// Indication Status Messages
IndicationFinishRegistration = "完成注册";
IndicationStarted = "等待代码更改";
IndicationStopping = "正在停止 Hot Reload";
IndicationStopped = "Hot Reload 未激活";
IndicationPaused = "Hot Reload 已暂停";
IndicationInstalling = "正在安装";
IndicationStarting = "正在启动 Hot Reload";
IndicationReloaded = "重新加载完成";
IndicationPartiallySupported = "更改部分应用";
IndicationUnsupported = "完成但有警告";
IndicationPatching = "正在重新加载";
IndicationCompiling = "正在编译";
IndicationCompileErrors = "脚本有编译错误";
IndicationActivationFailed = "激活失败";
IndicationLoading = "正在加载";
IndicationUndetected = "未应用任何更改";
}
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 839cc9c3fc3098d478a7450b4d23b907

View File

@@ -0,0 +1,61 @@
namespace SingularityGroup.HotReload.Editor.Localization {
internal static partial class Translations {
public static class OnDevice {
// On-Device Settings
public static string OnDeviceHeadline;
public static string OnDeviceManualConnectFormat;
public static string OnDeviceManualConnectWithIP;
public static string OnDeviceNetworkNote;
public static string OnDeviceCheckHotReloadRunning;
public static string OnDeviceCheckHotReloadNotRunning;
public static string OnDeviceCheckEnableExposeServer;
public static string OnDeviceCheckPlatformSelected;
public static string OnDeviceCheckPlatformNotSupported;
public static string OnDeviceCheckDevelopmentEnabled;
public static string OnDeviceCheckEnableDevelopment;
public static string OnDeviceCheckMonoBackend;
public static string OnDeviceCheckSetMonoBackend;
public static string OnDeviceCheckStrippingLevel;
public static string OnDeviceCheckStrippingSolution;
public static void LoadEnglish() {
// On-Device Settings
OnDeviceHeadline = "Make changes to a build running on-device";
OnDeviceManualConnectFormat = "If auto-pair fails, find your local IP in OS settings, and use this format to connect: '{ip}:{0}'";
OnDeviceManualConnectWithIP = "If auto-pair fails, use this IP and port to connect: {0}:{1}\nMake sure you are on the same LAN/WiFi network";
OnDeviceNetworkNote = "Make sure you are on the same LAN/WiFi network";
OnDeviceCheckHotReloadRunning = "Hot Reload is running";
OnDeviceCheckHotReloadNotRunning = "Hot Reload is not running";
OnDeviceCheckEnableExposeServer = "Enable '{0}'";
OnDeviceCheckPlatformSelected = "The {0} platform is selected";
OnDeviceCheckPlatformNotSupported = "The current platform is {0} which is not supported";
OnDeviceCheckDevelopmentEnabled = "Development Build is enabled";
OnDeviceCheckEnableDevelopment = "Enable \"Development Build\"";
OnDeviceCheckMonoBackend = "Scripting Backend is set to Mono";
OnDeviceCheckSetMonoBackend = "Set Scripting Backend to Mono";
OnDeviceCheckStrippingLevel = "Stripping Level = {0}";
OnDeviceCheckStrippingSolution = "Code stripping needs to be disabled to ensure that all methods are available for patching.";
}
public static void LoadSimplifiedChinese() {
// On-Device Settings
OnDeviceHeadline = "对在设备上运行的构建进行更改";
OnDeviceManualConnectFormat = "如果自动配对失败,请在操作系统设置中找到您的本地 IP并使用此格式进行连接'{ip}:{0}'";
OnDeviceManualConnectWithIP = "如果自动配对失败,请使用此 IP 和端口进行连接:{0}:{1}\n确保您在同一个局域网/WiFi 网络中";
OnDeviceNetworkNote = "确保您在同一个局域网/WiFi 网络中";
OnDeviceCheckHotReloadRunning = "Hot Reload 正在运行";
OnDeviceCheckHotReloadNotRunning = "Hot Reload 未运行";
OnDeviceCheckEnableExposeServer = "启用 '{0}'";
OnDeviceCheckPlatformSelected = "已选择 {0} 平台";
OnDeviceCheckPlatformNotSupported = "当前平台为 {0},不支持";
OnDeviceCheckDevelopmentEnabled = "开发构建已启用";
OnDeviceCheckEnableDevelopment = "启用“开发构建”";
OnDeviceCheckMonoBackend = "脚本后端设置为 Mono";
OnDeviceCheckSetMonoBackend = "将脚本后端设置为 Mono";
OnDeviceCheckStrippingLevel = "剥离级别 = {0}";
OnDeviceCheckStrippingSolution = "需要禁用代码剥离以确保所有方法都可用于修补。";
}
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 19a8c5bfa6576844d9789872adce14e1

View File

@@ -0,0 +1,34 @@
namespace SingularityGroup.HotReload.Editor.Localization {
internal static partial class Translations {
public static class Registration {
// Registration & Redeem
public static string MessageRegistrationProUsers;
public static string MessageRegistrationLicensingModel;
public static string MessageRedeemInstructions;
public static string MessageRedeemSuccess;
public static string MessageRedeemAlreadyClaimed;
public static string UnknownRedeemError;
public static void LoadEnglish() {
// Registration & Redeem
MessageRegistrationProUsers = "Unity Pro users are required to obtain an additional license. You are eligible to redeem one if your company has ten or fewer employees. Please enter your company details below.";
MessageRegistrationLicensingModel = "The licensing model for Unity Pro users varies depending on the number of employees in your company. Please enter your company details below.";
MessageRedeemInstructions = "To enable us to verify your purchase, please enter your invoice number/order ID. Additionally, provide the email address that you intend to use for managing your credentials.";
MessageRedeemSuccess = "Success! You will receive an email containing your license password shortly. Once you receive it, please enter the received password in the designated field below to complete your registration.";
MessageRedeemAlreadyClaimed = "Your license has already been redeemed. Please enter your existing password below.";
UnknownRedeemError = "We apologize, an error happened while redeeming your license. Please reach out to customer support for assistance.";
}
public static void LoadSimplifiedChinese() {
// Registration & Redeem
MessageRegistrationProUsers = "Unity Pro 用户需要获得额外许可证。如果您的公司有十名或更少员工,您有资格兑换一个。请在下方输入您的公司详细信息。";
MessageRegistrationLicensingModel = "Unity Pro 用户的许可模式因公司员工人数而异。请在下方输入您的公司详细信息。";
MessageRedeemInstructions = "为使我们能够验证您的购买,请输入您的发票号码/订单 ID。此外请提供您打算用于管理凭据的电子邮件地址。";
MessageRedeemSuccess = "成功!您很快将收到一封包含许可证密码的电子邮件。收到后,请在下方指定字段中输入收到的密码以完成注册。";
MessageRedeemAlreadyClaimed = "您的许可证已被兑换。请在下方输入您现有的密码。";
UnknownRedeemError = "我们深表歉意,兑换您的许可证时发生错误。请联系客户支持寻求帮助。";
}
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: da7def2f6c8576e4bbb04a79c3438b46

View File

@@ -0,0 +1,274 @@
namespace SingularityGroup.HotReload.Editor.Localization {
internal static partial class Translations {
public static class Settings {
// Settings Tab
public static string SettingsTitle;
public static string SettingsConfiguration;
public static string SettingsAdvanced;
public static string SettingsOnDevice;
public static string SettingsManualConnect;
public static string SettingsBuildSettingsChecklist;
public static string SettingsOptions;
public static string SettingsVisualFeedback;
public static string SettingsMisc;
// Settings Descriptions
public static string SettingsManageAutoRefreshOn;
public static string SettingsManageAutoRefreshOff;
public static string SettingsAssetRefreshOn;
public static string SettingsAssetRefreshOff;
public static string SettingsDebuggerCompatibilityOn;
public static string SettingsDebuggerCompatibilityOff;
public static string SettingsRefreshShadersOn;
public static string SettingsRefreshShadersOff;
public static string SettingsHideConsoleOn;
public static string SettingsHideConsoleOff;
public static string SettingsDeactivatedOn;
public static string SettingsDeactivatedOff;
public static string SettingsDisableErrorReportingOn;
public static string SettingsDisableErrorReportingOff;
public static string SettingsPauseEditModeOn;
public static string SettingsPauseEditModeOff;
public static string SettingsAutostartOn;
public static string SettingsAutostartOff;
public static string SettingsPatchingIndicationUnsupported;
public static string SettingsPatchingIndicationOff;
public static string SettingsPatchingIndicationOn;
public static string SettingsCompilingIndicationUnsupported;
public static string SettingsCompilingIndicationOff;
public static string SettingsCompilingIndicationOn;
public static string SettingsAutoRecompileUnsupported;
public static string SettingsAutoRecompileOn;
public static string SettingsAutoRecompileOff;
public static string SettingsAutoRecompileInspectorOn;
public static string SettingsAutoRecompileInspectorOff;
public static string SettingsAutoRecompilePartialOn;
public static string SettingsAutoRecompilePartialOff;
public static string SettingsDisplayMonobehaviourOn;
public static string SettingsDisplayMonobehaviourOff;
public static string SettingsRecompileImmediatelyOn;
public static string SettingsRecompileImmediatelyOff;
public static string SettingsRecompilePlayModeOn;
public static string SettingsRecompilePlayModeOff;
public static string SettingsRecompileEditModeOn;
public static string SettingsRecompileEditModeOff;
public static string SettingsRecompileExitPlayModeOn;
public static string SettingsRecompileExitPlayModeOff;
public static string SettingsIndicationsUnsupported;
// Settings Toggle Names
public static string ToggleManageAutoRefresh;
public static string ToggleAssetRefresh;
public static string ToggleDebuggerCompatibility;
public static string ToggleRefreshShaders;
public static string ToggleHideConsole;
public static string ToggleDeactivate;
public static string ToggleDisableErrorReporting;
public static string TogglePauseEditMode;
public static string ToggleAutostart;
public static string TogglePatchingIndication;
public static string ToggleCompilingIndication;
public static string ToggleAutoRecompile;
public static string ToggleAutoRecompileInspector;
public static string ToggleAutoRecompilePartial;
public static string ToggleDisplayMonobehaviour;
public static string ToggleRecompileImmediately;
public static string ToggleRecompilePlayMode;
public static string ToggleRecompileEditMode;
public static string ToggleRecompileExitPlayMode;
// Settings Options
public static string OptionExposeServerShort;
public static string OptionExposeServerFull;
public static string OptionExposeServerDescriptionEnabled;
public static string OptionExposeServerDescriptionDisabled;
public static string OptionAllowHttpRequests;
public static string OptionAllowHttpRequestsDescription;
public static string OptionIncludeInBuild;
public static string OptionIncludeInBuildDescriptionEnabled;
public static string OptionIncludeInBuildDescriptionDisabled;
public static string OptionIncludeInBuildDescriptionSuffix;
public static void LoadEnglish() {
// Settings Tab
SettingsTitle = "Settings";
SettingsConfiguration = "Settings";
SettingsAdvanced = "Advanced";
SettingsOnDevice = "On-Device";
SettingsManualConnect = "Manual connect";
SettingsBuildSettingsChecklist = "Build Settings Checklist";
SettingsOptions = "Options";
SettingsVisualFeedback = "Visual Feedback";
SettingsMisc = "Misc";
// Settings Descriptions
SettingsManageAutoRefreshOn = "To avoid unnecessary recompiling, Hot Reload will automatically change Unity's Auto Refresh and Script Compilation settings. Previous settings will be restored when Hot Reload is stopped";
SettingsManageAutoRefreshOff = "Enabled this setting to auto-manage Unity's Auto Refresh and Script Compilation settings. This reduces unncessary recompiling";
SettingsAssetRefreshOn = "Hot Reload will refresh changed assets such as sprites, prefabs, etc";
SettingsAssetRefreshOff = "Enable to allow Hot Reload to refresh changed assets in the project. All asset types are supported including sprites, prefabs, shaders etc";
SettingsDebuggerCompatibilityOn = "Hot Reload automatically disables itself while a debugger is attached, as it can otherwise interfere with certain debugger features. Please read the documentation if you consider disabling this setting.";
SettingsDebuggerCompatibilityOff = "When a debugger is attached, Hot Reload will be active, but certain debugger features might not work as expected. Please read our documentation to learn about the limitations.";
SettingsRefreshShadersOn = "Hot Reload will auto refresh shaders. Note that enabling this setting might impact performance.";
SettingsRefreshShadersOff = "Enable to auto-refresh shaders. Note that enabling this setting might impact performance";
SettingsHideConsoleOn = "Hot Reload will start without creating a console window. Logs can be accessed through \"Help\" tab.";
SettingsHideConsoleOff = "Enable to start Hot Reload without creating a console window.";
SettingsDeactivatedOn = "Hot Reload is deactivated.";
SettingsDeactivatedOff = "Enable to deactivate Hot Reload.";
SettingsDisableErrorReportingOn = "Detailed error reporting is disabled.";
SettingsDisableErrorReportingOff = "Toggle on to disable detailed error reporting.";
SettingsPauseEditModeOn = "Hot Reload is paused in Edit mode. It is recommended to perform a full Unity recompilation manually before entering Play Mode to prevent Hot Reload becoming unusable.";
SettingsPauseEditModeOff = "Toggle on to pause Hot Reload while in Edit mode. With this setting enabled, it is recommended to perform a full Unity recompilation manually before entering Play Mode to prevent Hot Reload becoming unusable.";
SettingsAutostartOn = "Hot Reload will be launched when Unity project opens.";
SettingsAutostartOff = "Enable to launch Hot Reload when Unity project opens.";
SettingsPatchingIndicationUnsupported = "Patching Notification is not supported in the Unity version you use.";
SettingsPatchingIndicationOff = "Enable to show GameView and SceneView indications when Patching.";
SettingsPatchingIndicationOn = "Indications will be shown in GameView and SceneView when Patching.";
SettingsCompilingIndicationUnsupported = "Compiling Unsupported Changes Notification is not supported in the Unity version you use.";
SettingsCompilingIndicationOff = "Enable to show GameView and SceneView indications when compiling unsupported changes.";
SettingsCompilingIndicationOn = "Indications will be shown in GameView and SceneView when compiling unsupported changes.";
SettingsAutoRecompileUnsupported = "Auto recompiling unsupported changes is not supported in the Unity version you use.";
SettingsAutoRecompileOn = "Hot Reload will recompile automatically after code changes that Hot Reload doesn't support.";
SettingsAutoRecompileOff = "When enabled, recompile happens automatically after code changes that Hot Reload doesn't support.";
SettingsAutoRecompileInspectorOn = "Hot Reload will trigger recompilation for inspector field changes that are not supported in Edit mode.";
SettingsAutoRecompileInspectorOff = "Enable to trigger recompilation for inspector field changes that are not supported in Edit mode.";
SettingsAutoRecompilePartialOn = "Hot Reload will recompile partially unsupported changes.";
SettingsAutoRecompilePartialOff = "Enable to recompile partially unsupported changes.";
SettingsDisplayMonobehaviourOn = "Hot Reload will display new monobehaviour methods as partially unsupported.";
SettingsDisplayMonobehaviourOff = "Enable to display new monobehaviour methods as partially unsupported.";
SettingsRecompileImmediatelyOn = "Unsupported changes will be recompiled immediately.";
SettingsRecompileImmediatelyOff = "Unsupported changes will be recompiled when editor is focused. Enable to recompile immediately.";
SettingsRecompilePlayModeOn = "Hot Reload will exit Play Mode to recompile unsupported changes.";
SettingsRecompilePlayModeOff = "Enable to auto exit Play Mode to recompile unsupported changes.";
SettingsRecompileEditModeOn = "Hot Reload recompile unsupported changes when in Edit Mode.";
SettingsRecompileEditModeOff = "Enable to auto recompile unsupported changes in Edit Mode.";
SettingsRecompileExitPlayModeOn = "Hot Reload will recompile unsupported changes when exiting Play Mode.";
SettingsRecompileExitPlayModeOff = "Enable to recompile unsupported changes when exiting Play Mode.";
SettingsIndicationsUnsupported = "Indications are not supported in the Unity version you use.";
// Settings Toggle Names
ToggleManageAutoRefresh = "Manage Unity auto-refresh (recommended)";
ToggleAssetRefresh = "Asset refresh (recommended)";
ToggleDebuggerCompatibility = "Auto-disable Hot Reload while a debugger is attached (recommended)";
ToggleRefreshShaders = "Refresh shaders";
ToggleHideConsole = "Hide console window on start";
ToggleDeactivate = "Deactivate Hot Reload";
ToggleDisableErrorReporting = "Disable Detailed Error Reporting";
TogglePauseEditMode = "Pause Hot Reload in Edit Mode";
ToggleAutostart = "Autostart on Unity open";
TogglePatchingIndication = "Patching Indication";
ToggleCompilingIndication = "Compiling Unsupported Changes Indication";
ToggleAutoRecompile = "Auto recompile unsupported changes (recommended)";
ToggleAutoRecompileInspector = "Auto recompile inspector field edits";
ToggleAutoRecompilePartial = "Include partially unsupported changes";
ToggleDisplayMonobehaviour = "Display new Monobehaviour methods as partially supported";
ToggleRecompileImmediately = "Recompile immediately";
ToggleRecompilePlayMode = "Recompile in Play Mode";
ToggleRecompileEditMode = "Recompile in Edit Mode";
ToggleRecompileExitPlayMode = "Recompile on exit Play Mode";
// Settings Options
OptionExposeServerShort = "Allow Devices to Connect";
OptionExposeServerFull = "Allow Devices to Connect (WiFi)";
OptionExposeServerDescriptionEnabled = "The HotReload server is reachable from devices on the same Wifi network";
OptionExposeServerDescriptionDisabled = "The HotReload server is available to your computer only. Other devices cannot connect to it.";
OptionAllowHttpRequests = "Allow app to make HTTP requests";
OptionAllowHttpRequestsDescription = "For Hot Reload to work on-device, please allow HTTP requests";
OptionIncludeInBuild = "Include Hot Reload in player builds";
OptionIncludeInBuildDescriptionEnabled = "The Hot Reload runtime is included in development builds that use the Mono scripting backend.";
OptionIncludeInBuildDescriptionDisabled = "The Hot Reload runtime will not be included in any build. Use this option to disable HotReload without removing it from your project.";
OptionIncludeInBuildDescriptionSuffix = " This option does not affect Hot Reload usage in Playmode";
}
public static void LoadSimplifiedChinese() {
// Settings Tab
SettingsTitle = "设置";
SettingsConfiguration = "配置";
SettingsAdvanced = "高级";
SettingsOnDevice = "在设备上";
SettingsManualConnect = "手动连接";
SettingsBuildSettingsChecklist = "构建设置清单";
SettingsOptions = "选项";
SettingsVisualFeedback = "视觉反馈";
SettingsMisc = "杂项";
// Settings Descriptions
SettingsManageAutoRefreshOn = "为避免不必要的重新编译Hot Reload 将自动更改 Unity 的自动刷新和脚本编译设置。停止 Hot Reload 后将恢复以前的设置";
SettingsManageAutoRefreshOff = "启用此设置以自动管理 Unity 的自动刷新和脚本编译设置。这可以减少不必要的重新编译";
SettingsAssetRefreshOn = "Hot Reload 将刷新已更改的资产,如精灵、预制件等";
SettingsAssetRefreshOff = "启用以允许 Hot Reload 刷新项目中已更改的资产。支持所有资产类型,包括精灵、预制件、着色器等";
SettingsDebuggerCompatibilityOn = "附加调试器时Hot Reload 会自动禁用自身,因为它可能会干扰某些调试器功能。如果您考虑禁用此设置,请阅读文档。";
SettingsDebuggerCompatibilityOff = "附加调试器时Hot Reload 将处于活动状态,但某些调试器功能可能无法按预期工作。请阅读我们的文档以了解限制。";
SettingsRefreshShadersOn = "Hot Reload 将自动刷新着色器。请注意,启用此设置可能会影响性能。";
SettingsRefreshShadersOff = "启用以自动刷新着色器。请注意,启用此设置可能会影响性能";
SettingsHideConsoleOn = "Hot Reload 启动时不会创建控制台窗口。可以通过“帮助”选项卡访问日志。";
SettingsHideConsoleOff = "启用以在不创建控制台窗口的情况下启动 Hot Reload。";
SettingsDeactivatedOn = "Hot Reload 已停用。";
SettingsDeactivatedOff = "启用以停用 Hot Reload。";
SettingsDisableErrorReportingOn = "详细错误报告已禁用。";
SettingsDisableErrorReportingOff = "切换以禁用详细错误报告。";
SettingsPauseEditModeOn = "在编辑模式下Hot Reload 已暂停。建议在进入播放模式之前手动执行完整的 Unity 重新编译,以防止 Hot Reload 无法使用。";
SettingsPauseEditModeOff = "切换以在编辑模式下暂停 Hot Reload。启用此设置后建议在进入播放模式之前手动执行完整的 Unity 重新编译,以防止 Hot Reload 无法使用。";
SettingsAutostartOn = "当 Unity 项目打开时,将启动 Hot Reload。";
SettingsAutostartOff = "启用以在 Unity 项目打开时启动 Hot Reload。";
SettingsPatchingIndicationUnsupported = "您使用的 Unity 版本不支持修补通知。";
SettingsPatchingIndicationOff = "启用以在修补时显示 GameView 和 SceneView 指示。";
SettingsPatchingIndicationOn = "修补时将在 GameView 和 SceneView 中显示指示。";
SettingsCompilingIndicationUnsupported = "您使用的 Unity 版本不支持编译不支持的更改通知。";
SettingsCompilingIndicationOff = "启用以在编译不支持的更改时显示 GameView 和 SceneView 指示。";
SettingsCompilingIndicationOn = "编译不支持的更改时将在 GameView 和 SceneView 中显示指示。";
SettingsAutoRecompileUnsupported = "您使用的 Unity 版本不支持自动重新编译不支持的更改。";
SettingsAutoRecompileOn = "在 Hot Reload 不支持的代码更改后Hot Reload 将自动重新编译。";
SettingsAutoRecompileOff = "启用后,在 Hot Reload 不支持的代码更改后会自动进行重新编译。";
SettingsAutoRecompileInspectorOn = "对于在编辑模式下不支持的检查器字段更改Hot Reload 将触发重新编译。";
SettingsAutoRecompileInspectorOff = "启用以在编辑模式下为不支持的检查器字段更改触发重新编译。";
SettingsAutoRecompilePartialOn = "Hot Reload 将重新编译部分不支持的更改。";
SettingsAutoRecompilePartialOff = "启用以重新编译部分不支持的更改。";
SettingsDisplayMonobehaviourOn = "Hot Reload 将把新的 monobehaviour 方法显示为部分不支持。";
SettingsDisplayMonobehaviourOff = "启用以将新的 monobehaviour 方法显示为部分不支持。";
SettingsRecompileImmediatelyOn = "不支持的更改将立即重新编译。";
SettingsRecompileImmediatelyOff = "当编辑器获得焦点时,将重新编译不支持的更改。启用以立即重新编译。";
SettingsRecompilePlayModeOn = "Hot Reload 将退出播放模式以重新编译不支持的更改。";
SettingsRecompilePlayModeOff = "启用以自动退出播放模式以重新编译不支持的更改。";
SettingsRecompileEditModeOn = "Hot Reload 在编辑模式下重新编译不支持的更改。";
SettingsRecompileEditModeOff = "启用以在编辑模式下自动重新编译不支持的更改。";
SettingsRecompileExitPlayModeOn = "退出播放模式时Hot Reload 将重新编译不支持的更改。";
SettingsRecompileExitPlayModeOff = "启用以在退出播放模式时重新编译不支持的更改。";
SettingsIndicationsUnsupported = "您使用的 Unity 版本不支持指示。";
// Settings Toggle Names
ToggleManageAutoRefresh = "管理 Unity 自动刷新(推荐)";
ToggleAssetRefresh = "资产刷新(推荐)";
ToggleDebuggerCompatibility = "附加调试器时自动禁用 Hot Reload推荐";
ToggleRefreshShaders = "刷新着色器";
ToggleHideConsole = "启动时隐藏控制台窗口";
ToggleDeactivate = "停用 Hot Reload";
ToggleDisableErrorReporting = "禁用详细错误报告";
TogglePauseEditMode = "在编辑模式下暂停 Hot Reload";
ToggleAutostart = "在 Unity 打开时自动启动";
TogglePatchingIndication = "修补指示";
ToggleCompilingIndication = "编译不支持的更改指示";
ToggleAutoRecompile = "自动重新编译不支持的更改(推荐)";
ToggleAutoRecompileInspector = "自动重新编译检查器字段编辑";
ToggleAutoRecompilePartial = "包括部分不支持的更改";
ToggleDisplayMonobehaviour = "将新的 Monobehaviour 方法显示为部分支持";
ToggleRecompileImmediately = "立即重新编译";
ToggleRecompilePlayMode = "在播放模式下重新编译";
ToggleRecompileEditMode = "在编辑模式下重新编译";
ToggleRecompileExitPlayMode = "退出播放模式时重新编译";
// Settings Options
OptionExposeServerShort = "允许设备连接";
OptionExposeServerFull = "允许设备连接 (WiFi)";
OptionExposeServerDescriptionEnabled = "HotReload 服务器可从同一 Wifi 网络上的设备访问";
OptionExposeServerDescriptionDisabled = "HotReload 服务器仅对您的计算机可用。其他设备无法连接到它。";
OptionAllowHttpRequests = "允许应用发出 HTTP 请求";
OptionAllowHttpRequestsDescription = "为了让 Hot Reload 在设备上工作,请允许 HTTP 请求";
OptionIncludeInBuild = "在播放器构建中包含 Hot Reload";
OptionIncludeInBuildDescriptionEnabled = "Hot Reload 运行时包含在使用 Mono 脚本后端的开发构建中。";
OptionIncludeInBuildDescriptionDisabled = "Hot Reload 运行时将不包含在任何构建中。使用此选项可在不从项目中删除 HotReload 的情况下禁用它。";
OptionIncludeInBuildDescriptionSuffix = " 此选项不影响在播放模式下使用 Hot Reload";
}
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: df46693e37527a74b8c24e95da9a4c47

View File

@@ -0,0 +1,255 @@
namespace SingularityGroup.HotReload.Editor.Localization {
internal static partial class Translations {
public static class Suggestions {
// Button texts
public static string ButtonDocs;
public static string ButtonMoreInfo;
public static string ButtonVote;
public static string ButtonUseBuildTimeOnlyAtlas;
public static string ButtonOpenSettings;
public static string ButtonIgnoreSuggestion;
public static string ButtonLearnMore;
public static string ButtonStopHotReload;
public static string ButtonDontShowAgain;
public static string ButtonOK;
public static string ButtonOKPadded;
public static string ButtonDisable;
public static string ButtonTurnOff;
public static string ButtonAutoRecompile;
public static string ButtonSwitchToDebugMode;
public static string ButtonKeepEnabledDuringDebugging;
public static string ButtonRecompile;
// Unity Best Development Tool Award 2023
public static string Award2023Title;
public static string Award2023Message;
// Unsupported Changes
public static string UnsupportedChangesTitle;
public static string UnsupportedChangesMessage;
// Unsupported Packages
public static string UnsupportedPackagesTitle;
public static string UnsupportedPackagesMessage;
// Auto Recompiled When Playmode State Changes
public static string AutoRecompiledPlaymodeTitle;
public static string AutoRecompiledPlaymodeMessage;
// Auto Recompiled When Playmode State Changes 2022
public static string AutoRecompiled2022Title;
public static string AutoRecompiled2022Message;
// Multidimensional Arrays
public static string MultidimensionalArraysTitle;
public static string MultidimensionalArraysMessage;
// Editors Without HR Running
public static string EditorsWithoutHRTitle;
public static string EditorsWithoutHRMessage;
// Field Initializer With Side Effects
public static string FieldInitializerSideEffectsTitle;
public static string FieldInitializerSideEffectsMessage;
// Detailed Error Reporting Is Enabled
public static string DetailedErrorReportingTitle;
public static string DetailedErrorReportingMessage;
// Field Initializer Existing Instances Edited
public static string FieldInitializerEditedTitle;
public static string FieldInitializerEditedMessage;
// Field Initializer Existing Instances Unedited
public static string FieldInitializerUneditedTitle;
public static string FieldInitializerUneditedMessage;
// Add Monobehaviour Method
public static string AddMonobehaviourMethodTitle;
public static string AddMonobehaviourMethodMessage;
// Switch To Debug Mode For Inlined Methods
public static string SwitchToDebugModeTitle;
public static string SwitchToDebugModeMessage;
public static string SwitchToDebugModeConfirmation;
// Hot Reload While Debugger Is Attached
public static string DebuggerAttachedTitle;
public static string DebuggerAttachedMessage;
// Hot Reloaded Methods When Debugger Is Attached
public static string DebuggerMethodsTitle;
public static string DebuggerMethodsMessage;
public static string DebuggerMethodsConfirmation;
public static void LoadEnglish() {
// Button texts
ButtonDocs = "Docs";
ButtonMoreInfo = "More Info";
ButtonVote = " Vote ";
ButtonUseBuildTimeOnlyAtlas = " Use \"Build Time Only Atlas\" ";
ButtonOpenSettings = " Open Settings ";
ButtonIgnoreSuggestion = " Ignore suggestion ";
ButtonLearnMore = " Learn more ";
ButtonStopHotReload = " Stop Hot Reload ";
ButtonDontShowAgain = " Don't show again ";
ButtonOK = " OK ";
ButtonOKPadded = " OK ";
ButtonDisable = " Disable ";
ButtonTurnOff = " Turn off ";
ButtonAutoRecompile = " Auto Recompile ";
ButtonSwitchToDebugMode = " Switch to Debug mode ";
ButtonKeepEnabledDuringDebugging = " Keep enabled during debugging ";
ButtonRecompile = " Recompile ";
// Unity Best Development Tool Award 2023
Award2023Title = "Vote for the \"Best Development Tool\" Award!";
Award2023Message = "Hot Reload was nominated for the \"Best Development Tool\" Award. Please consider voting. Thank you!";
// Unsupported Changes
UnsupportedChangesTitle = "Which changes does Hot Reload support?";
UnsupportedChangesMessage = "Hot Reload supports most code changes, but there are some limitations. Generally, changes to methods and fields are supported. Things like adding new types is not (yet) supported. See the documentation for the list of current features and our current roadmap";
// Unsupported Packages
UnsupportedPackagesTitle = "Unsupported package detected";
UnsupportedPackagesMessage = "The following packages are only partially supported: ECS, Mirror, Fishnet, and Photon. Hot Reload will work in the project, but changes specific to those packages might not hot-reload";
// Auto Recompiled When Playmode State Changes
AutoRecompiledPlaymodeTitle = "Unity recompiles on enter/exit play mode?";
AutoRecompiledPlaymodeMessage = "If you have an issue with the Unity Editor recompiling when the Play Mode state changes, more info is available in the docs. Feel free to reach out if you require assistance. We'll be glad to help.";
// Auto Recompiled When Playmode State Changes 2022
AutoRecompiled2022Title = "Unsupported setting detected";
AutoRecompiled2022Message = "The 'Sprite Packer Mode' setting can cause unintended recompilations if set to 'Sprite Atlas V1 - Always Enabled'";
// Multidimensional Arrays
MultidimensionalArraysTitle = "Use jagged instead of multidimensional arrays";
MultidimensionalArraysMessage = "Hot Reload doesn't support methods with multidimensional arrays ([,]). You can work around this by using jagged arrays ([][])"
;
// Editors Without HR Running
EditorsWithoutHRTitle = "Some Unity instances don't have Hot Reload running.";
EditorsWithoutHRMessage = "Make sure that either: \n1) Hot Reload is installed and running on all Editor instances, or \n2) Hot Reload is stopped in all Editor instances where it is installed.";
// Field Initializer With Side Effects
FieldInitializerSideEffectsTitle = "Field initializer with side-effects detected";
FieldInitializerSideEffectsMessage = "A field initializer update might have side effects, e.g. calling a method or creating an object.\n\nWhile Hot Reload does support this, it can sometimes be confusing when the initializer logic runs at 'unexpected times'.";
// Detailed Error Reporting Is Enabled
DetailedErrorReportingTitle = "Detailed error reporting is enabled";
DetailedErrorReportingMessage = "When an error happens in Hot Reload, the exception stacktrace is sent as telemetry to help diagnose and fix the issue.\nThe exception stack trace is only included if it originated from the Hot Reload package or binary. Stacktraces from your own code are not sent.\nYou can disable detailed error reporting to prevent telemetry from including any information about your project.";
// Field Initializer Existing Instances Edited
FieldInitializerEditedTitle = "Field initializer edit updated the value of existing class instances";
FieldInitializerEditedMessage = "By default, Hot Reload updates field values of existing object instances when new field initializer has constant value.\n\nIf you want to change this behavior, disable the \"Apply field initializer edits to existing class instances\" option in Settings or click the button below.";
// Field Initializer Existing Instances Unedited
FieldInitializerUneditedTitle = "Field initializer edits don't apply to existing objects";
FieldInitializerUneditedMessage = "By default, Hot Reload applies field initializer edits of existing fields only to new objects (newly instantiated classes), just like normal C#.\n\nFor rapid prototyping, you can use static fields which will update across all instances.";
// Add Monobehaviour Method
AddMonobehaviourMethodTitle = "New MonoBehaviour methods are not shown in the inspector";
AddMonobehaviourMethodMessage = "New methods in MonoBehaviours are not shown in the inspector until the script is recompiled. This is a limitation of Hot Reload handling of Unity's serialization system.\n\nYou can use the button below to auto recompile partially supported changes such as this one.";
// Switch To Debug Mode For Inlined Methods
SwitchToDebugModeTitle = "Switch code optimization to Debug Mode";
SwitchToDebugModeMessage = "In Release Mode some methods are inlined, which prevents Hot Reload from applying changes. A clear warning is always shown when this happens, but you can use Debug Mode to avoid the issue altogether";
SwitchToDebugModeConfirmation = "Switching code optimization will stop Play Mode.\n\nDo you wish to proceed?";
// Hot Reload While Debugger Is Attached
DebuggerAttachedTitle = "Hot Reload is disabled while a debugger is attached";
DebuggerAttachedMessage = "Hot Reload automatically disables itself while a debugger is attached, as it can otherwise interfere with certain debugger features.\nWhile disabled, every code change will trigger a full Unity recompilation.\n\nYou can choose to keep Hot Reload enabled while a debugger is attached, though some features like debugger variable inspection might not always work as expected.";
// Hot Reloaded Methods When Debugger Is Attached
DebuggerMethodsTitle = "Hot Reload may interfere with your debugger session";
DebuggerMethodsMessage = "Some debugger features, like variable inspection, might not work as expected for methods patched during the Hot Reload session. A full Unity recompile is required to get the full debugger experience.";
DebuggerMethodsConfirmation = "Using the Recompile button will stop Play Mode.\n\nDo you wish to proceed?";
}
public static void LoadSimplifiedChinese() {
// Button texts
ButtonDocs = "文档";
ButtonMoreInfo = "更多信息";
ButtonVote = " 投票 ";
ButtonUseBuildTimeOnlyAtlas = " 使用“仅构建时图集” ";
ButtonOpenSettings = " 打开设置 ";
ButtonIgnoreSuggestion = " 忽略建议 ";
ButtonLearnMore = " 了解更多 ";
ButtonStopHotReload = " 停止 Hot Reload ";
ButtonDontShowAgain = " 不再显示 ";
ButtonOK = " 确定 ";
ButtonOKPadded = " 确定 ";
ButtonDisable = " 禁用 ";
ButtonTurnOff = " 关闭 ";
ButtonAutoRecompile = " 自动重新编译 ";
ButtonSwitchToDebugMode = " 切换到调试模式 ";
ButtonKeepEnabledDuringDebugging = " 在调试期间保持启用 ";
ButtonRecompile = " 重新编译 ";
// Unity Best Development Tool Award 2023
Award2023Title = "为“最佳开发工具”奖投票!";
Award2023Message = "Hot Reload 被提名为“最佳开发工具”奖。请考虑投票。谢谢!";
// Unsupported Changes
UnsupportedChangesTitle = "Hot Reload 支持哪些更改?";
UnsupportedChangesMessage = "Hot Reload 支持大多数代码更改,但存在一些限制。通常支持对方法和字段的更改。尚不支持添加新类型等操作。有关当前功能列表和我们当前路线图,请参阅文档";
// Unsupported Packages
UnsupportedPackagesTitle = "检测到不支持的包";
UnsupportedPackagesMessage = "以下包仅部分支持ECS、Mirror、Fishnet 和 Photon。Hot Reload 可以在项目中使用,但针对这些包的特定更改可能无法热重载";
// Auto Recompiled When Playmode State Changes
AutoRecompiledPlaymodeTitle = "Unity 在进入/退出播放模式时重新编译?";
AutoRecompiledPlaymodeMessage = "如果您在播放模式状态更改时遇到 Unity 编辑器重新编译的问题,可以在文档中找到更多信息。如果您需要帮助,请随时与我们联系。我们很乐意提供帮助。";
// Auto Recompiled When Playmode State Changes 2022
AutoRecompiled2022Title = "检测到不支持的设置";
AutoRecompiled2022Message = "如果“精灵打包器模式”设置为“精灵图集 V1 - 始终启用”,则可能导致意外的重新编译";
// Multidimensional Arrays
MultidimensionalArraysTitle = "使用交错数组代替多维数组";
MultidimensionalArraysMessage = "Hot Reload 不支持带有二维数组 ([,]) 的方法。您可以通过使用交错数组 ([][]) 来解决此问题";
// Editors Without HR Running
EditorsWithoutHRTitle = "一些 Unity 实例没有运行 Hot Reload。";
EditorsWithoutHRMessage = "请确保:\n1) 在所有编辑器实例上安装并运行 Hot Reload或\n2) 在所有安装了 Hot Reload 的编辑器实例中停止它。";
// Field Initializer With Side Effects
FieldInitializerSideEffectsTitle = "检测到带有副作用的字段初始化器";
FieldInitializerSideEffectsMessage = "字段初始化器更新可能有副作用,例如调用方法或创建对象。\n\n虽然 Hot Reload 支持此功能,但当初始化器逻辑在“意外时间”运行时,有时可能会令人困惑。";
// Detailed Error Reporting Is Enabled
DetailedErrorReportingTitle = "已启用详细错误报告";
DetailedErrorReportingMessage = "当 Hot Reload 中发生错误时,异常堆栈跟踪将作为遥测数据发送,以帮助诊断和修复问题。\n仅当异常堆栈跟踪源自 Hot Reload 包或二进制文件时才会包含。不会发送您自己代码的堆栈跟踪。\n您可以禁用详细错误报告以防止遥测数据包含有关您项目的任何信息。";
// Field Initializer Existing Instances Edited
FieldInitializerEditedTitle = "字段初始化器编辑更新了现有类实例的值";
FieldInitializerEditedMessage = "默认情况下当新的字段初始化器具有常量值时Hot Reload 会更新现有对象实例的字段值。\n\n如果您想更改此行为请在“设置”中禁用“将字段初始化器编辑应用于现有类实例”选项或单击下面的按钮。";
// Field Initializer Existing Instances Unedited
FieldInitializerUneditedTitle = "字段初始化器编辑不适用于现有对象";
FieldInitializerUneditedMessage = "默认情况下Hot Reload 仅将现有字段的字段初始化器编辑应用于新对象(新实例化的类),就像普通的 C# 一样。\n\n为了快速原型制作您可以使用静态字段它将在所有实例中更新。";
// Add Monobehaviour Method
AddMonobehaviourMethodTitle = "新的 MonoBehaviour 方法不会显示在检查器中";
AddMonobehaviourMethodMessage = "在重新编译脚本之前MonoBehaviours 中的新方法不会显示在检查器中。这是 Hot Reload 处理 Unity 序列化系统的限制。\n\n您可以使用下面的按钮自动重新编译部分支持的更改例如此更改。";
// Switch To Debug Mode For Inlined Methods
SwitchToDebugModeTitle = "将代码优化切换到调试模式";
SwitchToDebugModeMessage = "在发布模式下,某些方法是内联的,这会阻止 Hot Reload 应用更改。发生这种情况时总是会显示明确的警告,但您可以使用调试模式完全避免此问题";
SwitchToDebugModeConfirmation = "切换代码优化将停止播放模式。\n\n您希望继续吗";
// Hot Reload While Debugger Is Attached
DebuggerAttachedTitle = "附加调试器时禁用 Hot Reload";
DebuggerAttachedMessage = "附加调试器时Hot Reload 会自动禁用自身,因为它可能会干扰某些调试器功能。\n禁用后每次代码更改都会触发完整的 Unity 重新编译。\n\n您可以选择在附加调试器时保持 Hot Reload 启用,但某些功能(如调试器变量检查)可能不总是按预期工作。";
// Hot Reloaded Methods When Debugger Is Attached
DebuggerMethodsTitle = "Hot Reload 可能会干扰您的调试会话";
DebuggerMethodsMessage = "某些调试器功能,例如变量检查,对于在 Hot Reload 会话期间修补的方法可能无法按预期工作。需要完整的 Unity 重新编译才能获得完整的调试器体验。";
DebuggerMethodsConfirmation = "使用“重新编译”按钮将停止播放模式。\n\n您希望继续吗";
}
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 3a2d7e9f8b1c4a5e9d6f8a7b9c1d2e3f

View File

@@ -0,0 +1,130 @@
namespace SingularityGroup.HotReload.Editor.Localization {
internal static partial class Translations {
public static class Timeline {
// Timeline/Events
public static string TimelineTitle;
public static string SuggestionsTitle;
public static string MessageCompleteRegistration;
public static string MessageUseStartButton;
public static string MessageEnableFilters;
public static string MessageMakeCodeChanges;
public static string MessageOnly40EntriesShown;
public static string EventsTooltip;
public static string LabelSuggestionsFormat;
public static string LabelTimeline;
public static string ButtonIgnoreEventType;
public static string MessageStartHotReload;
// Partially Supported Change Descriptions
public static string PartiallySupportedLambdaClosure;
public static string PartiallySupportedEditAsyncMethod;
public static string PartiallySupportedAddMonobehaviourMethod;
public static string PartiallySupportedEditMonobehaviourField;
public static string PartiallySupportedEditCoroutine;
public static string PartiallySupportedEditGenericFieldInitializer;
public static string PartiallySupportedAddEnumMember;
public static string PartiallySupportedEditFieldInitializer;
public static string PartiallySupportedAddMethodWithAttributes;
public static string PartiallySupportedAddFieldWithAttributes;
public static string PartiallySupportedGenericMethodInGenericClass;
public static string PartiallySupportedNewCustomSerializableField;
public static string PartiallySupportedMultipleFieldsEditedInTheSameType;
// Event Entry Titles and Descriptions
public static string EventTitleFailedApplyingPatch;
public static string EventDescriptionInlinedMethods;
public static string EventDescriptionNoIssuesFound;
public static string EventDescriptionSeeUnsupportedChangesBelow;
public static string EventDescriptionSeeDetailedEntriesBelow;
public static string EventDescriptionSeePartiallyAppliedChangesBelow;
public static string EventDescriptionUndetectedChange;
public static string EventTitleChangePartiallyApplied;
public static string EventDescriptionFailedApplyingPatchTapForMore;
public static void LoadEnglish() {
// Timeline/Events
TimelineTitle = "Timeline";
SuggestionsTitle = "Suggestions";
MessageCompleteRegistration = "Complete registration before using Hot Reload";
MessageUseStartButton = "Use the Start button to activate Hot Reload";
MessageEnableFilters = "Enable filters to see events";
MessageMakeCodeChanges = "Make code changes to see events";
MessageOnly40EntriesShown = "Only last 40 entries are shown";
EventsTooltip = "Events";
LabelSuggestionsFormat = "Suggestions ({0})";
LabelTimeline = "Timeline";
ButtonIgnoreEventType = "Ignore this event type ";
MessageStartHotReload = "Press Start to begin using Hot Reload";
// Partially Supported Change Descriptions
PartiallySupportedLambdaClosure = "A lambda closure was edited (captured variable was added or removed). Changes to it will only be visible to the next created lambda(s).";
PartiallySupportedEditAsyncMethod = "An async method was edited. Changes to it will only be visible the next time this method is called.";
PartiallySupportedAddMonobehaviourMethod = "A new method was added or made public. It will not show up in the Inspector until the next full recompilation.";
PartiallySupportedEditMonobehaviourField = "A field in a MonoBehaviour was removed or reordered. The inspector will not notice this change until the next full recompilation.";
PartiallySupportedEditCoroutine = "An IEnumerator/IEnumerable was edited. When used as a coroutine, changes to it will only be visible the next time the coroutine is created.";
PartiallySupportedEditGenericFieldInitializer = "A field initializer inside generic class was edited. Field initializer will not have any effect until the next full recompilation.";
PartiallySupportedAddEnumMember = "An enum member was added. ToString and other reflection methods work only after the next full recompilation. Additionally, changes to the enum order may not apply until you patch usages in other places of the code.";
PartiallySupportedEditFieldInitializer = "A field initializer was edited. Changes will only apply to new instances of that type, since the initializer for an object only runs when it is created.";
PartiallySupportedAddMethodWithAttributes = "A method with attributes was added. Method attributes will not have any effect until the next full recompilation.";
PartiallySupportedAddFieldWithAttributes = "A field with attributes was added. Field attributes will not have any effect until the next full recompilation.";
PartiallySupportedGenericMethodInGenericClass = "A generic method was edited. Usages in non-generic classes applied, but usages in the generic classes are not supported.";
PartiallySupportedNewCustomSerializableField = "A new custom serializable field was added. The inspector will not notice this change until the next full recompilation.";
PartiallySupportedMultipleFieldsEditedInTheSameType = "Multiple fields modified in the same type during a single patch. Their values have been reset.";
// Event Entry Titles and Descriptions
EventTitleFailedApplyingPatch = "Failed applying patch to method";
EventDescriptionInlinedMethods = "Some methods got inlined by the Unity compiler and cannot be patched by Hot Reload. Switch to Debug mode to avoid this problem.";
EventDescriptionNoIssuesFound = "No issues found";
EventDescriptionSeeUnsupportedChangesBelow = "See unsupported changes below";
EventDescriptionSeeDetailedEntriesBelow = "See detailed entries below";
EventDescriptionSeePartiallyAppliedChangesBelow = "See partially applied changes below";
EventDescriptionUndetectedChange = "Code semantics didn't change (e.g. whitespace) or the change requires manual recompile.\n\nRecompile to force-apply changes.";
EventTitleChangePartiallyApplied = "Change partially applied";
EventDescriptionFailedApplyingPatchTapForMore = "{0}: {1}, tap here to see more.";
}
public static void LoadSimplifiedChinese() {
// Timeline/Events
TimelineTitle = "时间线";
SuggestionsTitle = "建议";
MessageCompleteRegistration = "在使用 Hot Reload 前完成注册";
MessageUseStartButton = "使用开始按钮激活 Hot Reload";
MessageEnableFilters = "启用过滤器以查看事件";
MessageMakeCodeChanges = "进行代码更改以查看事件";
MessageOnly40EntriesShown = "仅显示最后 40 个条目";
EventsTooltip = "事件";
LabelSuggestionsFormat = "建议 ({0})";
LabelTimeline = "时间线";
ButtonIgnoreEventType = "忽略此事件类型 ";
MessageStartHotReload = "按开始以开始使用 Hot Reload";
// Partially Supported Change Descriptions
PartiallySupportedLambdaClosure = "编辑了 lambda 闭包(添加或删除了捕获的变量)。对其的更改仅对下一个创建的 lambda 可见。";
PartiallySupportedEditAsyncMethod = "编辑了异步方法。对其的更改仅在下次调用此方法时可见。";
PartiallySupportedAddMonobehaviourMethod = "添加了新方法或将其设为公共。在下次完全重新编译之前,它不会显示在检查器中。";
PartiallySupportedEditMonobehaviourField = "删除了 MonoBehaviour 中的字段或重新排序。在下次完全重新编译之前,检查器不会注意到此更改。";
PartiallySupportedEditCoroutine = "编辑了 IEnumerator/IEnumerable。当用作协程时对其的更改仅在下次创建协程时可见。";
PartiallySupportedEditGenericFieldInitializer = "编辑了泛型类中的字段初始化器。在下次完全重新编译之前,字段初始化器不会有任何效果。";
PartiallySupportedAddEnumMember = "添加了枚举成员。ToString 和其他反射方法仅在下次完全重新编译后才起作用。此外,在您修补代码中其他地方的用法之前,对枚举顺序的更改可能不会应用。";
PartiallySupportedEditFieldInitializer = "编辑了字段初始化器。更改仅适用于该类型的新实例,因为对象的初始化器仅在创建时运行。";
PartiallySupportedAddMethodWithAttributes = "添加了带属性的方法。在下次完全重新编译之前,方法属性不会有任何效果。";
PartiallySupportedAddFieldWithAttributes = "添加了带属性的字段。在下次完全重新编译之前,字段属性不会有任何效果。";
PartiallySupportedGenericMethodInGenericClass = "编辑了泛型方法。在非泛型类中的用法已应用,但不支持在泛型类中的用法。";
PartiallySupportedNewCustomSerializableField = "添加了新的自定义可序列化字段。在下次完全重新编译之前,检查器不会注意到此更改。";
PartiallySupportedMultipleFieldsEditedInTheSameType = "在单个补丁期间,在同一类型中修改了多个字段。它们的值已被重置。";
// Event Entry Titles and Descriptions
EventTitleFailedApplyingPatch = "将补丁应用于方法失败";
EventDescriptionInlinedMethods = "某些方法被 Unity 编译器内联,无法被 Hot Reload 修补。切换到调试模式以避免此问题。";
EventDescriptionNoIssuesFound = "未发现问题";
EventDescriptionSeeUnsupportedChangesBelow = "请参阅下面的不支持的更改";
EventDescriptionSeeDetailedEntriesBelow = "请参阅下面的详细条目";
EventDescriptionSeePartiallyAppliedChangesBelow = "请参阅下面部分应用的更改";
EventDescriptionUndetectedChange = "代码语义未更改(例如空格)或更改需要手动重新编译。\n\n重新编译以强制应用更改。";
EventTitleChangePartiallyApplied = "更改部分应用";
EventDescriptionFailedApplyingPatchTapForMore = "{0}: {1},点击此处查看更多。";
}
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: f7d83a43b1da0f14c860b06211f42149

View File

@@ -0,0 +1,84 @@
namespace SingularityGroup.HotReload.Editor.Localization {
internal static partial class Translations {
public static class UI {
// Run Tab
public static string RunTabTitle;
public static string RunTabTooltip;
public static string TapToShowStacktrace;
public static string CompileErrorMessage;
public static string UnsupportedChangeMessage;
public static string TapHereToSeeMore;
public static string ClickableDescription;
public static string SessionRefreshString;
public static string RecompileButtonLabel;
public static string StartButtonLabel;
public static string StopButtonLabel;
// License Messages
public static string TrialLicenseMessage;
public static string IndieLicenseMessage;
public static string LicenseRenewalMessage;
public static string BusinessLicenseMessage;
// Startup Messages
public static string StartingHotReloadMessage;
public static string OverlayPanelName;
public static void LoadEnglish() {
// Run Tab
RunTabTitle = "Run";
RunTabTooltip = "Run and monitor the current Hot Reload session.";
TapToShowStacktrace = "Tap to show stacktrace";
CompileErrorMessage = "Compile error";
UnsupportedChangeMessage = "Unsupported change detected";
TapHereToSeeMore = "tap here to see more.";
ClickableDescription = "Unsupported change";
SessionRefreshString = "Next Session: {0}h {1}min";
RecompileButtonLabel = " Recompile";
StartButtonLabel = " Start";
StopButtonLabel = " Stop";
// License Messages
TrialLicenseMessage = "Using Trial license, valid until {0}";
IndieLicenseMessage = " Indie license active";
LicenseRenewalMessage = "License will renew on {0}.";
BusinessLicenseMessage = " Business license active";
// Startup Messages
StartingHotReloadMessage = "Starting Hot Reload";
// Overlay
OverlayPanelName = "Hot Reload Indication";
}
public static void LoadSimplifiedChinese() {
// Run Tab
RunTabTitle = "运行";
RunTabTooltip = "运行并监控当前的 Hot Reload 会话。";
TapToShowStacktrace = "点击以显示堆栈跟踪";
CompileErrorMessage = "编译错误";
UnsupportedChangeMessage = "检测到不支持的更改";
TapHereToSeeMore = "点击此处查看更多。";
ClickableDescription = "不支持的更改";
SessionRefreshString = "下一会话:{0}h {1}min";
RecompileButtonLabel = " 重新编译";
StartButtonLabel = " 开始";
StopButtonLabel = " 停止";
// License Messages
TrialLicenseMessage = "正在使用试用许可证,有效期至 {0}";
IndieLicenseMessage = " 独立开发者许可证已激活";
LicenseRenewalMessage = "许可证将于 {0} 续订。";
BusinessLicenseMessage = " 商业许可证已激活";
// Startup Messages
StartingHotReloadMessage = "正在启动 Hot Reload";
// Overlay
OverlayPanelName = "Hot Reload 指示";
}
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 84e781692dea7c94f8da7bd64dfbfceb
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,113 @@
namespace SingularityGroup.HotReload.Editor.Localization {
internal static partial class Translations {
public static class Utility {
// Compilation and Assembly
public static string CompileError;
public static string UnsupportedChange;
public static string AssemblyFileEditError;
public static string NativePluginEditError;
public static string InspectorFieldChangeError;
// Version and Project
public static string InvalidVersionNoMinor;
public static string InvalidVersionNoPatch;
public static string FailedCreateCSharpProject;
public static string ApplicationNotFound;
// Download and Installation
public static string StreamHasToBeReadable;
public static string StreamHasToBeWritable;
public static string UnableToLocateServer;
public static string UnableToLocateServerDetail;
public static string CannotFindSolutionFile;
public static string UnableToUpdatePackageDifferentDrive;
public static string UnableToLocateHotReloadPackage;
// CLI and Build
public static string FailedLocatingServer;
public static string PreparingBuildInfoFailed;
// Logs
public static string PlayerAssemblyDebug;
// Symbols
public static string GenericParameterMismatch;
public static string GenericParameterTypeDefinitionMismatch;
// Method Compatibility
public static string MethodCallWarning;
public static string OnHotReloadLocalWarning;
public static string OnHotReloadWarning;
public static string OnHotReloadLocalCallWarning;
public static void LoadEnglish() {
CompileError = "Compile error";
UnsupportedChange = "Unsupported change";
AssemblyFileEditError = "errors: AssemblyFileEdit: Editing assembly files requires recompiling in Unity. in {0}";
NativePluginEditError = "errors: NativePluginEdit: Editing native plugins requires recompiling in Unity. in {0}";
InspectorFieldChangeError = "errors: Some inspector field changes require recompilation in Unity. Auto recompiling Unity according to the settings.";
InvalidVersionNoMinor = "Invalid version (no minor version given in strict mode)";
InvalidVersionNoPatch = "Invalid version (no patch version given in strict mode)";
FailedCreateCSharpProject = "Failed creating c# project because the c# project header did not have the correct amount of arguments, which is {0}";
ApplicationNotFound = "Application not found";
StreamHasToBeReadable = "Has to be readable";
StreamHasToBeWritable = "Has to be writable";
UnableToLocateServer = "Unable to locate the 'Server' directory. ";
UnableToLocateServerDetail = "Make sure the 'Server' directory is somewhere in the Assets folder inside a 'HotReload' folder or in the HotReload package";
CannotFindSolutionFile = "Cannot find solution file. Please disable \"useBuiltInProjectGeneration\" in settings to enable custom project generation.";
UnableToUpdatePackageDifferentDrive = "unable to update package because it is located on a different drive than the unity project";
UnableToLocateHotReloadPackage = "unable to locate hot reload package";
FailedLocatingServer = "Failed to locate Hot Reload server directory";
PreparingBuildInfoFailed = "Preparing build info failed! On-device functionality might not work. Exception: {0}";
PlayerAssemblyDebug = "player assembly named {0}";
GenericParameterMismatch = "Generic parameter did not resolve to generic type definition";
GenericParameterTypeDefinitionMismatch = "Generic parameter did not exist on the generic type definition";
MethodCallWarning = "failed. Make sure it's a method with 0 parameters either static or defined on MonoBehaviour.";
OnHotReloadLocalWarning = "failed to find method {0}. Make sure it exists within the same class.";
OnHotReloadWarning = "failed. Make sure it has 0 parameters, or 1 parameter with type List<MethodPatch>. Exception:";
OnHotReloadLocalCallWarning = "failed. Make sure it has 0 parameters. Exception:";
}
public static void LoadSimplifiedChinese() {
CompileError = "编译错误";
UnsupportedChange = "不支持的更改";
AssemblyFileEditError = "错误AssemblyFileEdit编辑程序集文件需要在 Unity 中重新编译。在 {0} 中";
NativePluginEditError = "错误NativePluginEdit编辑本机插件需要在 Unity 中重新编译。在 {0} 中";
InspectorFieldChangeError = "错误:一些检查器字段更改需要在 Unity 中重新编译。根据设置自动重新编译 Unity。";
InvalidVersionNoMinor = "无效版本(严格模式下未提供次要版本)";
InvalidVersionNoPatch = "无效版本(严格模式下未提供补丁版本)";
FailedCreateCSharpProject = "创建 C# 项目失败,因为 C# 项目头没有正确的参数数量,即 {0}";
ApplicationNotFound = "未找到应用程序";
StreamHasToBeReadable = "必须可读";
StreamHasToBeWritable = "必须可写";
UnableToLocateServer = "无法找到“服务器”目录。";
UnableToLocateServerDetail = "确保“服务器”目录位于 Assets 文件夹内的“HotReload”文件夹中或在 HotReload 包中";
CannotFindSolutionFile = "找不到解决方案文件。请在设置中禁用“useBuiltInProjectGeneration”以启用自定义项目生成。";
UnableToUpdatePackageDifferentDrive = "无法更新包,因为它位于与 unity 项目不同的驱动器上";
UnableToLocateHotReloadPackage = "无法找到 hot reload 包";
FailedLocatingServer = "未能找到 Hot Reload 服务器目录";
PreparingBuildInfoFailed = "准备构建信息失败!设备上功能可能无法工作。异常:{0}";
PlayerAssemblyDebug = "名为 {0} 的播放器程序集";
GenericParameterMismatch = "泛型参数未解析为泛型类型定义";
GenericParameterTypeDefinitionMismatch = "泛型参数在泛型类型定义上不存在";
MethodCallWarning = "失败。请确保它是一个具有 0 个参数的方法,静态或在 MonoBehaviour 上定义。";
OnHotReloadLocalWarning = "未能找到方法 {0}。请确保它存在于同一个类中。";
OnHotReloadWarning = "失败。请确保它有 0 个参数,或 1 个类型为 List<MethodPatch> 的参数。异常:";
OnHotReloadLocalCallWarning = "失败。请确保它有 0 个参数。异常:";
}
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c089e14ef1f6aa5438ecc4ea082be7d9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: