[O] Locale

This commit is contained in:
Clansty
2024-11-27 03:35:01 +08:00
parent 2646f642b5
commit 054352356b
5 changed files with 76 additions and 15 deletions

View File

@@ -28,7 +28,7 @@ namespace AquaMai.Core.Resources {
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
public Locale() {
internal Locale() {
}
/// <summary>
@@ -161,7 +161,7 @@ namespace AquaMai.Core.Resources {
}
/// <summary>
/// Looks up a localized string similar to 游玩次数{0}.
/// Looks up a localized string similar to Play Count{0}.
/// </summary>
public static string PlayCount {
get {
@@ -169,6 +169,15 @@ namespace AquaMai.Core.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Playlog save error.
/// </summary>
public static string PlaylogSaveError {
get {
return ResourceManager.GetString("PlaylogSaveError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to SSS+ =&gt; DXRating += {0}.
/// </summary>
@@ -259,6 +268,24 @@ namespace AquaMai.Core.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Hide Self-Made Charts.
/// </summary>
public static string SelfMadeChartsHide {
get {
return ResourceManager.GetString("SelfMadeChartsHide", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Show Self-Made Charts.
/// </summary>
public static string SelfMadeChartsShow {
get {
return ResourceManager.GetString("SelfMadeChartsShow", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Skip.
/// </summary>
@@ -312,5 +339,14 @@ namespace AquaMai.Core.Resources {
return ResourceManager.GetString("SpeedUp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to UserAll Upsert Error.
/// </summary>
public static string UserAllUpsertError {
get {
return ResourceManager.GetString("UserAllUpsertError", resourceCulture);
}
}
}
}

View File

@@ -102,6 +102,18 @@
<value>You are using AquaMai CI build version. This version is built from the latest mainline code and may contain undocumented configuration changes or potential issues.</value>
</data>
<data name="PlayCount" xml:space="preserve">
<value>游玩次数{0}</value>
<value>Play Count{0}</value>
</data>
<data name="SelfMadeChartsHide" xml:space="preserve">
<value>Hide Self-Made Charts</value>
</data>
<data name="SelfMadeChartsShow" xml:space="preserve">
<value>Show Self-Made Charts</value>
</data>
<data name="UserAllUpsertError" xml:space="preserve">
<value>UserAll Upsert Error</value>
</data>
<data name="PlaylogSaveError" xml:space="preserve">
<value>Playlog save error</value>
</data>
</root>

View File

@@ -95,6 +95,18 @@
<value>您正在使用的是 AquaMai CI 构建版本。由于该版本基于最新的主线代码构建,可能包含未通知的配置文件变更或潜在问题。</value>
</data>
<data name="PlayCount" xml:space="preserve">
<value>Play Count: {0}</value>
<value>游玩次数: {0}</value>
</data>
<data name="SelfMadeChartsHide" xml:space="preserve">
<value>已隐藏所有自制谱</value>
</data>
<data name="SelfMadeChartsShow" xml:space="preserve">
<value>已显示自制谱</value>
</data>
<data name="UserAllUpsertError" xml:space="preserve">
<value>保存 UserAll 失败</value>
</data>
<data name="PlaylogSaveError" xml:space="preserve">
<value>保存 Playlog 失败</value>
</data>
</root>