<feat> 多语言支持

This commit is contained in:
2022-12-01 15:55:14 +08:00
parent 8ad313ff53
commit 7168901bef
19 changed files with 231 additions and 59 deletions

View File

@ -102,5 +102,9 @@ html-decode: {o.HtmlDecode}
PrintOutput(utf8);
PrintOutput(unicodeLittleEndian);
PrintOutput(unicodeBigEndian);
Console.Write(Strings.PressAnyKey);
Console.ReadKey();
}
}

View File

@ -3,6 +3,6 @@ namespace Dot.Text;
[Verb("text", HelpText = nameof(Strings.HelpForText), ResourceType = typeof(Strings))]
public class Option : IOption
{
[Value(0, HelpText = nameof(Strings.HelpForTextArg0), ResourceType = typeof(Strings))]
[Value(0, HelpText = nameof(Strings.TextTobeProcessed), ResourceType = typeof(Strings))]
public string Text { get; set; }
}