mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Added Hebrew language
This commit is contained in:
parent
5c8b170ed0
commit
7c30b1fa71
9 changed files with 39 additions and 1 deletions
|
@ -54,6 +54,7 @@ Source: "{#MyAppReleaseDirectory}\es\*.resources.dll"; DestDir: {app}\Languages\
|
||||||
Source: "{#MyAppReleaseDirectory}\es-MX\*.resources.dll"; DestDir: {app}\Languages\es-MX; Flags: ignoreversion
|
Source: "{#MyAppReleaseDirectory}\es-MX\*.resources.dll"; DestDir: {app}\Languages\es-MX; Flags: ignoreversion
|
||||||
Source: "{#MyAppReleaseDirectory}\fa-IR\*.resources.dll"; DestDir: {app}\Languages\fa-IR; Flags: ignoreversion
|
Source: "{#MyAppReleaseDirectory}\fa-IR\*.resources.dll"; DestDir: {app}\Languages\fa-IR; Flags: ignoreversion
|
||||||
Source: "{#MyAppReleaseDirectory}\fr\*.resources.dll"; DestDir: {app}\Languages\fr; Flags: ignoreversion
|
Source: "{#MyAppReleaseDirectory}\fr\*.resources.dll"; DestDir: {app}\Languages\fr; Flags: ignoreversion
|
||||||
|
Source: "{#MyAppReleaseDirectory}\he-IL\*.resources.dll"; DestDir: {app}\Languages\he-IL; Flags: ignoreversion
|
||||||
Source: "{#MyAppReleaseDirectory}\hu\*.resources.dll"; DestDir: {app}\Languages\hu; Flags: ignoreversion
|
Source: "{#MyAppReleaseDirectory}\hu\*.resources.dll"; DestDir: {app}\Languages\hu; Flags: ignoreversion
|
||||||
Source: "{#MyAppReleaseDirectory}\id-ID\*.resources.dll"; DestDir: {app}\Languages\id-ID; Flags: ignoreversion
|
Source: "{#MyAppReleaseDirectory}\id-ID\*.resources.dll"; DestDir: {app}\Languages\id-ID; Flags: ignoreversion
|
||||||
Source: "{#MyAppReleaseDirectory}\it-IT\*.resources.dll"; DestDir: {app}\Languages\it-IT; Flags: ignoreversion
|
Source: "{#MyAppReleaseDirectory}\it-IT\*.resources.dll"; DestDir: {app}\Languages\it-IT; Flags: ignoreversion
|
||||||
|
|
|
@ -380,7 +380,7 @@ private static void CreateFolder(string source, string destination, SetupJobs jo
|
||||||
FileHelpers.CopyFiles(Path.Combine(NativeMessagingHostDir, "ShareX_NativeMessagingHost.exe"), destination);
|
FileHelpers.CopyFiles(Path.Combine(NativeMessagingHostDir, "ShareX_NativeMessagingHost.exe"), destination);
|
||||||
}
|
}
|
||||||
|
|
||||||
string[] languages = new string[] { "de", "es", "es-MX", "fa-IR", "fr", "hu", "id-ID", "it-IT", "ja-JP", "ko-KR", "nl-NL", "pl", "pt-BR", "pt-PT",
|
string[] languages = new string[] { "de", "es", "es-MX", "fa-IR", "fr", "he-IL", "hu", "id-ID", "it-IT", "ja-JP", "ko-KR", "nl-NL", "pl", "pt-BR", "pt-PT",
|
||||||
"ro", "ru", "tr", "uk", "vi-VN", "zh-CN", "zh-TW" };
|
"ro", "ru", "tr", "uk", "vi-VN", "zh-CN", "zh-TW" };
|
||||||
|
|
||||||
foreach (string language in languages)
|
foreach (string language in languages)
|
||||||
|
|
|
@ -53,6 +53,8 @@ public enum SupportedLanguage
|
||||||
French,
|
French,
|
||||||
[Description("Deutsch (German)")]
|
[Description("Deutsch (German)")]
|
||||||
German,
|
German,
|
||||||
|
[Description("עִברִית (Hebrew)")]
|
||||||
|
Hebrew,
|
||||||
[Description("Magyar (Hungarian)")]
|
[Description("Magyar (Hungarian)")]
|
||||||
Hungarian,
|
Hungarian,
|
||||||
[Description("Bahasa Indonesia (Indonesian)")]
|
[Description("Bahasa Indonesia (Indonesian)")]
|
||||||
|
|
|
@ -97,6 +97,7 @@ public AboutForm()
|
||||||
{Resources.AboutForm_AboutForm_Language_ja_JP}: https://github.com/kanaxx
|
{Resources.AboutForm_AboutForm_Language_ja_JP}: https://github.com/kanaxx
|
||||||
{Resources.AboutForm_AboutForm_Language_ro}: https://github.com/Edward205
|
{Resources.AboutForm_AboutForm_Language_ro}: https://github.com/Edward205
|
||||||
{Resources.AboutForm_AboutForm_Language_pl}: https://github.com/RikoDEV
|
{Resources.AboutForm_AboutForm_Language_pl}: https://github.com/RikoDEV
|
||||||
|
{Resources.AboutForm_AboutForm_Language_he_IL}: https://github.com/E-RELevant
|
||||||
", FontStyle.Regular);
|
", FontStyle.Regular);
|
||||||
|
|
||||||
rtbInfo.AppendLine(Resources.AboutForm_AboutForm_Credits, FontStyle.Bold, 13);
|
rtbInfo.AppendLine(Resources.AboutForm_AboutForm_Credits, FontStyle.Bold, 13);
|
||||||
|
|
|
@ -89,6 +89,9 @@ public static Image GetLanguageIcon(SupportedLanguage language)
|
||||||
case SupportedLanguage.German:
|
case SupportedLanguage.German:
|
||||||
icon = Resources.de;
|
icon = Resources.de;
|
||||||
break;
|
break;
|
||||||
|
case SupportedLanguage.Hebrew:
|
||||||
|
icon = Resources.il;
|
||||||
|
break;
|
||||||
case SupportedLanguage.Hungarian:
|
case SupportedLanguage.Hungarian:
|
||||||
icon = Resources.hu;
|
icon = Resources.hu;
|
||||||
break;
|
break;
|
||||||
|
@ -167,6 +170,9 @@ public static string GetCultureName(SupportedLanguage language)
|
||||||
case SupportedLanguage.German:
|
case SupportedLanguage.German:
|
||||||
cultureName = "de-DE";
|
cultureName = "de-DE";
|
||||||
break;
|
break;
|
||||||
|
case SupportedLanguage.Hebrew:
|
||||||
|
cultureName = "he-IL";
|
||||||
|
break;
|
||||||
case SupportedLanguage.Hungarian:
|
case SupportedLanguage.Hungarian:
|
||||||
cultureName = "hu-HU";
|
cultureName = "hu-HU";
|
||||||
break;
|
break;
|
||||||
|
|
19
ShareX/Properties/Resources.Designer.cs
generated
19
ShareX/Properties/Resources.Designer.cs
generated
|
@ -123,6 +123,15 @@ public static string AboutForm_AboutForm_Language_fr {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Hebrew.
|
||||||
|
/// </summary>
|
||||||
|
public static string AboutForm_AboutForm_Language_he_IL {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("AboutForm_AboutForm_Language_he-IL", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Hungarian.
|
/// Looks up a localized string similar to Hungarian.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1725,6 +1734,16 @@ public static System.Drawing.Bitmap id {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
public static System.Drawing.Bitmap il {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("il", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -1119,4 +1119,10 @@ Middle click to close</value>
|
||||||
<data name="FFmpegDoesNotExistAtTheFollowingPath" xml:space="preserve">
|
<data name="FFmpegDoesNotExistAtTheFollowingPath" xml:space="preserve">
|
||||||
<value>FFmpeg does not exist at the following path:</value>
|
<value>FFmpeg does not exist at the following path:</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="il" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\il.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="AboutForm_AboutForm_Language_he-IL" xml:space="preserve">
|
||||||
|
<value>Hebrew</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
BIN
ShareX/Resources/il.png
Normal file
BIN
ShareX/Resources/il.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 431 B |
|
@ -2279,6 +2279,9 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Resources\openhand.cur" />
|
<None Include="Resources\openhand.cur" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\il.png" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
|
|
Loading…
Reference in a new issue