diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-27 17:27:22 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-27 17:27:22 +0000 |
commit | 4f30d660080e406809386fbd9c9cf89b567b8360 (patch) | |
tree | 4d26af33f41db33c8be0d1354ffcc0b19bd8e472 /tools | |
parent | cf42e27a55d6a8ed61df7fc82493d1b92ada9e20 (diff) |
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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Langpack Suite/Form1.cs | 38 | ||||
-rw-r--r-- | tools/Langpack Suite/LangpackSuite.csproj | 2 | ||||
-rw-r--r-- | tools/Langpack Suite/myRes.Designer.cs | 153 | ||||
-rw-r--r-- | tools/Langpack Suite/myRes.resx | 3 | ||||
-rw-r--r-- | 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 @@ -295,25 +295,6 @@ namespace Langpack_Suite }
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"))
{
ReadFile = new StreamReader(FolderName + "\\=DUPES=.txt");
@@ -498,25 +479,6 @@ namespace Langpack_Suite }
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"))
{
ReadFile = new StreamReader(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 @@ <EmbeddedResource Include="myRes.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>myRes.Designer.cs</LastGenOutput>
+ <SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="myRes.ru-RU.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>myRes.ru-RU.Designer.cs</LastGenOutput>
+ <SubType>Designer</SubType>
</EmbeddedResource>
<None Include="app.config" />
<None Include="Properties\Settings.settings">
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 @@ //------------------------------------------------------------------------------
// <auto-generated>
-// Этот код создан программой.
-// Исполняемая версия: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.
// </auto-generated>
//------------------------------------------------------------------------------
@@ -13,12 +13,12 @@ namespace LangpackSuite { /// <summary>
- /// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д.
+ /// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
- // Этот класс создан автоматически классом 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 { }
/// <summary>
- /// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом.
+ /// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
@@ -47,8 +47,8 @@ namespace LangpackSuite { }
/// <summary>
- /// Перезаписывает свойство CurrentUICulture текущего потока для всех
- /// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией.
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
@@ -61,7 +61,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Langpack assigned....
+ /// Looks up a localized string similar to Langpack assigned....
/// </summary>
internal static string AssignLang {
get {
@@ -70,7 +70,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Assign.
+ /// Looks up a localized string similar to Assign.
/// </summary>
internal static string AssignLangBtn {
get {
@@ -79,7 +79,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Automatic.
+ /// Looks up a localized string similar to Automatic.
/// </summary>
internal static string AutoModeBtn {
get {
@@ -88,7 +88,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Commented lines founded....
+ /// Looks up a localized string similar to Commented lines founded....
/// </summary>
internal static string ComFound {
get {
@@ -97,7 +97,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Find Commented.
+ /// Looks up a localized string similar to Find Commented.
/// </summary>
internal static string CommentFindBtn {
get {
@@ -106,7 +106,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Commented lines not found!.
+ /// Looks up a localized string similar to Commented lines not found!.
/// </summary>
internal static string ComNotFound {
get {
@@ -115,7 +115,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на File =CORE=.txt not found....
+ /// Looks up a localized string similar to File =CORE=.txt not found....
/// </summary>
internal static string CoreNotFound {
get {
@@ -124,7 +124,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Create Langpack.
+ /// Looks up a localized string similar to Create Langpack.
/// </summary>
internal static string CreateLangpackBtn {
get {
@@ -133,16 +133,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на File =dbtool=.txt not found....
- /// </summary>
- internal static string DbtoolNotFound {
- get {
- return ResourceManager.GetString("DbtoolNotFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Ищет локализованную строку, похожую на Done!.
+ /// Looks up a localized string similar to Done!.
/// </summary>
internal static string Done {
get {
@@ -151,7 +142,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Find Dupes.
+ /// Looks up a localized string similar to Find Dupes.
/// </summary>
internal static string DupesFindBtn {
get {
@@ -160,7 +151,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на File =DUPES=.txt not found....
+ /// Looks up a localized string similar to File =DUPES=.txt not found....
/// </summary>
internal static string DupesNotFound {
get {
@@ -169,7 +160,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Dupes founded....
+ /// Looks up a localized string similar to Dupes founded....
/// </summary>
internal static string DupFound {
get {
@@ -178,7 +169,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Dupes not found!.
+ /// Looks up a localized string similar to Dupes not found!.
/// </summary>
internal static string DupNotFound {
get {
@@ -187,7 +178,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Working stoped..
+ /// Looks up a localized string similar to Working stoped..
/// </summary>
internal static string DupStop {
get {
@@ -196,7 +187,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Error.
+ /// Looks up a localized string similar to Error.
/// </summary>
internal static string Error {
get {
@@ -205,7 +196,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на .txt not found....
+ /// Looks up a localized string similar to .txt not found....
/// </summary>
internal static string File2NotFound {
get {
@@ -214,7 +205,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на not found....
+ /// Looks up a localized string similar to not found....
/// </summary>
internal static string FileNotFound {
get {
@@ -223,7 +214,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на File .
+ /// Looks up a localized string similar to File .
/// </summary>
internal static string FileText {
get {
@@ -232,7 +223,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Finding Langpack....
+ /// Looks up a localized string similar to Finding Langpack....
/// </summary>
internal static string FindLang {
get {
@@ -241,7 +232,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Generation stopped..
+ /// Looks up a localized string similar to Generation stopped..
/// </summary>
internal static string GenStop {
get {
@@ -250,7 +241,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Generating langpack....
+ /// Looks up a localized string similar to Generating langpack....
/// </summary>
internal static string GenText {
get {
@@ -259,7 +250,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на 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.
/// </summary>
internal static string GetVICheckBox {
get {
@@ -268,7 +259,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Assign Langpack File.
+ /// Looks up a localized string similar to Assign Langpack File.
/// </summary>
internal static string groupBox1 {
get {
@@ -277,7 +268,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Output File.
+ /// Looks up a localized string similar to Output File.
/// </summary>
internal static string groupBox2 {
get {
@@ -286,7 +277,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Working mode.
+ /// Looks up a localized string similar to Working mode.
/// </summary>
internal static string groupBox5 {
get {
@@ -295,7 +286,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на File =HEAD=.txt not found....
+ /// Looks up a localized string similar to File =HEAD=.txt not found....
/// </summary>
internal static string HeadNotFound {
get {
@@ -304,7 +295,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Information.
+ /// Looks up a localized string similar to Information.
/// </summary>
internal static string Inf {
get {
@@ -313,7 +304,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Langpack File Name:.
+ /// Looks up a localized string similar to Langpack File Name:.
/// </summary>
internal static string label1 {
get {
@@ -322,7 +313,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Name:.
+ /// Looks up a localized string similar to Name:.
/// </summary>
internal static string label2 {
get {
@@ -331,7 +322,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на 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 { }
/// <summary>
- /// Ищет локализованную строку, похожую на URL of SVN:.
+ /// Looks up a localized string similar to URL of SVN:.
/// </summary>
internal static string label4 {
get {
@@ -353,7 +344,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на 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.
/// </summary>
internal static string label6 {
get {
@@ -362,7 +353,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Langpack not Founded....
+ /// Looks up a localized string similar to Langpack not Founded....
/// </summary>
internal static string LangNotFound {
get {
@@ -371,7 +362,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на not assigned.
+ /// Looks up a localized string similar to not assigned.
/// </summary>
internal static string LangPathLbl {
get {
@@ -380,7 +371,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Language:.
+ /// Looks up a localized string similar to Language:.
/// </summary>
internal static string LanguageLbl {
get {
@@ -389,7 +380,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Generating LinkList....
+ /// Looks up a localized string similar to Generating LinkList....
/// </summary>
internal static string LinkListGen {
get {
@@ -398,7 +389,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Create File.
+ /// Looks up a localized string similar to Create File.
/// </summary>
internal static string LinkListGenBtn {
get {
@@ -407,7 +398,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Manual.
+ /// Looks up a localized string similar to Manual.
/// </summary>
internal static string ManualModeBtn {
get {
@@ -416,7 +407,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Can not open file..
+ /// Looks up a localized string similar to Can not open file..
/// </summary>
internal static string NotOpen {
get {
@@ -425,7 +416,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Not Translated lines founded....
+ /// Looks up a localized string similar to Not Translated lines founded....
/// </summary>
internal static string NotTransFound {
get {
@@ -434,7 +425,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Find Not Translated.
+ /// Looks up a localized string similar to Find Not Translated.
/// </summary>
internal static string NotTranslFindBtn {
get {
@@ -443,7 +434,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Not translated lines not found!.
+ /// Looks up a localized string similar to Not translated lines not found!.
/// </summary>
internal static string NotTransNotFound {
get {
@@ -452,7 +443,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Can not write file..
+ /// Looks up a localized string similar to Can not write file..
/// </summary>
internal static string NotWrite {
get {
@@ -461,7 +452,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Add your own file to Langpack.
+ /// Looks up a localized string similar to Add your own file to Langpack.
/// </summary>
internal static string OwnFileCheckBox {
get {
@@ -470,7 +461,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Writing files from Plugins folder....
+ /// Looks up a localized string similar to Writing files from Plugins folder....
/// </summary>
internal static string PlugLink {
get {
@@ -479,7 +470,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Subfolder Plugins not found....
+ /// Looks up a localized string similar to Subfolder Plugins not found....
/// </summary>
internal static string PlugLinkNotFound {
get {
@@ -488,7 +479,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Writing files from Root folder....
+ /// Looks up a localized string similar to Writing files from Root folder....
/// </summary>
internal static string RootLink {
get {
@@ -497,7 +488,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Select.
+ /// Looks up a localized string similar to Select.
/// </summary>
internal static string SelectOwnFileBtn {
get {
@@ -506,7 +497,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Generator.
+ /// Looks up a localized string similar to Generator.
/// </summary>
internal static string tabPage1 {
get {
@@ -515,7 +506,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на LinkListGen.
+ /// Looks up a localized string similar to LinkListGen.
/// </summary>
internal static string tabPage2 {
get {
@@ -524,7 +515,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Dupes Search.
+ /// Looks up a localized string similar to Dupes Search.
/// </summary>
internal static string tabPage3 {
get {
@@ -533,7 +524,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Command line arguments list.
+ /// Looks up a localized string similar to Command line arguments list.
/// </summary>
internal static string tipper {
get {
@@ -542,7 +533,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Arguments.
+ /// Looks up a localized string similar to Arguments.
/// </summary>
internal static string VarHead {
get {
@@ -551,7 +542,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на \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 { }
/// <summary>
- /// Ищет локализованную строку, похожую на File =VERSION=.txt not found....
+ /// Looks up a localized string similar to File =VERSION=.txt not found....
/// </summary>
internal static string VersionNotFound {
get {
@@ -575,7 +566,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на File VersionInfo.txt founded, making shot langpack....
+ /// Looks up a localized string similar to File VersionInfo.txt founded, making shot langpack....
/// </summary>
internal static string VIGen {
get {
@@ -584,7 +575,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Writing files from Weather folder....
+ /// Looks up a localized string similar to Writing files from Weather folder....
/// </summary>
internal static string WeatherLink {
get {
@@ -593,7 +584,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Subfolder Weather not found....
+ /// Looks up a localized string similar to Subfolder Weather not found....
/// </summary>
internal static string WeatherLinkNotFound {
get {
@@ -602,7 +593,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на VersionInfo.txt not found, making full langpack....
+ /// Looks up a localized string similar to VersionInfo.txt not found, making full langpack....
/// </summary>
internal static string WOVIGen {
get {
@@ -611,7 +602,7 @@ namespace LangpackSuite { }
/// <summary>
- /// Ищет локализованную строку, похожую на Selected wrong directory....
+ /// Looks up a localized string similar to Selected wrong directory....
/// </summary>
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 @@ <data name="CreateLangpackBtn" xml:space="preserve">
<value>Create Langpack</value>
</data>
- <data name="DbtoolNotFound" xml:space="preserve">
- <value>File =dbtool=.txt not found...</value>
- </data>
<data name="Done" xml:space="preserve">
<value>Done!</value>
</data>
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 @@ <data name="CreateLangpackBtn" xml:space="preserve">
<value>Сгенерировать ленгпак</value>
</data>
- <data name="DbtoolNotFound" xml:space="preserve">
- <value>Файл =dbtool=.txt не найден...</value>
- </data>
<data name="Done" xml:space="preserve">
<value>Выполнено!</value>
</data>
|