Skip to content

Commit

Permalink
update Simplified Chinese translation
Browse files Browse the repository at this point in the history
  • Loading branch information
SkiTiSu authored and meee1 committed Nov 29, 2014
1 parent 8674d7c commit 0635308
Show file tree
Hide file tree
Showing 21 changed files with 10,425 additions and 201 deletions.
6 changes: 3 additions & 3 deletions GCSViews/ConfigurationView/ConfigFailSafe.zh-Hans.resx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
<value>遥控输入</value>
</data>
<data name="mavlinkCheckBoxgcs_fs.ToolTip" xml:space="preserve">
<value>在GCS失去通讯时启动故障保护</value>
<value>在地面站失去通讯时启动故障保护</value>
</data>
<data name="mavlinkCheckBoxshort_fs.ToolTip" xml:space="preserve">
<value>关,无动作,开,返航</value>
Expand Down Expand Up @@ -175,7 +175,7 @@
<value>触发器油门Pwm</value>
</data>
<data name="mavlinkCheckBoxFS_GCS_ENABLE.Text" xml:space="preserve">
<value>GCS故障保护启用</value>
<value>地面站故障保护启用</value>
</data>
<data name="mavlinkCheckBoxthr_fs.ToolTip" xml:space="preserve">
<value>在低油门pwm时启用故障保护</value>
Expand All @@ -184,7 +184,7 @@
<value>锁定</value>
</data>
<data name="mavlinkCheckBoxgcs_fs.Text" xml:space="preserve">
<value>GCS故障保护</value>
<value>地面站故障保护</value>
</data>
<data name="mavlinkNumericUpDownthr_fs_value.ToolTip" xml:space="preserve">
<value>触发器油门Pwm</value>
Expand Down
51 changes: 35 additions & 16 deletions GCSViews/ConfigurationView/ConfigFirmware.zh-Hans.resx
Original file line number Diff line number Diff line change
Expand Up @@ -117,32 +117,51 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CMB_history_label.Text" xml:space="preserve">
<value>Pick previous firmware</value>
</data>
<data name="lbl_devfw.Text" xml:space="preserve">
<value>Beta firmwares</value>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="lbl_status.Size" type="System.Drawing.Size, System.Drawing">
<value>29, 12</value>
</data>
<data name="lbl_dlfw.Text" xml:space="preserve">
<value>Download firmwares</value>
<data name="lbl_status.Text" xml:space="preserve">
<value>状态</value>
</data>
<data name="lbl_px4io.Text" xml:space="preserve">
<value>PX4IO Firmware</value>
<data name="label2.Location" type="System.Drawing.Point, System.Drawing">
<value>702, 409</value>
</data>
<data name="label2.Text" xml:space="preserve">
<value>Images by Max Levine</value>
<value>图片 by Max Levine</value>
</data>
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>185, 12</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>Please click the images above for "Flight versions"</value>
<value>请点击以下图片查看“飞行版本”</value>
</data>
<data name="lbl_status.Text" xml:space="preserve">
<value>Status</value>
<data name="CMB_history_label.Size" type="System.Drawing.Size, System.Drawing">
<value>89, 12</value>
</data>
<data name="CMB_history_label.Text" xml:space="preserve">
<value>挑选以前的固件</value>
</data>
<data name="lbl_Custom_firmware_label.Size" type="System.Drawing.Size, System.Drawing">
<value>89, 12</value>
</data>
<data name="lbl_Custom_firmware_label.Text" xml:space="preserve">
<value>Load custom firmware</value>
<value>加载自定义固件</value>
</data>
<data name="lbl_devfw.Size" type="System.Drawing.Size, System.Drawing">
<value>65, 12</value>
</data>
<data name="lbl_devfw.Text" xml:space="preserve">
<value>测试版固件</value>
</data>
<data name="lbl_dlfw.Size" type="System.Drawing.Size, System.Drawing">
<value>53, 12</value>
</data>
<data name="lbl_dlfw.Text" xml:space="preserve">
<value>下载固件</value>
</data>
<data name="BUT_setup.Text" xml:space="preserve">
<value>APM Setup (Plane and Quad)</value>
<data name="lbl_px4bl.Size" type="System.Drawing.Size, System.Drawing">
<value>89, 12</value>
</data>
<data name="lbl_px4bl.Text" xml:space="preserve">
<value>PX4 Bootloader</value>
Expand Down
4 changes: 2 additions & 2 deletions GCSViews/ConfigurationView/ConfigFriendlyParams.cs
Original file line number Diff line number Diff line change
Expand Up @@ -419,12 +419,12 @@ private string FitDescriptionText(string units, string description)

if (!String.IsNullOrEmpty(units))
{
returnDescription.Append(String.Format("Units: {0}{1}", units, Environment.NewLine));
returnDescription.Append(String.Format(ExtTranslations.ConfigFriendlyParamsT.Units, units, Environment.NewLine));
}

if (!String.IsNullOrEmpty(description))
{
returnDescription.Append("Description: ");
returnDescription.Append(ExtTranslations.ConfigFriendlyParamsT.Desc);
var descriptionParts = description.Split(new char[] { ' ' });
for (int i = 0; i < descriptionParts.Length; i++)
{
Expand Down
136 changes: 136 additions & 0 deletions GCSViews/ConfigurationView/ConfigFriendlyParams.zh-Hans.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="BUT_rerequestparams.Text" xml:space="preserve">
<value>刷新参数</value>
</data>
<data name="BUT_writePIDS.Text" xml:space="preserve">
<value>写入参数</value>
</data>
<data name="BUT_Find.Text" xml:space="preserve">
<value>查找</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="chk_advview.Size" type="System.Drawing.Size, System.Drawing">
<value>96, 16</value>
</data>
<data name="chk_advview.Text" xml:space="preserve">
<value>高级菜单视图</value>
</data>
</root>
123 changes: 123 additions & 0 deletions GCSViews/ConfigurationView/ConfigMandatory.zh-Hans.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="label1.Text" xml:space="preserve">
<value>以下页面需要在自动驾驶仪工作前配置完毕。请逐项设置。</value>
</data>
</root>
Loading

0 comments on commit 0635308

Please sign in to comment.