mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Crowdin localization support (#2310)
* Switching to use resource files * Update Crowdin configuration file * Code cleanup
This commit is contained in:
parent
a27491c1b6
commit
077e3a5e9f
193 changed files with 102089 additions and 3564 deletions
|
|
@ -6,7 +6,7 @@ namespace MinecraftClient.Commands
|
|||
{
|
||||
public override string CmdName { get { return "set"; } }
|
||||
public override string CmdUsage { get { return "set varname=value"; } }
|
||||
public override string CmdDesc { get { return "cmd.set.desc"; } }
|
||||
public override string CmdDesc { get { return Translations.cmd_set_desc; } }
|
||||
|
||||
public override string Run(McClient handler, string command, Dictionary<string, object>? localVars)
|
||||
{
|
||||
|
|
@ -18,7 +18,7 @@ namespace MinecraftClient.Commands
|
|||
if (Settings.Config.AppVar.SetVar(temp[0], GetArg(command).Substring(temp[0].Length + 1)))
|
||||
return ""; //Success
|
||||
else
|
||||
return Translations.Get("cmd.set.format");
|
||||
return Translations.cmd_set_format;
|
||||
}
|
||||
else
|
||||
return GetCmdDescTranslated();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue