mirror of
https://github.com/ShareX/ShareX.git
synced 2024-06-28 03:00:22 +12:00
Added Japanese language
This commit is contained in:
parent
28c9e57e92
commit
645c76e0f5
|
@ -59,6 +59,8 @@ public enum SupportedLanguage
|
|||
Indonesian,
|
||||
[Description("Italiano (Italian)")]
|
||||
Italian,
|
||||
[Description("日本語 (Japanese)")]
|
||||
Japanese,
|
||||
[Description("한국어 (Korean)")]
|
||||
Korean,
|
||||
[Description("Español mexicano (Mexican Spanish)")]
|
||||
|
|
|
@ -100,6 +100,7 @@ public AboutForm()
|
|||
{Resources.AboutForm_AboutForm_Language_es_MX}: https://github.com/absay
|
||||
{Resources.AboutForm_AboutForm_Language_fa_IR}: https://github.com/pourmand1376
|
||||
{Resources.AboutForm_AboutForm_Language_pt_PT}: https://github.com/FarewellAngelina
|
||||
{Resources.AboutForm_AboutForm_Language_ja_JP}: https://github.com/kanaxx
|
||||
|
||||
{Resources.AboutForm_AboutForm_External_libraries}:
|
||||
|
||||
|
|
|
@ -98,6 +98,9 @@ public static Image GetLanguageIcon(SupportedLanguage language)
|
|||
case SupportedLanguage.Italian:
|
||||
icon = Resources.it;
|
||||
break;
|
||||
case SupportedLanguage.Japanese:
|
||||
icon = Resources.jp;
|
||||
break;
|
||||
case SupportedLanguage.Korean:
|
||||
icon = Resources.kr;
|
||||
break;
|
||||
|
@ -167,6 +170,9 @@ public static string GetCultureName(SupportedLanguage language)
|
|||
case SupportedLanguage.Italian:
|
||||
cultureName = "it-IT";
|
||||
break;
|
||||
case SupportedLanguage.Japanese:
|
||||
cultureName = "ja-JP";
|
||||
break;
|
||||
case SupportedLanguage.Korean:
|
||||
cultureName = "ko-KR";
|
||||
break;
|
||||
|
|
19
ShareX/Properties/Resources.Designer.cs
generated
19
ShareX/Properties/Resources.Designer.cs
generated
|
@ -159,6 +159,15 @@ public class Resources {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Japanese.
|
||||
/// </summary>
|
||||
public static string AboutForm_AboutForm_Language_ja_JP {
|
||||
get {
|
||||
return ResourceManager.GetString("AboutForm_AboutForm_Language_ja_JP", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Korean.
|
||||
/// </summary>
|
||||
|
@ -1716,6 +1725,16 @@ public class Resources {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap jp {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("jp", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
|
@ -1066,4 +1066,10 @@ Middle click to close</value>
|
|||
<data name="user-business" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\user-business.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="jp" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\jp.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="AboutForm_AboutForm_Language_ja_JP" xml:space="preserve">
|
||||
<value>Japanese</value>
|
||||
</data>
|
||||
</root>
|
BIN
ShareX/Resources/jp.png
Normal file
BIN
ShareX/Resources/jp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 420 B |
|
@ -1910,6 +1910,9 @@
|
|||
<ItemGroup>
|
||||
<None Include="Resources\user-business.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\jp.png" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>
|
||||
|
|
Loading…
Reference in a new issue