From ec865d3b7c6e332f3d1a7d5c75c8a10d0cea28e6 Mon Sep 17 00:00:00 2001 From: Milan Hanajik Date: Thu, 23 Apr 2015 01:00:37 +0200 Subject: [PATCH] Resource files for more languages added: cs, es, fr, it, pl, ru, zh-CN. --- .../Resources/Strings.cn.Designer.cs | 153 ------------------ .../Resources/Strings.cs.Designer.cs | 0 TestBenchFramework/Resources/Strings.cs.resx | 126 +++++++++++++++ TestBenchFramework/Resources/Strings.es.resx | 123 ++++++++++++++ TestBenchFramework/Resources/Strings.fr.resx | 123 ++++++++++++++ TestBenchFramework/Resources/Strings.it.resx | 123 ++++++++++++++ TestBenchFramework/Resources/Strings.pl.resx | 123 ++++++++++++++ TestBenchFramework/Resources/Strings.ru.resx | 123 ++++++++++++++ .../Resources/Strings.zh-CN.Designer.cs | 0 .../{Strings.cn.resx => Strings.zh-CN.resx} | 20 +-- TestBenchFramework/TBF.csproj | 22 ++- 11 files changed, 769 insertions(+), 167 deletions(-) delete mode 100644 TestBenchFramework/Resources/Strings.cn.Designer.cs create mode 100644 TestBenchFramework/Resources/Strings.cs.Designer.cs create mode 100644 TestBenchFramework/Resources/Strings.cs.resx create mode 100644 TestBenchFramework/Resources/Strings.es.resx create mode 100644 TestBenchFramework/Resources/Strings.fr.resx create mode 100644 TestBenchFramework/Resources/Strings.it.resx create mode 100644 TestBenchFramework/Resources/Strings.pl.resx create mode 100644 TestBenchFramework/Resources/Strings.ru.resx create mode 100644 TestBenchFramework/Resources/Strings.zh-CN.Designer.cs rename TestBenchFramework/Resources/{Strings.cn.resx => Strings.zh-CN.resx} (93%) diff --git a/TestBenchFramework/Resources/Strings.cn.Designer.cs b/TestBenchFramework/Resources/Strings.cn.Designer.cs deleted file mode 100644 index c51e2f4fc..000000000 --- a/TestBenchFramework/Resources/Strings.cn.Designer.cs +++ /dev/null @@ -1,153 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.34209 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace TBF.Resources { - 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 Strings_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 Strings_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("TBF.Resources.Strings.cn", typeof(Strings_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 Activity / 活动. - /// - internal static string Activity { - get { - return ResourceManager.GetString("Activity", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Ambient humidity / 空气温度:. - /// - internal static string Ambient_humidity_ { - get { - return ResourceManager.GetString("Ambient_humidity_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Ambient pressure / 大气压强:. - /// - internal static string Ambient_pressure_ { - get { - return ResourceManager.GetString("Ambient_pressure_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Ambient temperature / 空气温度:. - /// - internal static string Ambient_temperature_ { - get { - return ResourceManager.GetString("Ambient_temperature_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Approval / 审核:. - /// - internal static string Approval_ { - get { - return ResourceManager.GetString("Approval_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Date and time / 日期及时间: . - /// - internal static string Date_and_time_ { - get { - return ResourceManager.GetString("Date_and_time_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Page/页面 . - /// - internal static string Page { - get { - return ResourceManager.GetString("Page", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Procedure / 测试程序:. - /// - internal static string Procedure_ { - get { - return ResourceManager.GetString("Procedure_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Purchase order / 采购订单:. - /// - internal static string Purchase_order_ { - get { - return ResourceManager.GetString("Purchase_order_", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Tester / 测试者:. - /// - internal static string Tester_ { - get { - return ResourceManager.GetString("Tester_", resourceCulture); - } - } - } -} diff --git a/TestBenchFramework/Resources/Strings.cs.Designer.cs b/TestBenchFramework/Resources/Strings.cs.Designer.cs new file mode 100644 index 000000000..e69de29bb diff --git a/TestBenchFramework/Resources/Strings.cs.resx b/TestBenchFramework/Resources/Strings.cs.resx new file mode 100644 index 000000000..f285816d3 --- /dev/null +++ b/TestBenchFramework/Resources/Strings.cs.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Činnost + + + Restartujte aplikaci prosím. + + \ No newline at end of file diff --git a/TestBenchFramework/Resources/Strings.es.resx b/TestBenchFramework/Resources/Strings.es.resx new file mode 100644 index 000000000..067be8ac8 --- /dev/null +++ b/TestBenchFramework/Resources/Strings.es.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Activity in Spanish + + \ No newline at end of file diff --git a/TestBenchFramework/Resources/Strings.fr.resx b/TestBenchFramework/Resources/Strings.fr.resx new file mode 100644 index 000000000..a40187cb0 --- /dev/null +++ b/TestBenchFramework/Resources/Strings.fr.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Activité + + \ No newline at end of file diff --git a/TestBenchFramework/Resources/Strings.it.resx b/TestBenchFramework/Resources/Strings.it.resx new file mode 100644 index 000000000..10b593540 --- /dev/null +++ b/TestBenchFramework/Resources/Strings.it.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Attività + + \ No newline at end of file diff --git a/TestBenchFramework/Resources/Strings.pl.resx b/TestBenchFramework/Resources/Strings.pl.resx new file mode 100644 index 000000000..548cc61db --- /dev/null +++ b/TestBenchFramework/Resources/Strings.pl.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Działalność + + \ No newline at end of file diff --git a/TestBenchFramework/Resources/Strings.ru.resx b/TestBenchFramework/Resources/Strings.ru.resx new file mode 100644 index 000000000..19cf0a2bc --- /dev/null +++ b/TestBenchFramework/Resources/Strings.ru.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + деятельность + + \ No newline at end of file diff --git a/TestBenchFramework/Resources/Strings.zh-CN.Designer.cs b/TestBenchFramework/Resources/Strings.zh-CN.Designer.cs new file mode 100644 index 000000000..e69de29bb diff --git a/TestBenchFramework/Resources/Strings.cn.resx b/TestBenchFramework/Resources/Strings.zh-CN.resx similarity index 93% rename from TestBenchFramework/Resources/Strings.cn.resx rename to TestBenchFramework/Resources/Strings.zh-CN.resx index 0478d1af9..5d4eb7d21 100644 --- a/TestBenchFramework/Resources/Strings.cn.resx +++ b/TestBenchFramework/Resources/Strings.zh-CN.resx @@ -118,33 +118,33 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Activity / 活动 + 活动 / Activity - Ambient humidity / 空气温度: + 空气温度 / Ambient humidity : - Ambient pressure / 大气压强: + 大气压强 / Ambient pressure : - Ambient temperature / 空气温度: + 空气温度 / Ambient temperature : - Approval / 审核: + 审核 / Approval : - Date and time / 日期及时间: + 日期及时间 / Date and time : - Page/页面 + 页面 / Page - Procedure / 测试程序: + 测试程序 / Procedure : - Purchase order / 采购订单: + 采购订单 / Purchase order : - Tester / 测试者: + 测试者 / Tester : \ No newline at end of file diff --git a/TestBenchFramework/TBF.csproj b/TestBenchFramework/TBF.csproj index 2f5ce6116..503061c66 100644 --- a/TestBenchFramework/TBF.csproj +++ b/TestBenchFramework/TBF.csproj @@ -695,10 +695,15 @@ - + True True - Strings.cn.resx + Strings.cs.resx + + + True + True + Strings.zh-CN.resx UserControl @@ -1282,9 +1287,18 @@ PrintOrderDocument.cs - + ResXFileCodeGenerator - Strings.cn.Designer.cs + Strings.cs.Designer.cs + + + + + + + + ResXFileCodeGenerator + Strings.zh-CN.Designer.cs PicturesTabPageCtrl.cs