Update HotReload

This commit is contained in:
2026-03-28 12:54:41 +07:00
parent f2173d2c73
commit a4f2654d0b
278 changed files with 2027 additions and 1896 deletions
@@ -1,9 +1,2 @@
fileFormatVersion: 2
guid: 155269da640bb89428bf5b3d415878c9
AssetOrigin:
serializedVersion: 1
productId: 254358
packageName: Hot Reload | Edit Code Without Compiling
packageVersion: 1.13.17
assetPath: Packages/com.singularitygroup.hotreload/Editor/Localization/AboutTranslations.cs
uploadId: 870414
guid: 155269da640bb89428bf5b3d415878c9
@@ -0,0 +1,190 @@
namespace SingularityGroup.HotReload.Editor.Localization {
internal static partial class Translations {
public static class BugReport {
// Window titles
public static string WindowTitleBugReport;
public static string WindowTitleFeedback;
public static string TabBugReport;
public static string TabFeedback;
// Form section labels
public static string LabelTitle;
public static string LabelIssueSeverity;
public static string LabelHowOften;
public static string LabelContactEmail;
public static string LabelContactEmailFinePrint;
public static string LabelDetails;
public static string LabelFeedback;
// Severity choices
public static string SeverityNormal;
public static string SeverityLow;
public static string SeverityHigh;
// Frequency choices
public static string FrequencyFirstTime;
public static string FrequencySometimes;
public static string FrequencyAlways;
// Submit button
public static string ButtonSubmit;
public static string ButtonSubmitting;
// Validation
public static string ValidationTitleRequired;
// Success screen
public static string SuccessTitle;
public static string SuccessMessage;
// Failure screen
public static string FailureTitle;
public static string FailureMessage;
// Shared buttons
public static string ButtonJoinDiscord;
public static string ButtonContactUs;
// Discard dialog
public static string DiscardDialogTitle;
public static string DiscardDialogMessage;
public static string DiscardDialogConfirm;
public static string DiscardDialogCancel;
// Misc
public static string NoSubmitHandlerError;
// Exceptions
public static string SubmitHandlerError;
public static string PlaceholderDetails;
public static string LicenseActivationFailed;
public static string LicenseActivationFailedWithError;
public static void LoadEnglish() {
WindowTitleBugReport = "Bug Report (Hot Reload)";
WindowTitleFeedback = "Feedback (Hot Reload)";
TabBugReport = "Bug Report";
TabFeedback = "Feedback";
LabelTitle = "Title";
LabelIssueSeverity = "Issue Severity";
LicenseActivationFailed = "License activation failed";
LicenseActivationFailedWithError = "License activation failed with error: {0}";
LabelHowOften = "How often does it happen?";
LabelContactEmail = "Contact Email (optional)";
LabelContactEmailFinePrint = "This email will only be used to follow up on this bug report and will not be stored or shared for any other purpose.";
LabelDetails = "Details";
LabelFeedback = "Feedback";
SeverityNormal = "Normal";
SeverityLow = "Low";
SeverityHigh = "High";
FrequencyFirstTime = "This is the first time";
FrequencySometimes = "Sometimes but not always";
FrequencyAlways = "Always";
ButtonSubmit = "Submit";
ButtonSubmitting = "Submitting...";
ValidationTitleRequired = "You must provide a title to be able to send the report.";
SuccessTitle = "Report Submitted";
SuccessMessage = "Thank you! We've accepted your report and are processing it.";
FailureTitle = "Submission Failed";
FailureMessage = "Please reach out to us directly so we can help resolve your issue.";
ButtonJoinDiscord = "Join Our Discord";
ButtonContactUs = "Contact Us";
DiscardDialogTitle = "Discard Report?";
DiscardDialogMessage = "You have unsaved content in this report. Discard changes and close?";
DiscardDialogConfirm = "Discard";
DiscardDialogCancel = "Cancel";
NoSubmitHandlerError = "No way to handle bug report";
SubmitHandlerError = "Failure occurred while handling bug report: {0}";
PlaceholderDetails = @"## Steps to reproduce:
1.
2.
3.
## What happened?
## What should have happened?
";
}
public static void LoadSimplifiedChinese() {
WindowTitleBugReport = "错误报告 (Hot Reload)";
WindowTitleFeedback = "反馈 (Hot Reload)";
TabBugReport = "错误报告";
TabFeedback = "反馈";
LabelTitle = "标题";
LabelIssueSeverity = "问题严重性";
LabelHowOften = "发生频率如何?";
LabelContactEmail = "联系邮箱(可选)";
LabelContactEmailFinePrint = "此邮箱仅用于跟进本次错误报告,不会被存储或用于其他任何目的。";
LabelDetails = "详情";
LabelFeedback = "反馈";
SeverityNormal = "普通";
SeverityLow = "低";
SeverityHigh = "高";
FrequencyFirstTime = "这是第一次发生";
FrequencySometimes = "偶尔发生";
FrequencyAlways = "总是发生";
ButtonSubmit = "提交";
ButtonSubmitting = "提交中…";
ValidationTitleRequired = "必须填写标题才能发送报告。";
SuccessTitle = "报告已提交";
SuccessMessage = "感谢您!我们已收到您的报告并正在处理中。";
FailureTitle = "提交失败";
FailureMessage = "请直接联系我们,以便我们协助解决您的问题。";
ButtonJoinDiscord = "加入我们的 Discord";
ButtonContactUs = "联系我们";
DiscardDialogTitle = "放弃报告?";
DiscardDialogMessage = "此报告中有未保存的内容。是否放弃更改并关闭?";
DiscardDialogConfirm = "放弃";
DiscardDialogCancel = "取消";
NoSubmitHandlerError = "无法处理错误报告";
SubmitHandlerError = "处理错误报告时发生错误:{0}";
LicenseActivationFailed = "许可证激活失败";
LicenseActivationFailedWithError = "许可证激活失败,错误信息:{0}";
PlaceholderDetails = @"## 复现步骤:
1.
2.
3.
## 实际发生了什么?
## 预期应发生什么?
";
}
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: d6519b7661b44ec98e29b09e511f8ac7
timeCreated: 1773936808
@@ -8,6 +8,7 @@ namespace SingularityGroup.HotReload.Editor.Localization {
public static string ButtonStart;
public static string ButtonStop;
public static string ButtonRecompile;
public static string ButtonBugReport;
public static string ButtonProceed;
public static string ButtonYes;
public static string ButtonNo;
@@ -45,6 +46,7 @@ namespace SingularityGroup.HotReload.Editor.Localization {
ButtonStart = " Start";
ButtonStop = " Stop";
ButtonRecompile = " Recompile";
ButtonBugReport = "Report bug";
ButtonProceed = "Proceed";
ButtonYes = "Yes";
ButtonNo = "No";
@@ -82,6 +84,7 @@ namespace SingularityGroup.HotReload.Editor.Localization {
ButtonClear = "清除";
ButtonStart = " 开始";
ButtonStop = " 停止";
ButtonBugReport = "报告错误";
ButtonRecompile = " 重新编译";
ButtonProceed = "继续";
ButtonYes = "是";
@@ -1,9 +1,2 @@
fileFormatVersion: 2
guid: 2fea73e8304102e4a805c3d00653b84b
AssetOrigin:
serializedVersion: 1
productId: 254358
packageName: Hot Reload | Edit Code Without Compiling
packageVersion: 1.13.17
assetPath: Packages/com.singularitygroup.hotreload/Editor/Localization/CommonTranslations.cs
uploadId: 870414
guid: 2fea73e8304102e4a805c3d00653b84b
@@ -1,9 +1,2 @@
fileFormatVersion: 2
guid: 18bf971e42f1c6b40a2f22f0cc76411f
AssetOrigin:
serializedVersion: 1
productId: 254358
packageName: Hot Reload | Edit Code Without Compiling
packageVersion: 1.13.17
assetPath: Packages/com.singularitygroup.hotreload/Editor/Localization/DialogTranslations.cs
uploadId: 870414
guid: 18bf971e42f1c6b40a2f22f0cc76411f
@@ -1,9 +1,2 @@
fileFormatVersion: 2
guid: f1ff9542af2fa0c4d8b9bfb9620e29a0
AssetOrigin:
serializedVersion: 1
productId: 254358
packageName: Hot Reload | Edit Code Without Compiling
packageVersion: 1.13.17
assetPath: Packages/com.singularitygroup.hotreload/Editor/Localization/ErrorTranslations.cs
uploadId: 870414
guid: f1ff9542af2fa0c4d8b9bfb9620e29a0
@@ -1,9 +1,2 @@
fileFormatVersion: 2
guid: 35d12621e71ef12458b3bbe48e047469
AssetOrigin:
serializedVersion: 1
productId: 254358
packageName: Hot Reload | Edit Code Without Compiling
packageVersion: 1.13.17
assetPath: Packages/com.singularitygroup.hotreload/Editor/Localization/LicenseTranslations.cs
uploadId: 870414
guid: 35d12621e71ef12458b3bbe48e047469
@@ -1,6 +1,6 @@
using SingularityGroup.HotReload.DTO;
using SingularityGroup.HotReload.Localization;
using UnityEditor;
using UnityEngine;
namespace SingularityGroup.HotReload.Editor.Localization {
[InitializeOnLoad]
@@ -28,6 +28,7 @@ namespace SingularityGroup.HotReload.Editor.Localization {
static void LoadEnglish() {
Common.LoadEnglish();
BugReport.LoadEnglish();
Timeline.LoadEnglish();
License.LoadEnglish();
Errors.LoadEnglish();
@@ -44,6 +45,7 @@ namespace SingularityGroup.HotReload.Editor.Localization {
static void LoadSimplifiedChinese() {
Common.LoadSimplifiedChinese();
BugReport.LoadSimplifiedChinese();
Timeline.LoadSimplifiedChinese();
License.LoadSimplifiedChinese();
Errors.LoadSimplifiedChinese();
@@ -1,10 +1,3 @@
fileFormatVersion: 2
guid: 1e39c1f768bb465fa48c1fe2c3dd4d75
timeCreated: 1759652321
AssetOrigin:
serializedVersion: 1
productId: 254358
packageName: Hot Reload | Edit Code Without Compiling
packageVersion: 1.13.17
assetPath: Packages/com.singularitygroup.hotreload/Editor/Localization/Localization.cs
uploadId: 870414
timeCreated: 1759652321
@@ -1,9 +1,11 @@
using SingularityGroup.HotReload.DTO;
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 OpenBugReport = PackageConst.DefaultLocale == Locale.SimplifiedChinese ? "Window/Hot Reload/错误报告" : "Window/Hot Reload/Bug Report";
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";
@@ -9,10 +9,3 @@ MonoImporter:
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 254358
packageName: Hot Reload | Edit Code Without Compiling
packageVersion: 1.13.17
assetPath: Packages/com.singularitygroup.hotreload/Editor/Localization/MenuItemsTranslations.cs
uploadId: 870414
@@ -1,9 +1,2 @@
fileFormatVersion: 2
guid: 839cc9c3fc3098d478a7450b4d23b907
AssetOrigin:
serializedVersion: 1
productId: 254358
packageName: Hot Reload | Edit Code Without Compiling
packageVersion: 1.13.17
assetPath: Packages/com.singularitygroup.hotreload/Editor/Localization/MiscellaneousTranslations.cs
uploadId: 870414
guid: 839cc9c3fc3098d478a7450b4d23b907
@@ -1,9 +1,2 @@
fileFormatVersion: 2
guid: 19a8c5bfa6576844d9789872adce14e1
AssetOrigin:
serializedVersion: 1
productId: 254358
packageName: Hot Reload | Edit Code Without Compiling
packageVersion: 1.13.17
assetPath: Packages/com.singularitygroup.hotreload/Editor/Localization/OnDeviceTranslations.cs
uploadId: 870414
guid: 19a8c5bfa6576844d9789872adce14e1
@@ -1,9 +1,2 @@
fileFormatVersion: 2
guid: da7def2f6c8576e4bbb04a79c3438b46
AssetOrigin:
serializedVersion: 1
productId: 254358
packageName: Hot Reload | Edit Code Without Compiling
packageVersion: 1.13.17
assetPath: Packages/com.singularitygroup.hotreload/Editor/Localization/RegistrationTranslations.cs
uploadId: 870414
guid: da7def2f6c8576e4bbb04a79c3438b46
@@ -1,9 +1,2 @@
fileFormatVersion: 2
guid: df46693e37527a74b8c24e95da9a4c47
AssetOrigin:
serializedVersion: 1
productId: 254358
packageName: Hot Reload | Edit Code Without Compiling
packageVersion: 1.13.17
assetPath: Packages/com.singularitygroup.hotreload/Editor/Localization/SettingsTranslations.cs
uploadId: 870414
guid: df46693e37527a74b8c24e95da9a4c47
@@ -1,9 +1,3 @@
fileFormatVersion: 2
guid: 3a2d7e9f8b1c4a5e9d6f8a7b9c1d2e3f
AssetOrigin:
serializedVersion: 1
productId: 254358
packageName: Hot Reload | Edit Code Without Compiling
packageVersion: 1.13.17
assetPath: Packages/com.singularitygroup.hotreload/Editor/Localization/SuggestionsTranslations.cs
uploadId: 870414
@@ -9,11 +9,12 @@ namespace SingularityGroup.HotReload.Editor.Localization {
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;
public static string IndicationTooltip;
public static string OpenToViewNewEventsTooltip;
// Partially Supported Change Descriptions
public static string PartiallySupportedLambdaClosure;
@@ -49,6 +50,14 @@ namespace SingularityGroup.HotReload.Editor.Localization {
public static string ManualDownloadButtonOpenDownloadUrl;
public static string ManualDownloadButtonComplete;
public static string EntryTimeNow;
public static string EntryTimeHours;
public static string EntryTimeMinutes;
public static string FullAssemblyRecompilation;
public static string ViewAll;
public static string ViewRecent;
public static void LoadEnglish() {
// Timeline/Events
TimelineTitle = "Timeline";
@@ -58,7 +67,8 @@ namespace SingularityGroup.HotReload.Editor.Localization {
MessageEnableFilters = "Enable filters to see events";
MessageMakeCodeChanges = "Make code changes to see events";
MessageOnly40EntriesShown = "Only last 40 entries are shown";
EventsTooltip = "Events";
IndicationTooltip = "View events timeline\nLast event: {0}";
OpenToViewNewEventsTooltip = "Open to see new events/suggestions";
LabelSuggestionsFormat = "Suggestions ({0})";
LabelTimeline = "Timeline";
ButtonIgnoreEventType = "Ignore this event type ";
@@ -97,6 +107,14 @@ namespace SingularityGroup.HotReload.Editor.Localization {
ManualDownloadButtonCopyToClipboard = "Copy path to clipboard";
ManualDownloadButtonOpenDownloadUrl = "Open Download URL";
ManualDownloadButtonComplete = "I've completed the download";
FullAssemblyRecompilation = "Full assembly recompilation";
ViewAll = "View All";
ViewRecent = "View Recent";
EntryTimeNow = "now";
EntryTimeHours = "h";
EntryTimeMinutes = "min";
}
public static void LoadSimplifiedChinese() {
@@ -108,7 +126,8 @@ namespace SingularityGroup.HotReload.Editor.Localization {
MessageEnableFilters = "启用过滤器以查看事件";
MessageMakeCodeChanges = "进行代码更改以查看事件";
MessageOnly40EntriesShown = "仅显示最后 40 个条目";
EventsTooltip = "事件";
IndicationTooltip = "查看事件时间线\n最后事件:{0}";
OpenToViewNewEventsTooltip = "打开以查看新事件/建议";
LabelSuggestionsFormat = "建议 ({0})";
LabelTimeline = "时间线";
ButtonIgnoreEventType = "忽略此事件类型 ";
@@ -147,6 +166,14 @@ namespace SingularityGroup.HotReload.Editor.Localization {
ManualDownloadButtonCopyToClipboard = "复制路径到剪贴板";
ManualDownloadButtonOpenDownloadUrl = "打开下载链接";
ManualDownloadButtonComplete = "我已完成下载";
FullAssemblyRecompilation = "完整程序集重新编译";
ViewAll = "查看全部";
ViewRecent = "查看最近";
EntryTimeNow = "刚刚";
EntryTimeHours = "小时";
EntryTimeMinutes = "分钟";
}
}
}
@@ -1,9 +1,2 @@
fileFormatVersion: 2
guid: f7d83a43b1da0f14c860b06211f42149
AssetOrigin:
serializedVersion: 1
productId: 254358
packageName: Hot Reload | Edit Code Without Compiling
packageVersion: 1.13.17
assetPath: Packages/com.singularitygroup.hotreload/Editor/Localization/TimelineTranslations.cs
uploadId: 870414
guid: f7d83a43b1da0f14c860b06211f42149
@@ -9,10 +9,3 @@ MonoImporter:
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 254358
packageName: Hot Reload | Edit Code Without Compiling
packageVersion: 1.13.17
assetPath: Packages/com.singularitygroup.hotreload/Editor/Localization/UITranslations.cs
uploadId: 870414
@@ -9,10 +9,3 @@ MonoImporter:
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 254358
packageName: Hot Reload | Edit Code Without Compiling
packageVersion: 1.13.17
assetPath: Packages/com.singularitygroup.hotreload/Editor/Localization/UtilityTranslations.cs
uploadId: 870414