From 4f30d660080e406809386fbd9c9cf89b567b8360 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 27 Jul 2012 17:27:22 +0000 Subject: dbtool.txt check is removed from langpack generator tool git-svn-id: http://svn.miranda-ng.org/main/trunk@1215 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- tools/Langpack Suite/Form1.cs | 38 -------- tools/Langpack Suite/LangpackSuite.csproj | 2 + tools/Langpack Suite/myRes.Designer.cs | 153 ++++++++++++++---------------- tools/Langpack Suite/myRes.resx | 3 - tools/Langpack Suite/myRes.ru-RU.resx | 3 - 5 files changed, 74 insertions(+), 125 deletions(-) diff --git a/tools/Langpack Suite/Form1.cs b/tools/Langpack Suite/Form1.cs index 2a2aa17e69..99c9979c42 100644 --- a/tools/Langpack Suite/Form1.cs +++ b/tools/Langpack Suite/Form1.cs @@ -294,25 +294,6 @@ namespace Langpack_Suite return; } - LangPack.WriteLine(""); - if (File.Exists(FolderName + "\\=dbtool=.txt")) - { - ReadFile = new StreamReader(FolderName + "\\=dbtool=.txt"); - while ((s = ReadFile.ReadLine()) != null) - { - LangPack.WriteLine(s); - } - ReadFile.Close(); - } - else - { - LocaleText = rm.GetString("DbtoolNotFound", culture); - InfMessageLangBox.Text = InfMessageLangBox.Text + LocaleText + "\r\n"; - LocaleText = rm.GetString("GenStop", culture); - InfMessageLangBox.Text = InfMessageLangBox.Text + LocaleText; - return; - } - LangPack.WriteLine(""); if (File.Exists(FolderName + "\\=DUPES=.txt")) { @@ -497,25 +478,6 @@ namespace Langpack_Suite return; } - LangPack.WriteLine(""); - if (File.Exists(FolderName + "\\=dbtool=.txt")) - { - ReadFile = new StreamReader(FolderName + "\\=dbtool=.txt"); - while ((s = ReadFile.ReadLine()) != null) - { - LangPack.WriteLine(s); - } - ReadFile.Close(); - } - else - { - LocaleText = rm.GetString("DbtoolNotFound", culture); - InfMessageLangBox.Text = InfMessageLangBox.Text + LocaleText + "\r\n"; - LocaleText = rm.GetString("GenStop", culture); - InfMessageLangBox.Text = InfMessageLangBox.Text + LocaleText; - return; - } - LangPack.WriteLine(""); if (File.Exists(FolderName + "\\=DUPES=.txt")) { diff --git a/tools/Langpack Suite/LangpackSuite.csproj b/tools/Langpack Suite/LangpackSuite.csproj index a95e18b416..5b49ca5edf 100644 --- a/tools/Langpack Suite/LangpackSuite.csproj +++ b/tools/Langpack Suite/LangpackSuite.csproj @@ -102,10 +102,12 @@ ResXFileCodeGenerator myRes.Designer.cs + Designer ResXFileCodeGenerator myRes.ru-RU.Designer.cs + Designer diff --git a/tools/Langpack Suite/myRes.Designer.cs b/tools/Langpack Suite/myRes.Designer.cs index 3cc8ee1804..07087604bd 100644 --- a/tools/Langpack Suite/myRes.Designer.cs +++ b/tools/Langpack Suite/myRes.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// Этот код создан программой. -// Исполняемая версия:4.0.30319.269 +// This code was generated by a tool. +// Runtime Version:4.0.30319.269 // -// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае -// повторной генерации кода. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ @@ -13,12 +13,12 @@ namespace LangpackSuite { /// - /// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д. + /// 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 @@ namespace LangpackSuite { } /// - /// Возвращает кэшированный экземпляр 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 @@ namespace LangpackSuite { } /// - /// Перезаписывает свойство 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 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Langpack assigned.... + /// Looks up a localized string similar to Langpack assigned.... /// internal static string AssignLang { get { @@ -70,7 +70,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Assign. + /// Looks up a localized string similar to Assign. /// internal static string AssignLangBtn { get { @@ -79,7 +79,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Automatic. + /// Looks up a localized string similar to Automatic. /// internal static string AutoModeBtn { get { @@ -88,7 +88,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Commented lines founded.... + /// Looks up a localized string similar to Commented lines founded.... /// internal static string ComFound { get { @@ -97,7 +97,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Find Commented. + /// Looks up a localized string similar to Find Commented. /// internal static string CommentFindBtn { get { @@ -106,7 +106,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Commented lines not found!. + /// Looks up a localized string similar to Commented lines not found!. /// internal static string ComNotFound { get { @@ -115,7 +115,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на File =CORE=.txt not found.... + /// Looks up a localized string similar to File =CORE=.txt not found.... /// internal static string CoreNotFound { get { @@ -124,7 +124,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Create Langpack. + /// Looks up a localized string similar to Create Langpack. /// internal static string CreateLangpackBtn { get { @@ -133,16 +133,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на File =dbtool=.txt not found.... - /// - internal static string DbtoolNotFound { - get { - return ResourceManager.GetString("DbtoolNotFound", resourceCulture); - } - } - - /// - /// Ищет локализованную строку, похожую на Done!. + /// Looks up a localized string similar to Done!. /// internal static string Done { get { @@ -151,7 +142,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Find Dupes. + /// Looks up a localized string similar to Find Dupes. /// internal static string DupesFindBtn { get { @@ -160,7 +151,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на File =DUPES=.txt not found.... + /// Looks up a localized string similar to File =DUPES=.txt not found.... /// internal static string DupesNotFound { get { @@ -169,7 +160,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Dupes founded.... + /// Looks up a localized string similar to Dupes founded.... /// internal static string DupFound { get { @@ -178,7 +169,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Dupes not found!. + /// Looks up a localized string similar to Dupes not found!. /// internal static string DupNotFound { get { @@ -187,7 +178,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Working stoped.. + /// Looks up a localized string similar to Working stoped.. /// internal static string DupStop { get { @@ -196,7 +187,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Error. + /// Looks up a localized string similar to Error. /// internal static string Error { get { @@ -205,7 +196,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на .txt not found.... + /// Looks up a localized string similar to .txt not found.... /// internal static string File2NotFound { get { @@ -214,7 +205,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на not found.... + /// Looks up a localized string similar to not found.... /// internal static string FileNotFound { get { @@ -223,7 +214,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на File . + /// Looks up a localized string similar to File . /// internal static string FileText { get { @@ -232,7 +223,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Finding Langpack.... + /// Looks up a localized string similar to Finding Langpack.... /// internal static string FindLang { get { @@ -241,7 +232,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Generation stopped.. + /// Looks up a localized string similar to Generation stopped.. /// internal static string GenStop { get { @@ -250,7 +241,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Generating langpack.... + /// Looks up a localized string similar to Generating langpack.... /// internal static string GenText { get { @@ -259,7 +250,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Get VersionInfo from Internet or type full local path. + /// Looks up a localized string similar to Get VersionInfo from Internet or type full local path. /// internal static string GetVICheckBox { get { @@ -268,7 +259,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Assign Langpack File. + /// Looks up a localized string similar to Assign Langpack File. /// internal static string groupBox1 { get { @@ -277,7 +268,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Output File. + /// Looks up a localized string similar to Output File. /// internal static string groupBox2 { get { @@ -286,7 +277,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Working mode. + /// Looks up a localized string similar to Working mode. /// internal static string groupBox5 { get { @@ -295,7 +286,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на File =HEAD=.txt not found.... + /// Looks up a localized string similar to File =HEAD=.txt not found.... /// internal static string HeadNotFound { get { @@ -304,7 +295,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Information. + /// Looks up a localized string similar to Information. /// internal static string Inf { get { @@ -313,7 +304,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Langpack File Name:. + /// Looks up a localized string similar to Langpack File Name:. /// internal static string label1 { get { @@ -322,7 +313,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Name:. + /// Looks up a localized string similar to Name:. /// internal static string label2 { get { @@ -331,7 +322,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на LinkList.txt file contains links to the translation files of different + /// Looks up a localized string similar to LinkList.txt file contains links to the translation files of different ///plugins and can be used in any download manager. Downloaded ///files can be used to generate a complete localization or consisting ///only from localization of plugins used by you (information is taken @@ -344,7 +335,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на URL of SVN:. + /// Looks up a localized string similar to URL of SVN:. /// internal static string label4 { get { @@ -353,7 +344,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на e.g. http://www.miranda-vi.org/report/mataes. + /// Looks up a localized string similar to e.g. http://www.miranda-vi.org/report/mataes. /// internal static string label6 { get { @@ -362,7 +353,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Langpack not Founded.... + /// Looks up a localized string similar to Langpack not Founded.... /// internal static string LangNotFound { get { @@ -371,7 +362,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на not assigned. + /// Looks up a localized string similar to not assigned. /// internal static string LangPathLbl { get { @@ -380,7 +371,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Language:. + /// Looks up a localized string similar to Language:. /// internal static string LanguageLbl { get { @@ -389,7 +380,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Generating LinkList.... + /// Looks up a localized string similar to Generating LinkList.... /// internal static string LinkListGen { get { @@ -398,7 +389,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Create File. + /// Looks up a localized string similar to Create File. /// internal static string LinkListGenBtn { get { @@ -407,7 +398,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Manual. + /// Looks up a localized string similar to Manual. /// internal static string ManualModeBtn { get { @@ -416,7 +407,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Can not open file.. + /// Looks up a localized string similar to Can not open file.. /// internal static string NotOpen { get { @@ -425,7 +416,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Not Translated lines founded.... + /// Looks up a localized string similar to Not Translated lines founded.... /// internal static string NotTransFound { get { @@ -434,7 +425,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Find Not Translated. + /// Looks up a localized string similar to Find Not Translated. /// internal static string NotTranslFindBtn { get { @@ -443,7 +434,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Not translated lines not found!. + /// Looks up a localized string similar to Not translated lines not found!. /// internal static string NotTransNotFound { get { @@ -452,7 +443,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Can not write file.. + /// Looks up a localized string similar to Can not write file.. /// internal static string NotWrite { get { @@ -461,7 +452,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Add your own file to Langpack. + /// Looks up a localized string similar to Add your own file to Langpack. /// internal static string OwnFileCheckBox { get { @@ -470,7 +461,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Writing files from Plugins folder.... + /// Looks up a localized string similar to Writing files from Plugins folder.... /// internal static string PlugLink { get { @@ -479,7 +470,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Subfolder Plugins not found.... + /// Looks up a localized string similar to Subfolder Plugins not found.... /// internal static string PlugLinkNotFound { get { @@ -488,7 +479,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Writing files from Root folder.... + /// Looks up a localized string similar to Writing files from Root folder.... /// internal static string RootLink { get { @@ -497,7 +488,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Select. + /// Looks up a localized string similar to Select. /// internal static string SelectOwnFileBtn { get { @@ -506,7 +497,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Generator. + /// Looks up a localized string similar to Generator. /// internal static string tabPage1 { get { @@ -515,7 +506,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на LinkListGen. + /// Looks up a localized string similar to LinkListGen. /// internal static string tabPage2 { get { @@ -524,7 +515,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Dupes Search. + /// Looks up a localized string similar to Dupes Search. /// internal static string tabPage3 { get { @@ -533,7 +524,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Command line arguments list. + /// Looks up a localized string similar to Command line arguments list. /// internal static string tipper { get { @@ -542,7 +533,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Arguments. + /// Looks up a localized string similar to Arguments. /// internal static string VarHead { get { @@ -551,7 +542,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на \q - silent generate + /// Looks up a localized string similar to \q - silent generate ///\n - Langpack file name ///\o - Path for adding own File ///\u - link to VI from miranda-vi.org or full local path @@ -566,7 +557,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на File =VERSION=.txt not found.... + /// Looks up a localized string similar to File =VERSION=.txt not found.... /// internal static string VersionNotFound { get { @@ -575,7 +566,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на File VersionInfo.txt founded, making shot langpack.... + /// Looks up a localized string similar to File VersionInfo.txt founded, making shot langpack.... /// internal static string VIGen { get { @@ -584,7 +575,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Writing files from Weather folder.... + /// Looks up a localized string similar to Writing files from Weather folder.... /// internal static string WeatherLink { get { @@ -593,7 +584,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Subfolder Weather not found.... + /// Looks up a localized string similar to Subfolder Weather not found.... /// internal static string WeatherLinkNotFound { get { @@ -602,7 +593,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на VersionInfo.txt not found, making full langpack.... + /// Looks up a localized string similar to VersionInfo.txt not found, making full langpack.... /// internal static string WOVIGen { get { @@ -611,7 +602,7 @@ namespace LangpackSuite { } /// - /// Ищет локализованную строку, похожую на Selected wrong directory.... + /// Looks up a localized string similar to Selected wrong directory.... /// internal static string WrongSelect { get { diff --git a/tools/Langpack Suite/myRes.resx b/tools/Langpack Suite/myRes.resx index 1ee26e4eca..9ac8e9e429 100644 --- a/tools/Langpack Suite/myRes.resx +++ b/tools/Langpack Suite/myRes.resx @@ -141,9 +141,6 @@ Create Langpack - - File =dbtool=.txt not found... - Done! diff --git a/tools/Langpack Suite/myRes.ru-RU.resx b/tools/Langpack Suite/myRes.ru-RU.resx index 4fdc83e6b6..ffe8763b5b 100644 --- a/tools/Langpack Suite/myRes.ru-RU.resx +++ b/tools/Langpack Suite/myRes.ru-RU.resx @@ -141,9 +141,6 @@ Сгенерировать ленгпак - - Файл =dbtool=.txt не найден... - Выполнено! -- cgit v1.2.3