From cff8116aa099c3e828cb1c42189700fb6c2a7996 Mon Sep 17 00:00:00 2001 From: Jeffiy Date: Mon, 4 Jul 2016 17:19:58 +0800 Subject: [PATCH 1/2] add English resource file --- Resources-ru-RU.Designer.cs | 630 ++++++++++++++++++++++++++++++++++++ Resources-ru-RU.resx | 309 ++++++++++++++++++ Resources.Designer.cs | 150 ++++----- Resources.resx | 126 ++++---- xNet.csproj | 15 +- 5 files changed, 1086 insertions(+), 144 deletions(-) create mode 100644 Resources-ru-RU.Designer.cs create mode 100644 Resources-ru-RU.resx diff --git a/Resources-ru-RU.Designer.cs b/Resources-ru-RU.Designer.cs new file mode 100644 index 0000000..0a2c811 --- /dev/null +++ b/Resources-ru-RU.Designer.cs @@ -0,0 +1,630 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace xNet { + 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()] + internal class Resources_ru_RU { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources_ru_RU() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("xNet.Resources-ru-RU", typeof(Resources_ru_RU).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)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Поток не поддерживает чтение или перемещение позиции.. + /// + internal static string ArgumentException_CanNotReadOrSeek { + get { + return ResourceManager.GetString("ArgumentException_CanNotReadOrSeek", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Значение параметра не может быть строкой нулевой длины.. + /// + internal static string ArgumentException_EmptyString { + get { + return ResourceManager.GetString("ArgumentException_EmptyString", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Значение заголовка '{0}' можно задать только с помощью специального свойства.. + /// + internal static string ArgumentException_HttpRequest_SetNotAvailableHeader { + get { + return ResourceManager.GetString("ArgumentException_HttpRequest_SetNotAvailableHeader", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Начальный индекс диапазона не может быть больше конечного индекса.. + /// + internal static string ArgumentException_MultiThreading_BegIndexRangeMoreEndIndex { + get { + return ResourceManager.GetString("ArgumentException_MultiThreading_BegIndexRangeMoreEndIndex", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Допустимо использовать только абсолютный URI.. + /// + internal static string ArgumentException_OnlyAbsoluteUri { + get { + return ResourceManager.GetString("ArgumentException_OnlyAbsoluteUri", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Путь является пустой строкой, содержит только пробелы или содержит недопустимые символы.. + /// + internal static string ArgumentException_WrongPath { + get { + return ResourceManager.GetString("ArgumentException_WrongPath", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Значение параметра не может быть больше {0}.. + /// + internal static string ArgumentOutOfRangeException_CanNotBeGreater { + get { + return ResourceManager.GetString("ArgumentOutOfRangeException_CanNotBeGreater", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Значение параметра не может быть меньше {0}.. + /// + internal static string ArgumentOutOfRangeException_CanNotBeLess { + get { + return ResourceManager.GetString("ArgumentOutOfRangeException_CanNotBeLess", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Значение параметра не может быть меньше {0} или больше {1}.. + /// + internal static string ArgumentOutOfRangeException_CanNotBeLessOrGreater { + get { + return ResourceManager.GetString("ArgumentOutOfRangeException_CanNotBeLessOrGreater", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Начальная позиция не может быть больше длины строки.. + /// + internal static string ArgumentOutOfRangeException_StringHelper_MoreLengthString { + get { + return ResourceManager.GetString("ArgumentOutOfRangeException_StringHelper_MoreLengthString", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Длина строки не должна быть больше {0} символов.. + /// + internal static string ArgumentOutOfRangeException_StringLengthCanNotBeMore { + get { + return ResourceManager.GetString("ArgumentOutOfRangeException_StringLengthCanNotBeMore", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Путь указывает на несуществующую директорию {0}.. + /// + internal static string DirectoryNotFoundException_DirectoryNotFound { + get { + return ResourceManager.GetString("DirectoryNotFoundException_DirectoryNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Неверно задан порт.. + /// + internal static string FormatException_ProxyClient_WrongPort { + get { + return ResourceManager.GetString("FormatException_ProxyClient_WrongPort", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ошибка на стороне клиента. Код состояния: {0}. + /// + internal static string HttpException_ClientError { + get { + return ResourceManager.GetString("HttpException_ClientError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Вышло время ожидания подключения к HTTP-серверу '{0}'.. + /// + internal static string HttpException_ConnectTimeout { + get { + return ResourceManager.GetString("HttpException_ConnectTimeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Произошла ошибка при работе с HTTP-протоколом.. + /// + internal static string HttpException_Default { + get { + return ResourceManager.GetString("HttpException_Default", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Не удалось соединиться с HTTP-сервером '{0}'.. + /// + internal static string HttpException_FailedConnect { + get { + return ResourceManager.GetString("HttpException_FailedConnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Не удалось получить IP-адреса узла '{0}'.. + /// + internal static string HttpException_FailedGetHostAddresses { + get { + return ResourceManager.GetString("HttpException_FailedGetHostAddresses", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Не удалось загрузить тело сообщения ответа от HTTP-сервера '{0}'.. + /// + internal static string HttpException_FailedReceiveMessageBody { + get { + return ResourceManager.GetString("HttpException_FailedReceiveMessageBody", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Не удалось загрузить ответ от HTTP-сервера '{0}'.. + /// + internal static string HttpException_FailedReceiveResponse { + get { + return ResourceManager.GetString("HttpException_FailedReceiveResponse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Не удалось отправить запрос HTTP-серверу '{0}'.. + /// + internal static string HttpException_FailedSendRequest { + get { + return ResourceManager.GetString("HttpException_FailedSendRequest", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Не удалось установить SSL-соединение с HTTP-сервером '{0}'.. + /// + internal static string HttpException_FailedSslConnect { + get { + return ResourceManager.GetString("HttpException_FailedSslConnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Превышено допустимое количество последовательных переадресаций.. + /// + internal static string HttpException_LimitRedirections { + get { + return ResourceManager.GetString("HttpException_LimitRedirections", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Получен пустой ответ от HTTP-сервера '{0}'.. + /// + internal static string HttpException_ReceivedEmptyResponse { + get { + return ResourceManager.GetString("HttpException_ReceivedEmptyResponse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Получен ошибочный ответ от HTTP-сервера '{0}'.. + /// + internal static string HttpException_ReceivedWrongResponse { + get { + return ResourceManager.GetString("HttpException_ReceivedWrongResponse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ошибка на стороне сервера. Код состояния: {0}. + /// + internal static string HttpException_SeverError { + get { + return ResourceManager.GetString("HttpException_SeverError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Вышло время ожидания данных от HTTP-сервера '{0}'.. + /// + internal static string HttpException_WaitDataTimeout { + get { + return ResourceManager.GetString("HttpException_WaitDataTimeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Получен неверный размер блока данных при использовании Chunked: {0}. + /// + internal static string HttpException_WrongChunkedBlockLength { + get { + return ResourceManager.GetString("HttpException_WrongChunkedBlockLength", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Получен неверный кукис '{0}' от HTTP-сервера '{1}'.. + /// + internal static string HttpException_WrongCookie { + get { + return ResourceManager.GetString("HttpException_WrongCookie", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Получен неверный заголовок '{0}' от HTTP-сервера '{1}'.. + /// + internal static string HttpException_WrongHeader { + get { + return ResourceManager.GetString("HttpException_WrongHeader", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Не задано ни одного прокси-сервера для цепочки.. + /// + internal static string InvalidOperationException_ChainProxyClient_NotProxies { + get { + return ResourceManager.GetString("InvalidOperationException_ChainProxyClient_NotProxies", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Невозможно выполнить метод, так как при получении ответа произошла ошибка.. + /// + internal static string InvalidOperationException_HttpResponse_HasError { + get { + return ResourceManager.GetString("InvalidOperationException_HttpResponse_HasError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Получен неподдерживаемый формат кодирования: {0}. + /// + internal static string InvalidOperationException_NotSupportedEncodingFormat { + get { + return ResourceManager.GetString("InvalidOperationException_NotSupportedEncodingFormat", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Хост не может быть неопределённым или иметь нулевую длину.. + /// + internal static string InvalidOperationException_ProxyClient_WrongHost { + get { + return ResourceManager.GetString("InvalidOperationException_ProxyClient_WrongHost", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Длина пароля не может быть больше 255 символов.. + /// + internal static string InvalidOperationException_ProxyClient_WrongPassword { + get { + return ResourceManager.GetString("InvalidOperationException_ProxyClient_WrongPassword", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Порт не может быть меньше 1 или больше 65535.. + /// + internal static string InvalidOperationException_ProxyClient_WrongPort { + get { + return ResourceManager.GetString("InvalidOperationException_ProxyClient_WrongPort", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Длина имени пользователя не может быть больше 255 символов.. + /// + internal static string InvalidOperationException_ProxyClient_WrongUsername { + get { + return ResourceManager.GetString("InvalidOperationException_ProxyClient_WrongUsername", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Произошла ошибка при работе с сетью.. + /// + internal static string NetException_Default { + get { + return ResourceManager.GetString("NetException_Default", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} Прокси-сервер '{1}'.. + /// + internal static string ProxyException_CommandError { + get { + return ResourceManager.GetString("ProxyException_CommandError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Вышло время ожидания подключения к прокси-серверу '{0}'.. + /// + internal static string ProxyException_ConnectTimeout { + get { + return ResourceManager.GetString("ProxyException_ConnectTimeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Произошла ошибка при работе с прокси.. + /// + internal static string ProxyException_Default { + get { + return ResourceManager.GetString("ProxyException_Default", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Произошла ошибка при работе с прокси-сервером '{0}'.. + /// + internal static string ProxyException_Error { + get { + return ResourceManager.GetString("ProxyException_Error", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Не удалось соединиться с прокси-сервером '{0}'.. + /// + internal static string ProxyException_FailedConnect { + get { + return ResourceManager.GetString("ProxyException_FailedConnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Не удалось получить IP-адреса узла '{0}'.. + /// + internal static string ProxyException_FailedGetHostAddresses { + get { + return ResourceManager.GetString("ProxyException_FailedGetHostAddresses", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Хост '{0}' типа '{1}' не поддерживает используемый тип адресса. Поддерживаются следующие типы: InterNetwork и InterNetworkV6. Прокси-сервер '{2}'.. + /// + internal static string ProxyException_NotSupportedAddressType { + get { + return ResourceManager.GetString("ProxyException_NotSupportedAddressType", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Получен пустой ответ от прокси-сервера '{0}'.. + /// + internal static string ProxyException_ReceivedEmptyResponse { + get { + return ResourceManager.GetString("ProxyException_ReceivedEmptyResponse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Получен ошибочный ответ от прокси-сервера '{0}'.. + /// + internal static string ProxyException_ReceivedWrongResponse { + get { + return ResourceManager.GetString("ProxyException_ReceivedWrongResponse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Получен неверный код статуса '{0}' от прокси-сервера '{1}'.. + /// + internal static string ProxyException_ReceivedWrongStatusCode { + get { + return ResourceManager.GetString("ProxyException_ReceivedWrongStatusCode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Не удалось выполнить аутентификацию на прокси-сервере '{0}'.. + /// + internal static string ProxyException_Socks5_FailedAuthOn { + get { + return ResourceManager.GetString("ProxyException_Socks5_FailedAuthOn", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Вышло время ожидания данных от прокси-сервера '{0}'.. + /// + internal static string ProxyException_WaitDataTimeout { + get { + return ResourceManager.GetString("ProxyException_WaitDataTimeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Неизвестная ошибка.. + /// + internal static string Socks_UnknownError { + get { + return ResourceManager.GetString("Socks_UnknownError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Запрос не удался, потому-что не запущен identd (или не доступен с сервера).. + /// + internal static string Socks4_CommandReplyRequestRejectedCannotConnectToIdentd { + get { + return ResourceManager.GetString("Socks4_CommandReplyRequestRejectedCannotConnectToIdentd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Запрос не удался, поскольку клиентский identd не может подтвердить идентификатор пользователя в запросе.. + /// + internal static string Socks4_CommandReplyRequestRejectedDifferentIdentd { + get { + return ResourceManager.GetString("Socks4_CommandReplyRequestRejectedDifferentIdentd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Запрос отклонён или ошибочен.. + /// + internal static string Socks4_CommandReplyRequestRejectedOrFailed { + get { + return ResourceManager.GetString("Socks4_CommandReplyRequestRejectedOrFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Предложенные методы аутентификации не поддерживаются.. + /// + internal static string Socks5_AuthMethodReplyNoAcceptableMethods { + get { + return ResourceManager.GetString("Socks5_AuthMethodReplyNoAcceptableMethods", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Тип адреса не поддерживается.. + /// + internal static string Socks5_CommandReplyAddressTypeNotSupported { + get { + return ResourceManager.GetString("Socks5_CommandReplyAddressTypeNotSupported", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Команда не поддерживается, либо ошибка протокола.. + /// + internal static string Socks5_CommandReplyCommandNotSupported { + get { + return ResourceManager.GetString("Socks5_CommandReplyCommandNotSupported", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Соединение запрещено набором правил.. + /// + internal static string Socks5_CommandReplyConnectionNotAllowedByRuleset { + get { + return ResourceManager.GetString("Socks5_CommandReplyConnectionNotAllowedByRuleset", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Отказ в соединении.. + /// + internal static string Socks5_CommandReplyConnectionRefused { + get { + return ResourceManager.GetString("Socks5_CommandReplyConnectionRefused", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ошибка SOCKS-сервера.. + /// + internal static string Socks5_CommandReplyGeneralSocksServerFailure { + get { + return ResourceManager.GetString("Socks5_CommandReplyGeneralSocksServerFailure", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Хост недоступен.. + /// + internal static string Socks5_CommandReplyHostUnreachable { + get { + return ResourceManager.GetString("Socks5_CommandReplyHostUnreachable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Сеть недоступна.. + /// + internal static string Socks5_CommandReplyNetworkUnreachable { + get { + return ResourceManager.GetString("Socks5_CommandReplyNetworkUnreachable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Истёк TTL.. + /// + internal static string Socks5_CommandReplyTTLExpired { + get { + return ResourceManager.GetString("Socks5_CommandReplyTTLExpired", resourceCulture); + } + } + } +} diff --git a/Resources-ru-RU.resx b/Resources-ru-RU.resx new file mode 100644 index 0000000..d9711c4 --- /dev/null +++ b/Resources-ru-RU.resx @@ -0,0 +1,309 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Значение заголовка '{0}' можно задать только с помощью специального свойства. + + + Начальный индекс диапазона не может быть больше конечного индекса. + + + Допустимо использовать только абсолютный URI. + + + Значение параметра не может быть меньше {0}. + + + Значение параметра не может быть меньше {0} или больше {1}. + + + Длина строки не должна быть больше {0} символов. + + + Неверно задан порт. + + + Ошибка на стороне клиента. Код состояния: {0} + + + Вышло время ожидания подключения к HTTP-серверу '{0}'. + + + Не удалось соединиться с HTTP-сервером '{0}'. + + + Не удалось получить IP-адреса узла '{0}'. + + + Не удалось загрузить тело сообщения ответа от HTTP-сервера '{0}'. + + + Не удалось загрузить ответ от HTTP-сервера '{0}'. + + + Не удалось отправить запрос HTTP-серверу '{0}'. + + + Не удалось установить SSL-соединение с HTTP-сервером '{0}'. + + + Вышло время ожидания данных от HTTP-сервера '{0}'. + + + Получен пустой ответ от HTTP-сервера '{0}'. + + + Ошибка на стороне сервера. Код состояния: {0} + + + Получен неверный кукис '{0}' от HTTP-сервера '{1}'. + + + Получен неверный заголовок '{0}' от HTTP-сервера '{1}'. + + + Невозможно выполнить метод, так как при получении ответа произошла ошибка. + + + Получен неподдерживаемый формат кодирования: {0} + + + Хост не может быть неопределённым или иметь нулевую длину. + + + Длина пароля не может быть больше 255 символов. + + + Порт не может быть меньше 1 или больше 65535. + + + Длина имени пользователя не может быть больше 255 символов. + + + {0} Прокси-сервер '{1}'. + + + Вышло время ожидания подключения к прокси-серверу '{0}'. + + + Произошла ошибка при работе с прокси-сервером '{0}'. + + + Не удалось соединиться с прокси-сервером '{0}'. + + + Не удалось получить IP-адреса узла '{0}'. + + + Хост '{0}' типа '{1}' не поддерживает используемый тип адресса. Поддерживаются следующие типы: InterNetwork и InterNetworkV6. Прокси-сервер '{2}'. + + + Получен пустой ответ от прокси-сервера '{0}'. + + + Получен ошибочный ответ от прокси-сервера '{0}'. + + + Получен неверный код статуса '{0}' от прокси-сервера '{1}'. + + + Не удалось выполнить аутентификацию на прокси-сервере '{0}'. + + + Запрос не удался, потому-что не запущен identd (или не доступен с сервера). + + + Запрос не удался, поскольку клиентский identd не может подтвердить идентификатор пользователя в запросе. + + + Запрос отклонён или ошибочен. + + + Предложенные методы аутентификации не поддерживаются. + + + Тип адреса не поддерживается. + + + Команда не поддерживается, либо ошибка протокола. + + + Соединение запрещено набором правил. + + + Отказ в соединении. + + + Ошибка SOCKS-сервера. + + + Хост недоступен. + + + Сеть недоступна. + + + Истёк TTL. + + + Неизвестная ошибка. + + + Значение параметра не может быть строкой нулевой длины. + + + Начальная позиция не может быть больше длины строки. + + + Путь указывает на несуществующую директорию {0}. + + + Произошла ошибка при работе с HTTP-протоколом. + + + Произошла ошибка при работе с сетью. + + + Произошла ошибка при работе с прокси. + + + Получен ошибочный ответ от HTTP-сервера '{0}'. + + + Вышло время ожидания данных от прокси-сервера '{0}'. + + + Превышено допустимое количество последовательных переадресаций. + + + Получен неверный размер блока данных при использовании Chunked: {0} + + + Не задано ни одного прокси-сервера для цепочки. + + + Значение параметра не может быть больше {0}. + + + Поток не поддерживает чтение или перемещение позиции. + + + Путь является пустой строкой, содержит только пробелы или содержит недопустимые символы. + + \ No newline at end of file diff --git a/Resources.Designer.cs b/Resources.Designer.cs index 3af1561..b478e2a 100644 --- a/Resources.Designer.cs +++ b/Resources.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// Этот код создан программой. -// Исполняемая версия:4.0.30319.36119 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае -// повторной генерации кода. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ @@ -13,12 +13,12 @@ namespace xNet { /// - /// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д. + /// A strongly-typed resource class, for looking up localized strings, etc. /// - // Этот класс создан автоматически классом StronglyTypedResourceBuilder - // с помощью такого средства, как ResGen или Visual Studio. - // Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen - // с параметром /str или перестройте свой проект VS. + // 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()] @@ -33,7 +33,7 @@ internal Resources() { } /// - /// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом. + /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { @@ -47,8 +47,8 @@ internal Resources() { } /// - /// Перезаписывает свойство CurrentUICulture текущего потока для всех - /// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией. + /// 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)] internal static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,7 @@ internal Resources() { } /// - /// Ищет локализованную строку, похожую на Поток не поддерживает чтение или перемещение позиции.. + /// Looks up a localized string similar to The stream does not support reading or move positions.. /// internal static string ArgumentException_CanNotReadOrSeek { get { @@ -70,7 +70,7 @@ internal static string ArgumentException_CanNotReadOrSeek { } /// - /// Ищет локализованную строку, похожую на Значение параметра не может быть строкой нулевой длины.. + /// Looks up a localized string similar to The value can not be empty.. /// internal static string ArgumentException_EmptyString { get { @@ -79,7 +79,7 @@ internal static string ArgumentException_EmptyString { } /// - /// Ищет локализованную строку, похожую на Значение заголовка '{0}' можно задать только с помощью специального свойства.. + /// Looks up a localized string similar to The value of the header '{0}' can only be set with the help of special properties.. /// internal static string ArgumentException_HttpRequest_SetNotAvailableHeader { get { @@ -88,7 +88,7 @@ internal static string ArgumentException_HttpRequest_SetNotAvailableHeader { } /// - /// Ищет локализованную строку, похожую на Начальный индекс диапазона не может быть больше конечного индекса.. + /// Looks up a localized string similar to The initial range of the index can not be greater than the end index.. /// internal static string ArgumentException_MultiThreading_BegIndexRangeMoreEndIndex { get { @@ -97,7 +97,7 @@ internal static string ArgumentException_MultiThreading_BegIndexRangeMoreEndInde } /// - /// Ищет локализованную строку, похожую на Допустимо использовать только абсолютный URI.. + /// Looks up a localized string similar to Only the absolute URI acceptably.. /// internal static string ArgumentException_OnlyAbsoluteUri { get { @@ -106,7 +106,7 @@ internal static string ArgumentException_OnlyAbsoluteUri { } /// - /// Ищет локализованную строку, похожую на Путь является пустой строкой, содержит только пробелы или содержит недопустимые символы.. + /// Looks up a localized string similar to The path is an empty string, contains only white space, or contains invalid characters.. /// internal static string ArgumentException_WrongPath { get { @@ -115,7 +115,7 @@ internal static string ArgumentException_WrongPath { } /// - /// Ищет локализованную строку, похожую на Значение параметра не может быть больше {0}.. + /// Looks up a localized string similar to The value can not be more than {0}.. /// internal static string ArgumentOutOfRangeException_CanNotBeGreater { get { @@ -124,7 +124,7 @@ internal static string ArgumentOutOfRangeException_CanNotBeGreater { } /// - /// Ищет локализованную строку, похожую на Значение параметра не может быть меньше {0}.. + /// Looks up a localized string similar to The value can not be less than {0}.. /// internal static string ArgumentOutOfRangeException_CanNotBeLess { get { @@ -133,7 +133,7 @@ internal static string ArgumentOutOfRangeException_CanNotBeLess { } /// - /// Ищет локализованную строку, похожую на Значение параметра не может быть меньше {0} или больше {1}.. + /// Looks up a localized string similar to The value can not be less than {0} or {1} longer.. /// internal static string ArgumentOutOfRangeException_CanNotBeLessOrGreater { get { @@ -142,7 +142,7 @@ internal static string ArgumentOutOfRangeException_CanNotBeLessOrGreater { } /// - /// Ищет локализованную строку, похожую на Начальная позиция не может быть больше длины строки.. + /// Looks up a localized string similar to The starting position can not be more than the length of the line.. /// internal static string ArgumentOutOfRangeException_StringHelper_MoreLengthString { get { @@ -151,7 +151,7 @@ internal static string ArgumentOutOfRangeException_StringHelper_MoreLengthString } /// - /// Ищет локализованную строку, похожую на Длина строки не должна быть больше {0} символов.. + /// Looks up a localized string similar to The length of line must not be more than {0} characters.. /// internal static string ArgumentOutOfRangeException_StringLengthCanNotBeMore { get { @@ -160,7 +160,7 @@ internal static string ArgumentOutOfRangeException_StringLengthCanNotBeMore { } /// - /// Ищет локализованную строку, похожую на Путь указывает на несуществующую директорию {0}.. + /// Looks up a localized string similar to The path points to a nonexistent directory {0}.. /// internal static string DirectoryNotFoundException_DirectoryNotFound { get { @@ -169,7 +169,7 @@ internal static string DirectoryNotFoundException_DirectoryNotFound { } /// - /// Ищет локализованную строку, похожую на Неверно задан порт.. + /// Looks up a localized string similar to Invalid port specified.. /// internal static string FormatException_ProxyClient_WrongPort { get { @@ -178,7 +178,7 @@ internal static string FormatException_ProxyClient_WrongPort { } /// - /// Ищет локализованную строку, похожую на Ошибка на стороне клиента. Код состояния: {0}. + /// Looks up a localized string similar to The error on the client side. Status code: {0}. /// internal static string HttpException_ClientError { get { @@ -187,7 +187,7 @@ internal static string HttpException_ClientError { } /// - /// Ищет локализованную строку, похожую на Вышло время ожидания подключения к HTTP-серверу '{0}'.. + /// Looks up a localized string similar to It turned out wait for a connection to the HTTP-server '{0}'.. /// internal static string HttpException_ConnectTimeout { get { @@ -196,7 +196,7 @@ internal static string HttpException_ConnectTimeout { } /// - /// Ищет локализованную строку, похожую на Произошла ошибка при работе с HTTP-протоколом.. + /// Looks up a localized string similar to An error occurred while working with the HTTP-report.. /// internal static string HttpException_Default { get { @@ -205,7 +205,7 @@ internal static string HttpException_Default { } /// - /// Ищет локализованную строку, похожую на Не удалось соединиться с HTTP-сервером '{0}'.. + /// Looks up a localized string similar to Unable to connect to the HTTP-server '{0}'.. /// internal static string HttpException_FailedConnect { get { @@ -214,7 +214,7 @@ internal static string HttpException_FailedConnect { } /// - /// Ищет локализованную строку, похожую на Не удалось получить IP-адреса узла '{0}'.. + /// Looks up a localized string similar to Failed to get the host IP-address '{0}'.. /// internal static string HttpException_FailedGetHostAddresses { get { @@ -223,7 +223,7 @@ internal static string HttpException_FailedGetHostAddresses { } /// - /// Ищет локализованную строку, похожую на Не удалось загрузить тело сообщения ответа от HTTP-сервера '{0}'.. + /// Looks up a localized string similar to Could not load the message body of the response HTTP-server '{0}'.. /// internal static string HttpException_FailedReceiveMessageBody { get { @@ -232,7 +232,7 @@ internal static string HttpException_FailedReceiveMessageBody { } /// - /// Ищет локализованную строку, похожую на Не удалось загрузить ответ от HTTP-сервера '{0}'.. + /// Looks up a localized string similar to Failed to load the response from the HTTP-server '{0}'.. /// internal static string HttpException_FailedReceiveResponse { get { @@ -241,7 +241,7 @@ internal static string HttpException_FailedReceiveResponse { } /// - /// Ищет локализованную строку, похожую на Не удалось отправить запрос HTTP-серверу '{0}'.. + /// Looks up a localized string similar to Failed to send HTTP-request to the server '{0}'.. /// internal static string HttpException_FailedSendRequest { get { @@ -250,7 +250,7 @@ internal static string HttpException_FailedSendRequest { } /// - /// Ищет локализованную строку, похожую на Не удалось установить SSL-соединение с HTTP-сервером '{0}'.. + /// Looks up a localized string similar to Unable to establish SSL-connection with HTTP-server '{0}'.. /// internal static string HttpException_FailedSslConnect { get { @@ -259,7 +259,7 @@ internal static string HttpException_FailedSslConnect { } /// - /// Ищет локализованную строку, похожую на Превышено допустимое количество последовательных переадресаций.. + /// Looks up a localized string similar to Have exceeded the maximum number of consecutive redirects.. /// internal static string HttpException_LimitRedirections { get { @@ -268,7 +268,7 @@ internal static string HttpException_LimitRedirections { } /// - /// Ищет локализованную строку, похожую на Получен пустой ответ от HTTP-сервера '{0}'.. + /// Looks up a localized string similar to Received empty response from the HTTP-server '{0}'.. /// internal static string HttpException_ReceivedEmptyResponse { get { @@ -277,7 +277,7 @@ internal static string HttpException_ReceivedEmptyResponse { } /// - /// Ищет локализованную строку, похожую на Получен ошибочный ответ от HTTP-сервера '{0}'.. + /// Looks up a localized string similar to Received an invalid response from the HTTP-server '{0}'.. /// internal static string HttpException_ReceivedWrongResponse { get { @@ -286,7 +286,7 @@ internal static string HttpException_ReceivedWrongResponse { } /// - /// Ищет локализованную строку, похожую на Ошибка на стороне сервера. Код состояния: {0}. + /// Looks up a localized string similar to The error on the server side. Status code: {0}. /// internal static string HttpException_SeverError { get { @@ -295,7 +295,7 @@ internal static string HttpException_SeverError { } /// - /// Ищет локализованную строку, похожую на Вышло время ожидания данных от HTTP-сервера '{0}'.. + /// Looks up a localized string similar to It turned out the wait time data from the HTTP-server '{0}'.. /// internal static string HttpException_WaitDataTimeout { get { @@ -304,7 +304,7 @@ internal static string HttpException_WaitDataTimeout { } /// - /// Ищет локализованную строку, похожую на Получен неверный размер блока данных при использовании Chunked: {0}. + /// Looks up a localized string similar to Received invalid data block size when using Chunked: {0}. /// internal static string HttpException_WrongChunkedBlockLength { get { @@ -313,7 +313,7 @@ internal static string HttpException_WrongChunkedBlockLength { } /// - /// Ищет локализованную строку, похожую на Получен неверный кукис '{0}' от HTTP-сервера '{1}'.. + /// Looks up a localized string similar to Received invalid cookies '{0}' from the HTTP-server '{1}'.. /// internal static string HttpException_WrongCookie { get { @@ -322,7 +322,7 @@ internal static string HttpException_WrongCookie { } /// - /// Ищет локализованную строку, похожую на Получен неверный заголовок '{0}' от HTTP-сервера '{1}'.. + /// Looks up a localized string similar to Received invalid header "{0} 'from the HTTP-server' {1} '.. /// internal static string HttpException_WrongHeader { get { @@ -331,7 +331,7 @@ internal static string HttpException_WrongHeader { } /// - /// Ищет локализованную строку, похожую на Не задано ни одного прокси-сервера для цепочки.. + /// Looks up a localized string similar to Do not set any proxy for the chain.. /// internal static string InvalidOperationException_ChainProxyClient_NotProxies { get { @@ -340,7 +340,7 @@ internal static string InvalidOperationException_ChainProxyClient_NotProxies { } /// - /// Ищет локализованную строку, похожую на Невозможно выполнить метод, так как при получении ответа произошла ошибка.. + /// Looks up a localized string similar to Unable to perform the method, because an error occurred while receiving a response.. /// internal static string InvalidOperationException_HttpResponse_HasError { get { @@ -349,7 +349,7 @@ internal static string InvalidOperationException_HttpResponse_HasError { } /// - /// Ищет локализованную строку, похожую на Получен неподдерживаемый формат кодирования: {0}. + /// Looks up a localized string similar to Received an unsupported encoding format: {0}. /// internal static string InvalidOperationException_NotSupportedEncodingFormat { get { @@ -358,7 +358,7 @@ internal static string InvalidOperationException_NotSupportedEncodingFormat { } /// - /// Ищет локализованную строку, похожую на Хост не может быть неопределённым или иметь нулевую длину.. + /// Looks up a localized string similar to The host may be uncertain or have zero length.. /// internal static string InvalidOperationException_ProxyClient_WrongHost { get { @@ -367,7 +367,7 @@ internal static string InvalidOperationException_ProxyClient_WrongHost { } /// - /// Ищет локализованную строку, похожую на Длина пароля не может быть больше 255 символов.. + /// Looks up a localized string similar to The password can not be more than 255 characters.. /// internal static string InvalidOperationException_ProxyClient_WrongPassword { get { @@ -376,7 +376,7 @@ internal static string InvalidOperationException_ProxyClient_WrongPassword { } /// - /// Ищет локализованную строку, похожую на Порт не может быть меньше 1 или больше 65535.. + /// Looks up a localized string similar to The port can not be less than 1 or greater than 65535.. /// internal static string InvalidOperationException_ProxyClient_WrongPort { get { @@ -385,7 +385,7 @@ internal static string InvalidOperationException_ProxyClient_WrongPort { } /// - /// Ищет локализованную строку, похожую на Длина имени пользователя не может быть больше 255 символов.. + /// Looks up a localized string similar to User name can not be more than 255 characters.. /// internal static string InvalidOperationException_ProxyClient_WrongUsername { get { @@ -394,7 +394,7 @@ internal static string InvalidOperationException_ProxyClient_WrongUsername { } /// - /// Ищет локализованную строку, похожую на Произошла ошибка при работе с сетью.. + /// Looks up a localized string similar to An error occurred while working with the network.. /// internal static string NetException_Default { get { @@ -403,7 +403,7 @@ internal static string NetException_Default { } /// - /// Ищет локализованную строку, похожую на {0} Прокси-сервер '{1}'.. + /// Looks up a localized string similar to {0} The proxy server '{1}'.. /// internal static string ProxyException_CommandError { get { @@ -412,7 +412,7 @@ internal static string ProxyException_CommandError { } /// - /// Ищет локализованную строку, похожую на Вышло время ожидания подключения к прокси-серверу '{0}'.. + /// Looks up a localized string similar to It turned out the wait time to connect to the proxy server '{0}'.. /// internal static string ProxyException_ConnectTimeout { get { @@ -421,7 +421,7 @@ internal static string ProxyException_ConnectTimeout { } /// - /// Ищет локализованную строку, похожую на Произошла ошибка при работе с прокси.. + /// Looks up a localized string similar to An error occurred while working with the proxy.. /// internal static string ProxyException_Default { get { @@ -430,7 +430,7 @@ internal static string ProxyException_Default { } /// - /// Ищет локализованную строку, похожую на Произошла ошибка при работе с прокси-сервером '{0}'.. + /// Looks up a localized string similar to An error occurred while working with the proxy server '{0}'.. /// internal static string ProxyException_Error { get { @@ -439,7 +439,7 @@ internal static string ProxyException_Error { } /// - /// Ищет локализованную строку, похожую на Не удалось соединиться с прокси-сервером '{0}'.. + /// Looks up a localized string similar to Unable to connect to the proxy server '{0}'.. /// internal static string ProxyException_FailedConnect { get { @@ -448,7 +448,7 @@ internal static string ProxyException_FailedConnect { } /// - /// Ищет локализованную строку, похожую на Не удалось получить IP-адреса узла '{0}'.. + /// Looks up a localized string similar to Failed to get the host IP address '{0}'.. /// internal static string ProxyException_FailedGetHostAddresses { get { @@ -457,7 +457,7 @@ internal static string ProxyException_FailedGetHostAddresses { } /// - /// Ищет локализованную строку, похожую на Хост '{0}' типа '{1}' не поддерживает используемый тип адресса. Поддерживаются следующие типы: InterNetwork и InterNetworkV6. Прокси-сервер '{2}'.. + /// Looks up a localized string similar to The host '{0}' type '{1}' does not support the type Adresse. The following types: InterNetwork and InterNetworkV6. The proxy server '{2}'.. /// internal static string ProxyException_NotSupportedAddressType { get { @@ -466,7 +466,7 @@ internal static string ProxyException_NotSupportedAddressType { } /// - /// Ищет локализованную строку, похожую на Получен пустой ответ от прокси-сервера '{0}'.. + /// Looks up a localized string similar to Received empty response from the proxy server '{0}'.. /// internal static string ProxyException_ReceivedEmptyResponse { get { @@ -475,7 +475,7 @@ internal static string ProxyException_ReceivedEmptyResponse { } /// - /// Ищет локализованную строку, похожую на Получен ошибочный ответ от прокси-сервера '{0}'.. + /// Looks up a localized string similar to Received an invalid response from the proxy server '{0}'.. /// internal static string ProxyException_ReceivedWrongResponse { get { @@ -484,7 +484,7 @@ internal static string ProxyException_ReceivedWrongResponse { } /// - /// Ищет локализованную строку, похожую на Получен неверный код статуса '{0}' от прокси-сервера '{1}'.. + /// Looks up a localized string similar to Received invalid status code '{0}' on '{1}' proxy.. /// internal static string ProxyException_ReceivedWrongStatusCode { get { @@ -493,7 +493,7 @@ internal static string ProxyException_ReceivedWrongStatusCode { } /// - /// Ищет локализованную строку, похожую на Не удалось выполнить аутентификацию на прокси-сервере '{0}'.. + /// Looks up a localized string similar to Failed to authenticate with the proxy server '{0}'.. /// internal static string ProxyException_Socks5_FailedAuthOn { get { @@ -502,7 +502,7 @@ internal static string ProxyException_Socks5_FailedAuthOn { } /// - /// Ищет локализованную строку, похожую на Вышло время ожидания данных от прокси-сервера '{0}'.. + /// Looks up a localized string similar to It turned out the wait time data from the proxy server '{0}'.. /// internal static string ProxyException_WaitDataTimeout { get { @@ -511,7 +511,7 @@ internal static string ProxyException_WaitDataTimeout { } /// - /// Ищет локализованную строку, похожую на Неизвестная ошибка.. + /// Looks up a localized string similar to Unknown error.. /// internal static string Socks_UnknownError { get { @@ -520,7 +520,7 @@ internal static string Socks_UnknownError { } /// - /// Ищет локализованную строку, похожую на Запрос не удался, потому-что не запущен identd (или не доступен с сервера).. + /// Looks up a localized string similar to The request failed, because things are not running identd (or not available from the server).. /// internal static string Socks4_CommandReplyRequestRejectedCannotConnectToIdentd { get { @@ -529,7 +529,7 @@ internal static string Socks4_CommandReplyRequestRejectedCannotConnectToIdentd { } /// - /// Ищет локализованную строку, похожую на Запрос не удался, поскольку клиентский identd не может подтвердить идентификатор пользователя в запросе.. + /// Looks up a localized string similar to The request failed because client's identd could not confirm the user ID in the query.. /// internal static string Socks4_CommandReplyRequestRejectedDifferentIdentd { get { @@ -538,7 +538,7 @@ internal static string Socks4_CommandReplyRequestRejectedDifferentIdentd { } /// - /// Ищет локализованную строку, похожую на Запрос отклонён или ошибочен.. + /// Looks up a localized string similar to Query rejected or erroneous.. /// internal static string Socks4_CommandReplyRequestRejectedOrFailed { get { @@ -547,7 +547,7 @@ internal static string Socks4_CommandReplyRequestRejectedOrFailed { } /// - /// Ищет локализованную строку, похожую на Предложенные методы аутентификации не поддерживаются.. + /// Looks up a localized string similar to The proposed authentication methods are supported.. /// internal static string Socks5_AuthMethodReplyNoAcceptableMethods { get { @@ -556,7 +556,7 @@ internal static string Socks5_AuthMethodReplyNoAcceptableMethods { } /// - /// Ищет локализованную строку, похожую на Тип адреса не поддерживается.. + /// Looks up a localized string similar to Address type not supported.. /// internal static string Socks5_CommandReplyAddressTypeNotSupported { get { @@ -565,7 +565,7 @@ internal static string Socks5_CommandReplyAddressTypeNotSupported { } /// - /// Ищет локализованную строку, похожую на Команда не поддерживается, либо ошибка протокола.. + /// Looks up a localized string similar to The command is not supported or protocol error.. /// internal static string Socks5_CommandReplyCommandNotSupported { get { @@ -574,7 +574,7 @@ internal static string Socks5_CommandReplyCommandNotSupported { } /// - /// Ищет локализованную строку, похожую на Соединение запрещено набором правил.. + /// Looks up a localized string similar to Connecting a set of rules is prohibited.. /// internal static string Socks5_CommandReplyConnectionNotAllowedByRuleset { get { @@ -583,7 +583,7 @@ internal static string Socks5_CommandReplyConnectionNotAllowedByRuleset { } /// - /// Ищет локализованную строку, похожую на Отказ в соединении.. + /// Looks up a localized string similar to Connection refused.. /// internal static string Socks5_CommandReplyConnectionRefused { get { @@ -592,7 +592,7 @@ internal static string Socks5_CommandReplyConnectionRefused { } /// - /// Ищет локализованную строку, похожую на Ошибка SOCKS-сервера.. + /// Looks up a localized string similar to Error SOCKS-server.. /// internal static string Socks5_CommandReplyGeneralSocksServerFailure { get { @@ -601,7 +601,7 @@ internal static string Socks5_CommandReplyGeneralSocksServerFailure { } /// - /// Ищет локализованную строку, похожую на Хост недоступен.. + /// Looks up a localized string similar to Host unreachable.. /// internal static string Socks5_CommandReplyHostUnreachable { get { @@ -610,7 +610,7 @@ internal static string Socks5_CommandReplyHostUnreachable { } /// - /// Ищет локализованную строку, похожую на Сеть недоступна.. + /// Looks up a localized string similar to The network is not available.. /// internal static string Socks5_CommandReplyNetworkUnreachable { get { @@ -619,7 +619,7 @@ internal static string Socks5_CommandReplyNetworkUnreachable { } /// - /// Ищет локализованную строку, похожую на Истёк TTL.. + /// Looks up a localized string similar to Expired TTL.. /// internal static string Socks5_CommandReplyTTLExpired { get { diff --git a/Resources.resx b/Resources.resx index 2d7e927..61c46e2 100644 --- a/Resources.resx +++ b/Resources.resx @@ -118,192 +118,192 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Значение заголовка '{0}' можно задать только с помощью специального свойства. + The value of the header '{0}' can only be set with the help of special properties. - Начальный индекс диапазона не может быть больше конечного индекса. + The initial range of the index can not be greater than the end index. - Допустимо использовать только абсолютный URI. + Only the absolute URI acceptably. - Значение параметра не может быть меньше {0}. + The value can not be less than {0}. - Значение параметра не может быть меньше {0} или больше {1}. + The value can not be less than {0} or {1} longer. - Длина строки не должна быть больше {0} символов. + The length of line must not be more than {0} characters. - Неверно задан порт. + Invalid port specified. - Ошибка на стороне клиента. Код состояния: {0} + The error on the client side. Status code: {0} - Вышло время ожидания подключения к HTTP-серверу '{0}'. + It turned out wait for a connection to the HTTP-server '{0}'. - Не удалось соединиться с HTTP-сервером '{0}'. + Unable to connect to the HTTP-server '{0}'. - Не удалось получить IP-адреса узла '{0}'. + Failed to get the host IP-address '{0}'. - Не удалось загрузить тело сообщения ответа от HTTP-сервера '{0}'. + Could not load the message body of the response HTTP-server '{0}'. - Не удалось загрузить ответ от HTTP-сервера '{0}'. + Failed to load the response from the HTTP-server '{0}'. - Не удалось отправить запрос HTTP-серверу '{0}'. + Failed to send HTTP-request to the server '{0}'. - Не удалось установить SSL-соединение с HTTP-сервером '{0}'. + Unable to establish SSL-connection with HTTP-server '{0}'. - Вышло время ожидания данных от HTTP-сервера '{0}'. + It turned out the wait time data from the HTTP-server '{0}'. - Получен пустой ответ от HTTP-сервера '{0}'. + Received empty response from the HTTP-server '{0}'. - Ошибка на стороне сервера. Код состояния: {0} + The error on the server side. Status code: {0} - Получен неверный кукис '{0}' от HTTP-сервера '{1}'. + Received invalid cookies '{0}' from the HTTP-server '{1}'. - Получен неверный заголовок '{0}' от HTTP-сервера '{1}'. + Received invalid header "{0} 'from the HTTP-server' {1} '. - Невозможно выполнить метод, так как при получении ответа произошла ошибка. + Unable to perform the method, because an error occurred while receiving a response. - Получен неподдерживаемый формат кодирования: {0} + Received an unsupported encoding format: {0} - Хост не может быть неопределённым или иметь нулевую длину. + The host may be uncertain or have zero length. - Длина пароля не может быть больше 255 символов. + The password can not be more than 255 characters. - Порт не может быть меньше 1 или больше 65535. + The port can not be less than 1 or greater than 65535. - Длина имени пользователя не может быть больше 255 символов. + User name can not be more than 255 characters. - {0} Прокси-сервер '{1}'. + {0} The proxy server '{1}'. - Вышло время ожидания подключения к прокси-серверу '{0}'. + It turned out the wait time to connect to the proxy server '{0}'. - Произошла ошибка при работе с прокси-сервером '{0}'. + An error occurred while working with the proxy server '{0}'. - Не удалось соединиться с прокси-сервером '{0}'. + Unable to connect to the proxy server '{0}'. - Не удалось получить IP-адреса узла '{0}'. + Failed to get the host IP address '{0}'. - Хост '{0}' типа '{1}' не поддерживает используемый тип адресса. Поддерживаются следующие типы: InterNetwork и InterNetworkV6. Прокси-сервер '{2}'. + The host '{0}' type '{1}' does not support the type Adresse. The following types: InterNetwork and InterNetworkV6. The proxy server '{2}'. - Получен пустой ответ от прокси-сервера '{0}'. + Received empty response from the proxy server '{0}'. - Получен ошибочный ответ от прокси-сервера '{0}'. + Received an invalid response from the proxy server '{0}'. - Получен неверный код статуса '{0}' от прокси-сервера '{1}'. + Received invalid status code '{0}' on '{1}' proxy. - Не удалось выполнить аутентификацию на прокси-сервере '{0}'. + Failed to authenticate with the proxy server '{0}'. - Запрос не удался, потому-что не запущен identd (или не доступен с сервера). + The request failed, because things are not running identd (or not available from the server). - Запрос не удался, поскольку клиентский identd не может подтвердить идентификатор пользователя в запросе. + The request failed because client's identd could not confirm the user ID in the query. - Запрос отклонён или ошибочен. + Query rejected or erroneous. - Предложенные методы аутентификации не поддерживаются. + The proposed authentication methods are supported. - Тип адреса не поддерживается. + Address type not supported. - Команда не поддерживается, либо ошибка протокола. + The command is not supported or protocol error. - Соединение запрещено набором правил. + Connecting a set of rules is prohibited. - Отказ в соединении. + Connection refused. - Ошибка SOCKS-сервера. + Error SOCKS-server. - Хост недоступен. + Host unreachable. - Сеть недоступна. + The network is not available. - Истёк TTL. + Expired TTL. - Неизвестная ошибка. + Unknown error. - Значение параметра не может быть строкой нулевой длины. + The value can not be empty. - Начальная позиция не может быть больше длины строки. + The starting position can not be more than the length of the line. - Путь указывает на несуществующую директорию {0}. + The path points to a nonexistent directory {0}. - Произошла ошибка при работе с HTTP-протоколом. + An error occurred while working with the HTTP-report. - Произошла ошибка при работе с сетью. + An error occurred while working with the network. - Произошла ошибка при работе с прокси. + An error occurred while working with the proxy. - Получен ошибочный ответ от HTTP-сервера '{0}'. + Received an invalid response from the HTTP-server '{0}'. - Вышло время ожидания данных от прокси-сервера '{0}'. + It turned out the wait time data from the proxy server '{0}'. - Превышено допустимое количество последовательных переадресаций. + Have exceeded the maximum number of consecutive redirects. - Получен неверный размер блока данных при использовании Chunked: {0} + Received invalid data block size when using Chunked: {0} - Не задано ни одного прокси-сервера для цепочки. + Do not set any proxy for the chain. - Значение параметра не может быть больше {0}. + The value can not be more than {0}. - Поток не поддерживает чтение или перемещение позиции. + The stream does not support reading or move positions. - Путь является пустой строкой, содержит только пробелы или содержит недопустимые символы. + The path is an empty string, contains only white space, or contains invalid characters. \ No newline at end of file diff --git a/xNet.csproj b/xNet.csproj index f39bd57..21e850f 100644 --- a/xNet.csproj +++ b/xNet.csproj @@ -37,15 +37,14 @@ - - - - - - + + Resources-ru-RU.resx + True + True + True True @@ -87,6 +86,10 @@ + + ResXFileCodeGenerator + Resources-ru-RU.Designer.cs + ResXFileCodeGenerator Resources.Designer.cs From e9cbc88a1614b644a48b5dc22048d4e32b59713c Mon Sep 17 00:00:00 2001 From: Jeffiy Date: Thu, 7 Jul 2016 17:10:04 +0800 Subject: [PATCH 2/2] Add Chinese Resources file --- Resources-zh-CN.Designer.cs | 630 ++++++++++++++++++++++++++++++++++++ Resources-zh-CN.resx | 309 ++++++++++++++++++ xNet.csproj | 9 + 3 files changed, 948 insertions(+) create mode 100644 Resources-zh-CN.Designer.cs create mode 100644 Resources-zh-CN.resx diff --git a/Resources-zh-CN.Designer.cs b/Resources-zh-CN.Designer.cs new file mode 100644 index 0000000..fe036d3 --- /dev/null +++ b/Resources-zh-CN.Designer.cs @@ -0,0 +1,630 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace xNet { + 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()] + internal class Resources_zh_CN { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources_zh_CN() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("xNet.Resources-zh-CN", typeof(Resources_zh_CN).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)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to 流不支持读取或移动位置。. + /// + internal static string ArgumentException_CanNotReadOrSeek { + get { + return ResourceManager.GetString("ArgumentException_CanNotReadOrSeek", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 该值不能为空。. + /// + internal static string ArgumentException_EmptyString { + get { + return ResourceManager.GetString("ArgumentException_EmptyString", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to header的值“{0}”只能在特殊属性的帮助下设置的。. + /// + internal static string ArgumentException_HttpRequest_SetNotAvailableHeader { + get { + return ResourceManager.GetString("ArgumentException_HttpRequest_SetNotAvailableHeader", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 索引的初始范围不能超过结束索引值。. + /// + internal static string ArgumentException_MultiThreading_BegIndexRangeMoreEndIndex { + get { + return ResourceManager.GetString("ArgumentException_MultiThreading_BegIndexRangeMoreEndIndex", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 只接受绝对URI。. + /// + internal static string ArgumentException_OnlyAbsoluteUri { + get { + return ResourceManager.GetString("ArgumentException_OnlyAbsoluteUri", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 路径是一个空字符串,仅包含空格,或包含无效字符。. + /// + internal static string ArgumentException_WrongPath { + get { + return ResourceManager.GetString("ArgumentException_WrongPath", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 该值不能超过{0}。. + /// + internal static string ArgumentOutOfRangeException_CanNotBeGreater { + get { + return ResourceManager.GetString("ArgumentOutOfRangeException_CanNotBeGreater", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 该值不能小于{0}。. + /// + internal static string ArgumentOutOfRangeException_CanNotBeLess { + get { + return ResourceManager.GetString("ArgumentOutOfRangeException_CanNotBeLess", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 该值不能小于{0}或大于{1}。. + /// + internal static string ArgumentOutOfRangeException_CanNotBeLessOrGreater { + get { + return ResourceManager.GetString("ArgumentOutOfRangeException_CanNotBeLessOrGreater", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 起始位置不能超过字符串的长度。. + /// + internal static string ArgumentOutOfRangeException_StringHelper_MoreLengthString { + get { + return ResourceManager.GetString("ArgumentOutOfRangeException_StringHelper_MoreLengthString", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 字符串的长度不得超过{0}个字符。. + /// + internal static string ArgumentOutOfRangeException_StringLengthCanNotBeMore { + get { + return ResourceManager.GetString("ArgumentOutOfRangeException_StringLengthCanNotBeMore", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 目录{0}不存在。. + /// + internal static string DirectoryNotFoundException_DirectoryNotFound { + get { + return ResourceManager.GetString("DirectoryNotFoundException_DirectoryNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 无效的端口。. + /// + internal static string FormatException_ProxyClient_WrongPort { + get { + return ResourceManager.GetString("FormatException_ProxyClient_WrongPort", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 错误发生在客户端。状态代码:{0}. + /// + internal static string HttpException_ClientError { + get { + return ResourceManager.GetString("HttpException_ClientError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 连接服务器“{0}”超时。. + /// + internal static string HttpException_ConnectTimeout { + get { + return ResourceManager.GetString("HttpException_ConnectTimeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 与HTTP报文工作时发生错误。. + /// + internal static string HttpException_Default { + get { + return ResourceManager.GetString("HttpException_Default", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 无法连接到HTTP服务器“{0}”。. + /// + internal static string HttpException_FailedConnect { + get { + return ResourceManager.GetString("HttpException_FailedConnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 无法获得主机“{0}”的IP地址。. + /// + internal static string HttpException_FailedGetHostAddresses { + get { + return ResourceManager.GetString("HttpException_FailedGetHostAddresses", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 无法加载HTTP服务器“{0}”的响应消息正文。. + /// + internal static string HttpException_FailedReceiveMessageBody { + get { + return ResourceManager.GetString("HttpException_FailedReceiveMessageBody", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 无法从HTTP服务器“{0}”加载响应。. + /// + internal static string HttpException_FailedReceiveResponse { + get { + return ResourceManager.GetString("HttpException_FailedReceiveResponse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 未能发送HTTP请求到服务器“{0}”。. + /// + internal static string HttpException_FailedSendRequest { + get { + return ResourceManager.GetString("HttpException_FailedSendRequest", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 无法建立与HTTP服务器“{0}”的SSL连接。. + /// + internal static string HttpException_FailedSslConnect { + get { + return ResourceManager.GetString("HttpException_FailedSslConnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 已经超过连续重定向的最大数量。. + /// + internal static string HttpException_LimitRedirections { + get { + return ResourceManager.GetString("HttpException_LimitRedirections", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 从HTTP服务器“{0}”收到空响应。. + /// + internal static string HttpException_ReceivedEmptyResponse { + get { + return ResourceManager.GetString("HttpException_ReceivedEmptyResponse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 接收到来自HTTP服务器“{0}”的无效响应。. + /// + internal static string HttpException_ReceivedWrongResponse { + get { + return ResourceManager.GetString("HttpException_ReceivedWrongResponse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 错误发生在服务器端。状态代码:{0}. + /// + internal static string HttpException_SeverError { + get { + return ResourceManager.GetString("HttpException_SeverError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 等待HTTP服务器“{0}”返回数据超时。. + /// + internal static string HttpException_WaitDataTimeout { + get { + return ResourceManager.GetString("HttpException_WaitDataTimeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 当采用分块时接收到无效的数据块大小:{0}. + /// + internal static string HttpException_WrongChunkedBlockLength { + get { + return ResourceManager.GetString("HttpException_WrongChunkedBlockLength", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 从HTTP服务器“{1}”接收到无效的cookie“{0}”。. + /// + internal static string HttpException_WrongCookie { + get { + return ResourceManager.GetString("HttpException_WrongCookie", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 从HTTP服务器“{1}”收到的无效报头“{0}”。. + /// + internal static string HttpException_WrongHeader { + get { + return ResourceManager.GetString("HttpException_WrongHeader", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 不要为通路设置任何代理。. + /// + internal static string InvalidOperationException_ChainProxyClient_NotProxies { + get { + return ResourceManager.GetString("InvalidOperationException_ChainProxyClient_NotProxies", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 方法无法执行,因为在接收响应时发生错误。. + /// + internal static string InvalidOperationException_HttpResponse_HasError { + get { + return ResourceManager.GetString("InvalidOperationException_HttpResponse_HasError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 收到不支持的编码格式:{0}. + /// + internal static string InvalidOperationException_NotSupportedEncodingFormat { + get { + return ResourceManager.GetString("InvalidOperationException_NotSupportedEncodingFormat", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 主机可能不明确的或具有零长度。. + /// + internal static string InvalidOperationException_ProxyClient_WrongHost { + get { + return ResourceManager.GetString("InvalidOperationException_ProxyClient_WrongHost", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 密码不能超过255个字符。. + /// + internal static string InvalidOperationException_ProxyClient_WrongPassword { + get { + return ResourceManager.GetString("InvalidOperationException_ProxyClient_WrongPassword", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 端口不能小于1或大于65535。. + /// + internal static string InvalidOperationException_ProxyClient_WrongPort { + get { + return ResourceManager.GetString("InvalidOperationException_ProxyClient_WrongPort", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 用户名不能超过255个字符。. + /// + internal static string InvalidOperationException_ProxyClient_WrongUsername { + get { + return ResourceManager.GetString("InvalidOperationException_ProxyClient_WrongUsername", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 网络发生错误。. + /// + internal static string NetException_Default { + get { + return ResourceManager.GetString("NetException_Default", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0}的代理服务器“{1}”。. + /// + internal static string ProxyException_CommandError { + get { + return ResourceManager.GetString("ProxyException_CommandError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 连接到代理服务器“{0}”超时。. + /// + internal static string ProxyException_ConnectTimeout { + get { + return ResourceManager.GetString("ProxyException_ConnectTimeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 代理发生错误。. + /// + internal static string ProxyException_Default { + get { + return ResourceManager.GetString("ProxyException_Default", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 使用代理服务器“{0}”时发生错误。. + /// + internal static string ProxyException_Error { + get { + return ResourceManager.GetString("ProxyException_Error", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 无法连接到代理服务器“{0}”。. + /// + internal static string ProxyException_FailedConnect { + get { + return ResourceManager.GetString("ProxyException_FailedConnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 无法获得主机的IP地址“{0}”。. + /// + internal static string ProxyException_FailedGetHostAddresses { + get { + return ResourceManager.GetString("ProxyException_FailedGetHostAddresses", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 主机“{0}”类型“{1}”不支持以下几种类型:InterNetwork和InterNetworkV6。代理服务器“{2}”。. + /// + internal static string ProxyException_NotSupportedAddressType { + get { + return ResourceManager.GetString("ProxyException_NotSupportedAddressType", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 从代理服务器“{0}”收到空响应。. + /// + internal static string ProxyException_ReceivedEmptyResponse { + get { + return ResourceManager.GetString("ProxyException_ReceivedEmptyResponse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 来自代理服务器“{0}”的响应无效。. + /// + internal static string ProxyException_ReceivedWrongResponse { + get { + return ResourceManager.GetString("ProxyException_ReceivedWrongResponse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 在“{1}”代理服务器中收到无效的状态代码“{0}”。. + /// + internal static string ProxyException_ReceivedWrongStatusCode { + get { + return ResourceManager.GetString("ProxyException_ReceivedWrongStatusCode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 无法与代理服务器“{0}”进行身份验证。. + /// + internal static string ProxyException_Socks5_FailedAuthOn { + get { + return ResourceManager.GetString("ProxyException_Socks5_FailedAuthOn", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 等待代理服务器“{0}”返回数据超时。. + /// + internal static string ProxyException_WaitDataTimeout { + get { + return ResourceManager.GetString("ProxyException_WaitDataTimeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 未知错误。. + /// + internal static string Socks_UnknownError { + get { + return ResourceManager.GetString("Socks_UnknownError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 请求失败,因为程序没有正确运行(或无法从服务器返回数据)。. + /// + internal static string Socks4_CommandReplyRequestRejectedCannotConnectToIdentd { + get { + return ResourceManager.GetString("Socks4_CommandReplyRequestRejectedCannotConnectToIdentd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 请求失败,因为在查询中客户无法确认用户ID。. + /// + internal static string Socks4_CommandReplyRequestRejectedDifferentIdentd { + get { + return ResourceManager.GetString("Socks4_CommandReplyRequestRejectedDifferentIdentd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 查询被拒绝或错误。. + /// + internal static string Socks4_CommandReplyRequestRejectedOrFailed { + get { + return ResourceManager.GetString("Socks4_CommandReplyRequestRejectedOrFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 支持所提出的验证方法。. + /// + internal static string Socks5_AuthMethodReplyNoAcceptableMethods { + get { + return ResourceManager.GetString("Socks5_AuthMethodReplyNoAcceptableMethods", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 不支持的地址类型。. + /// + internal static string Socks5_CommandReplyAddressTypeNotSupported { + get { + return ResourceManager.GetString("Socks5_CommandReplyAddressTypeNotSupported", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 该命令不支持或协议错误。. + /// + internal static string Socks5_CommandReplyCommandNotSupported { + get { + return ResourceManager.GetString("Socks5_CommandReplyCommandNotSupported", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 连接的一组规则被禁止。. + /// + internal static string Socks5_CommandReplyConnectionNotAllowedByRuleset { + get { + return ResourceManager.GetString("Socks5_CommandReplyConnectionNotAllowedByRuleset", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 连接被拒绝。. + /// + internal static string Socks5_CommandReplyConnectionRefused { + get { + return ResourceManager.GetString("Socks5_CommandReplyConnectionRefused", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 错误的SOCKS服务器。. + /// + internal static string Socks5_CommandReplyGeneralSocksServerFailure { + get { + return ResourceManager.GetString("Socks5_CommandReplyGeneralSocksServerFailure", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 主机无法访问。. + /// + internal static string Socks5_CommandReplyHostUnreachable { + get { + return ResourceManager.GetString("Socks5_CommandReplyHostUnreachable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 网络不可用。. + /// + internal static string Socks5_CommandReplyNetworkUnreachable { + get { + return ResourceManager.GetString("Socks5_CommandReplyNetworkUnreachable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TTL过期。. + /// + internal static string Socks5_CommandReplyTTLExpired { + get { + return ResourceManager.GetString("Socks5_CommandReplyTTLExpired", resourceCulture); + } + } + } +} diff --git a/Resources-zh-CN.resx b/Resources-zh-CN.resx new file mode 100644 index 0000000..fcc9d88 --- /dev/null +++ b/Resources-zh-CN.resx @@ -0,0 +1,309 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + header的值“{0}”只能在特殊属性的帮助下设置的。 + + + 索引的初始范围不能超过结束索引值。 + + + 只接受绝对URI。 + + + 该值不能小于{0}。 + + + 该值不能小于{0}或大于{1}。 + + + 字符串的长度不得超过{0}个字符。 + + + 无效的端口。 + + + 错误发生在客户端。状态代码:{0} + + + 连接服务器“{0}”超时。 + + + 无法连接到HTTP服务器“{0}”。 + + + 无法获得主机“{0}”的IP地址。 + + + 无法加载HTTP服务器“{0}”的响应消息正文。 + + + 无法从HTTP服务器“{0}”加载响应。 + + + 未能发送HTTP请求到服务器“{0}”。 + + + 无法建立与HTTP服务器“{0}”的SSL连接。 + + + 等待HTTP服务器“{0}”返回数据超时。 + + + 从HTTP服务器“{0}”收到空响应。 + + + 错误发生在服务器端。状态代码:{0} + + + 从HTTP服务器“{1}”接收到无效的cookie“{0}”。 + + + 从HTTP服务器“{1}”收到的无效报头“{0}”。 + + + 方法无法执行,因为在接收响应时发生错误。 + + + 收到不支持的编码格式:{0} + + + 主机可能不明确的或具有零长度。 + + + 密码不能超过255个字符。 + + + 端口不能小于1或大于65535。 + + + 用户名不能超过255个字符。 + + + {0}的代理服务器“{1}”。 + + + 连接到代理服务器“{0}”超时。 + + + 使用代理服务器“{0}”时发生错误。 + + + 无法连接到代理服务器“{0}”。 + + + 无法获得主机的IP地址“{0}”。 + + + 主机“{0}”类型“{1}”不支持以下几种类型:InterNetwork和InterNetworkV6。代理服务器“{2}”。 + + + 从代理服务器“{0}”收到空响应。 + + + 来自代理服务器“{0}”的响应无效。 + + + 在“{1}”代理服务器中收到无效的状态代码“{0}”。 + + + 无法与代理服务器“{0}”进行身份验证。 + + + 请求失败,因为程序没有正确运行(或无法从服务器返回数据)。 + + + 请求失败,因为在查询中客户无法确认用户ID。 + + + 查询被拒绝或错误。 + + + 支持所提出的验证方法。 + + + 不支持的地址类型。 + + + 该命令不支持或协议错误。 + + + 连接的一组规则被禁止。 + + + 连接被拒绝。 + + + 错误的SOCKS服务器。 + + + 主机无法访问。 + + + 网络不可用。 + + + TTL过期。 + + + 未知错误。 + + + 该值不能为空。 + + + 起始位置不能超过字符串的长度。 + + + 目录{0}不存在。 + + + 与HTTP报文工作时发生错误。 + + + 网络发生错误。 + + + 代理发生错误。 + + + 接收到来自HTTP服务器“{0}”的无效响应。 + + + 等待代理服务器“{0}”返回数据超时。 + + + 已经超过连续重定向的最大数量。 + + + 当采用分块时接收到无效的数据块大小:{0} + + + 不要为通路设置任何代理。 + + + 该值不能超过{0}。 + + + 流不支持读取或移动位置。 + + + 路径是一个空字符串,仅包含空格,或包含无效字符。 + + \ No newline at end of file diff --git a/xNet.csproj b/xNet.csproj index 21e850f..7f235d1 100644 --- a/xNet.csproj +++ b/xNet.csproj @@ -40,6 +40,11 @@ + + Resources-zh-CN.resx + True + True + Resources-ru-RU.resx True @@ -86,6 +91,10 @@ + + ResXFileCodeGenerator + Resources-zh-CN.Designer.cs + ResXFileCodeGenerator Resources-ru-RU.Designer.cs