1
0
mirror of synced 2025-01-31 12:23:50 +01:00

Add example JP translation

This commit is contained in:
asesidaa 2024-01-23 01:23:11 +08:00
parent 49b55b00c2
commit 16cc17246f
3 changed files with 41 additions and 2 deletions

View File

@ -0,0 +1,35 @@
<root>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="dashboard" xml:space="preserve">
<value>Dashboard</value>
</data>
<data name="users" xml:space="preserve">
<value>Users</value>
</data>
<data name="edit profile" xml:space="preserve">
<value>ファイル編集</value>
</data>
<data name="user" xml:space="preserve">
<value>ユーザー</value>
</data>
<data name="view play data" xml:space="preserve">
<value>マイページ</value>
</data>
<data name="high scores" xml:space="preserve">
<value>自己ベスト</value>
</data>
<data name="dani dojo" xml:space="preserve">
<value>段位道場</value>
</data>
</root>

View File

@ -15,8 +15,7 @@
{
{ new CultureInfo("en-US"), "English" },
{ new CultureInfo("zh-Hans"), "简体中文" },
// TODO: Add JP localization?
//{ new CultureInfo("ja"), "日本語" },
{ new CultureInfo("ja"), "日本語" },
};
private void RequestCultureChange(CultureInfo newCulture)

View File

@ -82,6 +82,11 @@
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>LocalizationResource.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\LocalizationResource.ja.resx">
<SubType>Designer</SubType>
<Generator>ResXFileCodeGenerator</Generator>
<CustomToolNamespace>LocalizationResource</CustomToolNamespace>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>