Skip to content

Commit

Permalink
Add Chinese Translation
Browse files Browse the repository at this point in the history
  • Loading branch information
kami-poi committed May 19, 2021
1 parent 07d095e commit 38838d6
Show file tree
Hide file tree
Showing 14 changed files with 1,496 additions and 0 deletions.
51 changes: 51 additions & 0 deletions Ched/Ched.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,21 @@
<DesignTime>True</DesignTime>
<DependentUpon>ErrorStrings.resx</DependentUpon>
</Compile>
<Compile Include="Localization\ErrorStrings.zh.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>ErrorStrings.zh.resx</DependentUpon>
</Compile>
<Compile Include="Localization\FileFilterStrings.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>FileFilterStrings.resx</DependentUpon>
</Compile>
<Compile Include="Localization\FileFilterStrings.zh.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>FileFilterStrings.zh.resx</DependentUpon>
</Compile>
<Compile Include="Localization\MainFormStrings.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
Expand All @@ -144,6 +154,11 @@
<DesignTime>True</DesignTime>
<DependentUpon>MainFormStrings.en.resx</DependentUpon>
</Compile>
<Compile Include="Localization\MainFormStrings.zh.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>MainFormStrings.zh.resx</DependentUpon>
</Compile>
<Compile Include="Localization\PluginStrings.en.Designer.cs">
<DependentUpon>PluginStrings.en.resx</DependentUpon>
<AutoGen>True</AutoGen>
Expand All @@ -154,6 +169,11 @@
<DesignTime>True</DesignTime>
<DependentUpon>PluginStrings.resx</DependentUpon>
</Compile>
<Compile Include="Localization\PluginStrings.zh.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>PluginStrings.zh.resx</DependentUpon>
</Compile>
<Compile Include="Plugins\ComboCalculator.cs" />
<Compile Include="Plugins\ExportManager.cs" />
<Compile Include="Plugins\PluginManager.cs" />
Expand Down Expand Up @@ -268,11 +288,19 @@
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>ErrorStrings.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Localization\ErrorStrings.zh.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>ErrorStrings.zh.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Localization\FileFilterStrings.en.resx" />
<EmbeddedResource Include="Localization\FileFilterStrings.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>FileFilterStrings.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Localization\FileFilterStrings.zh.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>FileFilterStrings.zh.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Localization\MainFormStrings.en.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>MainFormStrings.en.Designer.cs</LastGenOutput>
Expand All @@ -281,6 +309,10 @@
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>MainFormStrings.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Localization\MainFormStrings.zh.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>MainFormStrings.zh.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Localization\PluginStrings.en.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>PluginStrings.en.Designer.cs</LastGenOutput>
Expand All @@ -289,6 +321,10 @@
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>PluginStrings.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Localization\PluginStrings.zh.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>PluginStrings.zh.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
Expand All @@ -305,18 +341,27 @@
<EmbeddedResource Include="UI\BpmSelectionForm.resx">
<DependentUpon>BpmSelectionForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\BpmSelectionForm.zh.resx">
<DependentUpon>BpmSelectionForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\CustomQuantizeSelectionForm.en.resx">
<DependentUpon>CustomQuantizeSelectionForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\CustomQuantizeSelectionForm.resx">
<DependentUpon>CustomQuantizeSelectionForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\CustomQuantizeSelectionForm.zh.resx">
<DependentUpon>CustomQuantizeSelectionForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\HighSpeedSelectionForm.en.resx">
<DependentUpon>HighSpeedSelectionForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\HighSpeedSelectionForm.resx">
<DependentUpon>HighSpeedSelectionForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\HighSpeedSelectionForm.zh.resx">
<DependentUpon>HighSpeedSelectionForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
</EmbeddedResource>
Expand All @@ -329,12 +374,18 @@
<EmbeddedResource Include="UI\TimeSignatureSelectionForm.resx">
<DependentUpon>TimeSignatureSelectionForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\TimeSignatureSelectionForm.zh.resx">
<DependentUpon>TimeSignatureSelectionForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\VersionInfoForm.en.resx">
<DependentUpon>VersionInfoForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\VersionInfoForm.resx">
<DependentUpon>VersionInfoForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\VersionInfoForm.zh.resx">
<DependentUpon>VersionInfoForm.cs</DependentUpon>
</EmbeddedResource>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
Expand Down
Empty file.
179 changes: 179 additions & 0 deletions Ched/Localization/ErrorStrings.zh.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
<?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="ExportComplete" xml:space="preserve">
<value>导出成功。</value>
</data>
<data name="ExportFailed" xml:space="preserve">
<value>导出失败。</value>
</data>
<data name="FileDiscardConfirmation" xml:space="preserve">
<value>未保存的内容将会丢失,是否继续?</value>
</data>
<data name="FileLoadError" xml:space="preserve">
<value>读取文件时发生错误。</value>
</data>
<data name="FileNotAccessible" xml:space="preserve">
<value>文件无法访问。</value>
</data>
<data name="FileNotCompatible" xml:space="preserve">
<value>无法打开此版本的文件。</value>
</data>
<data name="FileUpgradeNeeded" xml:space="preserve">
<value>这个文件是使用旧版本创建的。
点击"是"升级此文件。
(你将无法在旧版本中打开此文件。)</value>
</data>
<data name="ImportComplete" xml:space="preserve">
<value>导入完成。</value>
</data>
<data name="ImportFailed" xml:space="preserve">
<value>导入失败。</value>
</data>
<data name="InvalidTimeSignature" xml:space="preserve">
<value>节拍定义无效。确保Event对齐小节开头处。(第{0}拍附近)</value>
</data>
<data name="MusicSourceNull" xml:space="preserve">
<value>请在谱面属性指定音源。</value>
</data>
<data name="NotExported" xml:space="preserve">
<value>初次导出后才能使用再次导出。</value>
</data>
<data name="OutputPathRequired" xml:space="preserve">
<value>请指定导出路径。</value>
</data>
<data name="PluginException" xml:space="preserve">
<value>插件运行时发生了错误。</value>
</data>
<data name="PluginLoadError" xml:space="preserve">
<value>以下插件未加载。可能是DLL被占用。</value>
</data>
<data name="PluginNotSupported" xml:space="preserve">
<value>以下插件可能不适用于此版本。所有插件将被禁用。</value>
</data>
<data name="PreviewException" xml:space="preserve">
<value>预览时发生错误。</value>
</data>
<data name="PreviewNotSupported" xml:space="preserve">
<value>预览不可用。</value>
</data>
<data name="SourceFileNotFound" xml:space="preserve">
<value>无法找到音源文件。</value>
</data>
</root>
Empty file.
Loading

0 comments on commit 38838d6

Please sign in to comment.