mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-29 17:02:05 +13:00
Added Mexican Spanish to language list
This commit is contained in:
parent
b93c2b4c08
commit
562103977b
6 changed files with 22 additions and 4 deletions
|
@ -57,6 +57,8 @@ public enum SupportedLanguage
|
|||
Italian,
|
||||
[Description("한국어 (Korean)")]
|
||||
Korean,
|
||||
[Description("Español mexicano (Mexican Spanish)")]
|
||||
MexicanSpanish,
|
||||
[Description("Português-Brasil (Portuguese-Brazil)")]
|
||||
PortugueseBrazil,
|
||||
[Description("Русский (Russian)")]
|
||||
|
|
|
@ -101,6 +101,9 @@ public static Image GetLanguageIcon(SupportedLanguage language)
|
|||
case SupportedLanguage.Korean:
|
||||
icon = Resources.kr;
|
||||
break;
|
||||
case SupportedLanguage.MexicanSpanish:
|
||||
icon = Resources.mx;
|
||||
break;
|
||||
case SupportedLanguage.PortugueseBrazil:
|
||||
icon = Resources.br;
|
||||
break;
|
||||
|
@ -161,6 +164,9 @@ public static string GetCultureName(SupportedLanguage language)
|
|||
case SupportedLanguage.Korean:
|
||||
cultureName = "ko-KR";
|
||||
break;
|
||||
case SupportedLanguage.MexicanSpanish:
|
||||
cultureName = "es-MX";
|
||||
break;
|
||||
case SupportedLanguage.PortugueseBrazil:
|
||||
cultureName = "pt-BR";
|
||||
break;
|
||||
|
|
10
ShareX/Properties/Resources.Designer.cs
generated
10
ShareX/Properties/Resources.Designer.cs
generated
|
@ -1809,6 +1809,16 @@ public static System.Drawing.Bitmap monitor {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap mx {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("mx", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
|
@ -979,4 +979,7 @@ Middle click to close</value>
|
|||
<data name="ApplicationSettingsForm_btnResetSettings_Click_WouldYouLikeToResetShareXSettings" xml:space="preserve">
|
||||
<value>Would you like to reset ShareX settings?</value>
|
||||
</data>
|
||||
<data name="mx" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\mx.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
BIN
ShareX/Resources/mx.png
Normal file
BIN
ShareX/Resources/mx.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 574 B |
|
@ -1631,12 +1631,9 @@
|
|||
<None Include="Resources\image-saturation.png" />
|
||||
<None Include="Resources\pipette.png" />
|
||||
<None Include="Resources\cursor.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\ua.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\id.png" />
|
||||
<None Include="Resources\mx.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json">
|
||||
|
|
Loading…
Reference in a new issue