Translate Codebase Comments and Log Messages to English

This commit is contained in:
copecone committed 2026-08-21 23:35:02 +09:00
1 parent 111f5cf792
commit 25c38707c3
23 files changed
+915 -921

No files matched your search

+5 -5
View File
@@ -31,7 +31,7 @@ internal class PositiveOnlyDoubleLimit : DoubleLimit
return true;
}
errorMessage = "값은 0보다 큰 양수여야 합니다.";
errorMessage = "Value must be a positive number greater than 0.";
return false;
}
}
@@ -60,16 +60,16 @@ internal class RangeDoubleLimit : DoubleLimit
if (value < Min)
{
errorMessage = Max.HasValue
? $"값은 {Min.Value}에서 {Max.Value} 사이의 숫자여야 합니다."
: $"값은 {Min.Value} 이상의 숫자여야 합니다.";
? $"Value must be a number between {Min.Value} and {Max.Value}."
: $"Value must be a number greater than or equal to {Min.Value}.";
return false;
}
if (value > Max)
{
errorMessage = Min.HasValue
? $"값은 {Min.Value}에서 {Max.Value} 사이의 숫자여야 합니다."
: $"값은 {Max.Value} 이하의 숫자여야 합니다.";
? $"Value must be a number between {Min.Value} and {Max.Value}."
: $"Value must be a number less than or equal to {Max.Value}.";
return false;
}
+1 -1
View File
@@ -53,7 +53,7 @@ internal class DoubleInputValidator
if (field == null)
{
Melon<RenderMod>.Logger.Warning(
$"DoubleField '{fieldName}'을(를) 찾을 수 없습니다. 유효성 검사를 건너뜁니다.");
$"DoubleField '{fieldName}' not found. Skipping validation.");
continue;
}
+1 -1
View File
@@ -41,7 +41,7 @@ internal class EnumDropdownBinder<T> where T : struct, Enum
if (_dropdown == null)
{
Melon<RenderMod>.Logger.Error(
$"DropdownField '{fieldName}'을(를) 찾을 수 없습니다.");
$"DropdownField '{fieldName}' not found.");
return;
}
+1 -1
View File
@@ -53,7 +53,7 @@ internal class IntegerInputValidator
if (field == null)
{
Melon<RenderMod>.Logger.Warning(
$"IntegerField '{fieldName}'을(를) 찾을 수 없습니다. 유효성 검사를 건너뜁니다.");
$"IntegerField '{fieldName}' not found. Skipping validation.");
continue;
}
+5 -5
View File
@@ -31,7 +31,7 @@ internal class PositiveOnlyIntegerLimit : IntegerLimit
return true;
}
errorMessage = "값은 0보다 큰 양의 정수여야 합니다.";
errorMessage = "Value must be a positive integer greater than 0.";
return false;
}
}
@@ -60,16 +60,16 @@ internal class RangeIntegerLimit : IntegerLimit
if (value < Min)
{
errorMessage = Max.HasValue
? $"값은 {Min.Value}에서 {Max.Value} 사이의 정수여야 합니다."
: $"값은 {Min.Value} 이상의 정수여야 합니다.";
? $"Value must be an integer between {Min.Value} and {Max.Value}."
: $"Value must be an integer greater than or equal to {Min.Value}.";
return false;
}
if (value > Max)
{
errorMessage = Min.HasValue
? $"값은 {Min.Value}에서 {Max.Value} 사이의 정수여야 합니다."
: $"값은 {Max.Value} 이하의 정수여야 합니다.";
? $"Value must be an integer between {Min.Value} and {Max.Value}."
: $"Value must be an integer less than or equal to {Max.Value}.";
return false;
}
+3 -3
View File
@@ -31,7 +31,7 @@ internal static class PresetManager
{
if (string.IsNullOrWhiteSpace(name))
{
throw new ArgumentException("프리셋 이름은 비어 있을 수 없습니다.");
throw new ArgumentException("Preset name cannot be empty.");
}
string dir = GetPresetsDirectory();
@@ -154,13 +154,13 @@ internal static class PresetManager
}
catch (Exception ex)
{
MelonLogger.Warning($"프리셋 파일 '{Path.GetFileName(file)}' 로드 중 오류 발생: {ex.Message}");
MelonLogger.Warning($"Error loading preset file '{Path.GetFileName(file)}': {ex.Message}");
}
}
}
catch (Exception ex)
{
MelonLogger.Error($"프리셋 목록을 불러오는 중 오류 발생: {ex.Message}");
MelonLogger.Error($"Error retrieving preset list: {ex.Message}");
}
return presets;