mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
* Basic support of language file Only mapped main part of MCC. * Translations function imporve * Change translation file naming * Fix default translation file naming * Complete translation file mapping for main part Command and ChatBot not done yet * Complete translation mapping for commands Except Entitycmd * Complete translation mapping for ChatBots * Add new method for replacing translation key Just for Entitycmd. Be proud of yourself. We have a convenient method now. * Complete all translation mapping * Add default config and translation file to resource * Remove untranslatable messages from default translation file
111 lines
4.8 KiB
C#
111 lines
4.8 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 這段程式碼是由工具產生的。
|
|
// 執行階段版本:4.0.30319.42000
|
|
//
|
|
// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
|
|
// 變更將會遺失。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace MinecraftClient {
|
|
using System;
|
|
|
|
|
|
/// <summary>
|
|
/// 用於查詢當地語系化字串等的強類型資源類別。
|
|
/// </summary>
|
|
// 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder
|
|
// 類別透過 ResGen 或 Visual Studio 這類工具。
|
|
// 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen
|
|
// (利用 /str 選項),或重建您的 VS 專案。
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
public class DefaultConfigResource {
|
|
|
|
private static global::System.Resources.ResourceManager resourceMan;
|
|
|
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
|
|
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
|
internal DefaultConfigResource() {
|
|
}
|
|
|
|
/// <summary>
|
|
/// 傳回這個類別使用的快取的 ResourceManager 執行個體。
|
|
/// </summary>
|
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
public static global::System.Resources.ResourceManager ResourceManager {
|
|
get {
|
|
if (object.ReferenceEquals(resourceMan, null)) {
|
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MinecraftClient.DefaultConfigResource", typeof(DefaultConfigResource).Assembly);
|
|
resourceMan = temp;
|
|
}
|
|
return resourceMan;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有
|
|
/// 使用這個強類型資源類別的資源查閱。
|
|
/// </summary>
|
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
public static global::System.Globalization.CultureInfo Culture {
|
|
get {
|
|
return resourceCulture;
|
|
}
|
|
set {
|
|
resourceCulture = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 查詢類似 # Minecraft Console Client v1.16.3
|
|
///# Startup Config File
|
|
///
|
|
///[Main]
|
|
///
|
|
///# General settings
|
|
///# Leave blank to prompt user on startup
|
|
///# Use "-" as password for offline mode
|
|
///
|
|
///login=
|
|
///password=
|
|
///serverip=
|
|
///
|
|
///# Advanced settings
|
|
///
|
|
///language=en_GB
|
|
///consoletitle=%username%@%serverip% - Minecraft Console Client
|
|
///internalcmdchar=slash # Use 'none', 'slash' or 'backslash'
|
|
///splitmessagedelay=2 # Seconds between each part of a long message
|
|
///botowners=Player1,Player2,Player3 # Name list or [字串的其餘部分已遭截斷]"; 的當地語系化字串。
|
|
/// </summary>
|
|
public static string MinecraftClient {
|
|
get {
|
|
return ResourceManager.GetString("MinecraftClient", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 查詢類似 [mcc]
|
|
///# Messages from MCC itself
|
|
///mcc.description=Console Client for MC {0} to {1} - v{2} - By ORelio & Contributors
|
|
///mcc.keyboard_debug=Keyboard debug mode: Press any key to display info
|
|
///mcc.setting=Loading Settings from {0}
|
|
///mcc.login=Login :
|
|
///mcc.login_basic_io=Please type the username or email of your choice.
|
|
///mcc.password=Password :
|
|
///mcc.password_basic_io=Please type the password for {0}.
|
|
///mcc.password_hidden=Password : {0}
|
|
///mcc.offline=§8You chose to run in offline mode.
|
|
///mcc.session_invalid=§8Cach [字串的其餘部分已遭截斷]"; 的當地語系化字串。
|
|
/// </summary>
|
|
public static string TranslationEnglish {
|
|
get {
|
|
return ResourceManager.GetString("TranslationEnglish", resourceCulture);
|
|
}
|
|
}
|
|
}
|
|
}
|