diff --git a/src/Lang/Strings.Designer.cs b/src/Lang/Strings.Designer.cs new file mode 100644 index 0000000..b053a6d --- /dev/null +++ b/src/Lang/Strings.Designer.cs @@ -0,0 +1,251 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Dot.Lang { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Strings { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Strings() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [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("Dot.Lang.Strings", typeof(Strings).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to 转换换行符为LF. + /// + public static string ConvertEndOfLineToLF { + get { + return ResourceManager.GetString("ConvertEndOfLineToLF", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0}(已复制到剪贴板). + /// + public static string Copied { + get { + return ResourceManager.GetString("Copied", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 文件通配符. + /// + public static string FileSearchPattern { + get { + return ResourceManager.GetString("FileSearchPattern", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 要处理的目录路径. + /// + public static string FolderPath { + get { + return ResourceManager.GetString("FolderPath", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to GUID工具. + /// + public static string GuidTool { + get { + return ResourceManager.GetString("GuidTool", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 文本编码工具. + /// + public static string HelpForText { + get { + return ResourceManager.GetString("HelpForText", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 输入文本为空. + /// + public static string InputTextIsEmpty { + get { + return ResourceManager.GetString("InputTextIsEmpty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 没有需要处理的文件. + /// + public static string NoFileToBeProcessed { + get { + return ResourceManager.GetString("NoFileToBeProcessed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 指定的路径“{0}”不存在. + /// + public static string PathNotFound { + get { + return ResourceManager.GetString("PathNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 按下任意键继续.... + /// + public static string PressAnyKey { + get { + return ResourceManager.GetString("PressAnyKey", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to BitSet 1:[0-9],2:[a-z],4:[A-Z],8:[ascii.0x21-0x2F]. + /// + public static string PwdGenerateTypes { + get { + return ResourceManager.GetString("PwdGenerateTypes", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 密码长度. + /// + public static string PwdLength { + get { + return ResourceManager.GetString("PwdLength", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 随机密码生成器. + /// + public static string RandomPasswordGenerator { + get { + return ResourceManager.GetString("RandomPasswordGenerator", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 只读模式(仅做测试,不实际修改). + /// + public static string ReadOnly { + get { + return ResourceManager.GetString("ReadOnly", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 移除文件尾部换行和空格. + /// + public static string RemoveTrailingWhiteSpaces { + get { + return ResourceManager.GetString("RemoveTrailingWhiteSpaces", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 查找文件.... + /// + public static string SearchingFile { + get { + return ResourceManager.GetString("SearchingFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} 个文件. + /// + public static string SearchingFileOK { + get { + return ResourceManager.GetString("SearchingFileOK", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 已读取:{0}/{1},处理:{2},跳过:{3}. + /// + public static string ShowMessageTemp { + get { + return ResourceManager.GetString("ShowMessageTemp", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 要处理的文本(默认取取剪贴板值). + /// + public static string TextTobeProcessed { + get { + return ResourceManager.GetString("TextTobeProcessed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 移除文件的uf8 bom. + /// + public static string TrimUtf8Bom { + get { + return ResourceManager.GetString("TrimUtf8Bom", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 使用大写输出. + /// + public static string UseUppercase { + get { + return ResourceManager.GetString("UseUppercase", resourceCulture); + } + } + } +} \ No newline at end of file diff --git a/src/Lang/Strings.en-US.resx b/src/Lang/Strings.en-US.resx new file mode 100644 index 0000000..d9d42b0 --- /dev/null +++ b/src/Lang/Strings.en-US.resx @@ -0,0 +1,86 @@ + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089 + + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089 + + + + The input text is empty + + + Find files... + + + The specified path "{0}" does not exist + + + Find files...OK + + + Read: {0}/{1}, processed: {2}, skipped: {3} + + + Text encoding tool + + + {0}(copied to clipboard) + + + File wildcards + + + Directory path to be processed + + + Convert newline characters to LF + + + GUID tool + + + Use uppercase output + + + Random password generator + + + Password length + + + BitSet 1:[0-9],2:[a-z],4:[A-Z],8:[ascii.0x21-0x2F] + + + Remove line breaks and spaces at the end of the file + + + Remove the uf8 bom of the file + + + Text to be processed (clipboard value is taken by default) + + + Press any key to continue... + + + Read-only mode (only for testing, no actual modification) + + + No documents to be processed + + \ No newline at end of file diff --git a/src/Lang/Strings.resx b/src/Lang/Strings.resx new file mode 100644 index 0000000..49467fb --- /dev/null +++ b/src/Lang/Strings.resx @@ -0,0 +1,94 @@ + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089 + + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089 + + + + 输入文本为空 + + + 查找文件... + + + 指定的路径“{0}”不存在 + + + {0} 个文件 + + + 已读取:{0}/{1},处理:{2},跳过:{3} + + + 文本编码工具 + + + 要处理的文本(默认取取剪贴板值) + + + {0}(已复制到剪贴板) + + + 文件通配符 + + + 要处理的目录路径 + + + 转换换行符为LF + + + GUID工具 + + + 使用大写输出 + + + 随机密码生成器 + + + + 密码长度 + + + + + BitSet 1:[0-9],2:[a-z],4:[A-Z],8:[ascii.0x21-0x2F] + + + + 移除文件尾部换行和空格 + + + 移除文件的uf8 bom + + + 按下任意键继续... + + + 只读模式(仅做测试,不实际修改) + + + 没有需要处理的文件 + + \ No newline at end of file