mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-28 23:42:13 +12:00
#4774: Added Portuguese to settings
This commit is contained in:
parent
87d39b0ec6
commit
b8d9a36a6b
8 changed files with 41 additions and 1 deletions
|
@ -159,7 +159,9 @@
|
||||||
<Compile Include="Input\KeyboardHook.cs" />
|
<Compile Include="Input\KeyboardHook.cs" />
|
||||||
<Compile Include="NameParser\CodeMenuEntryActions.cs" />
|
<Compile Include="NameParser\CodeMenuEntryActions.cs" />
|
||||||
<Compile Include="ClipboardFormat.cs" />
|
<Compile Include="ClipboardFormat.cs" />
|
||||||
<Compile Include="NameParser\CodeMenu.cs" />
|
<Compile Include="NameParser\CodeMenu.cs">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
<Compile Include="ColorMatrixManager.cs" />
|
<Compile Include="ColorMatrixManager.cs" />
|
||||||
<Compile Include="Colors\CMYK.cs" />
|
<Compile Include="Colors\CMYK.cs" />
|
||||||
<Compile Include="Colors\ColorEventHandler.cs" />
|
<Compile Include="Colors\ColorEventHandler.cs" />
|
||||||
|
@ -1221,6 +1223,7 @@
|
||||||
<EmbeddedResource Include="Properties\Resources.ko-KR.resx" />
|
<EmbeddedResource Include="Properties\Resources.ko-KR.resx" />
|
||||||
<EmbeddedResource Include="Properties\Resources.nl-NL.resx" />
|
<EmbeddedResource Include="Properties\Resources.nl-NL.resx" />
|
||||||
<EmbeddedResource Include="Properties\Resources.pt-BR.resx" />
|
<EmbeddedResource Include="Properties\Resources.pt-BR.resx" />
|
||||||
|
<EmbeddedResource Include="Properties\Resources.pt-PT.resx" />
|
||||||
<EmbeddedResource Include="Properties\Resources.ru.resx" />
|
<EmbeddedResource Include="Properties\Resources.ru.resx" />
|
||||||
<EmbeddedResource Include="Properties\Resources.tr.resx" />
|
<EmbeddedResource Include="Properties\Resources.tr.resx" />
|
||||||
<EmbeddedResource Include="Properties\Resources.uk.resx" />
|
<EmbeddedResource Include="Properties\Resources.uk.resx" />
|
||||||
|
|
|
@ -65,6 +65,8 @@ public enum SupportedLanguage
|
||||||
MexicanSpanish,
|
MexicanSpanish,
|
||||||
[Description("فارسی (Persian)")]
|
[Description("فارسی (Persian)")]
|
||||||
Persian,
|
Persian,
|
||||||
|
[Description("Português (Portuguese)")]
|
||||||
|
Portuguese,
|
||||||
[Description("Português-Brasil (Portuguese-Brazil)")]
|
[Description("Português-Brasil (Portuguese-Brazil)")]
|
||||||
PortugueseBrazil,
|
PortugueseBrazil,
|
||||||
[Description("Русский (Russian)")]
|
[Description("Русский (Russian)")]
|
||||||
|
|
|
@ -100,6 +100,7 @@ public AboutForm()
|
||||||
{Resources.AboutForm_AboutForm_Language_uk}: https://github.com/6c6c6
|
{Resources.AboutForm_AboutForm_Language_uk}: https://github.com/6c6c6
|
||||||
{Resources.AboutForm_AboutForm_Language_id_ID}: https://github.com/Nicedward
|
{Resources.AboutForm_AboutForm_Language_id_ID}: https://github.com/Nicedward
|
||||||
{Resources.AboutForm_AboutForm_Language_es_MX}: https://github.com/absay
|
{Resources.AboutForm_AboutForm_Language_es_MX}: https://github.com/absay
|
||||||
|
{Resources.AboutForm_AboutForm_Language_pt_PT}: https://github.com/FarewellAngelina
|
||||||
|
|
||||||
{Resources.AboutForm_AboutForm_External_libraries}:
|
{Resources.AboutForm_AboutForm_External_libraries}:
|
||||||
|
|
||||||
|
|
|
@ -107,6 +107,9 @@ public static Image GetLanguageIcon(SupportedLanguage language)
|
||||||
case SupportedLanguage.Persian:
|
case SupportedLanguage.Persian:
|
||||||
icon = Resources.ir;
|
icon = Resources.ir;
|
||||||
break;
|
break;
|
||||||
|
case SupportedLanguage.Portuguese:
|
||||||
|
icon = Resources.pt;
|
||||||
|
break;
|
||||||
case SupportedLanguage.PortugueseBrazil:
|
case SupportedLanguage.PortugueseBrazil:
|
||||||
icon = Resources.br;
|
icon = Resources.br;
|
||||||
break;
|
break;
|
||||||
|
@ -173,6 +176,9 @@ public static string GetCultureName(SupportedLanguage language)
|
||||||
case SupportedLanguage.Persian:
|
case SupportedLanguage.Persian:
|
||||||
cultureName = "fa-IR";
|
cultureName = "fa-IR";
|
||||||
break;
|
break;
|
||||||
|
case SupportedLanguage.Portuguese:
|
||||||
|
cultureName = "pt-PT";
|
||||||
|
break;
|
||||||
case SupportedLanguage.PortugueseBrazil:
|
case SupportedLanguage.PortugueseBrazil:
|
||||||
cultureName = "pt-BR";
|
cultureName = "pt-BR";
|
||||||
break;
|
break;
|
||||||
|
|
19
ShareX/Properties/Resources.Designer.cs
generated
19
ShareX/Properties/Resources.Designer.cs
generated
|
@ -177,6 +177,15 @@ public static string AboutForm_AboutForm_Language_pt_BR {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Portuguese.
|
||||||
|
/// </summary>
|
||||||
|
public static string AboutForm_AboutForm_Language_pt_PT {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("AboutForm_AboutForm_Language_pt_PT", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Russian.
|
/// Looks up a localized string similar to Russian.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -2062,6 +2071,16 @@ public static string Program_WritePersonalPathConfig_Cant_access_to_file {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
public static System.Drawing.Bitmap pt {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("pt", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Input text to encode.
|
/// Looks up a localized string similar to Input text to encode.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -1033,4 +1033,10 @@ Middle click to close</value>
|
||||||
<data name="edit_scale_white" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="edit_scale_white" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\edit-scale-white.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\edit-scale-white.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="pt" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\pt.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="AboutForm_AboutForm_Language_pt_PT" xml:space="preserve">
|
||||||
|
<value>Portuguese</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
BIN
ShareX/Resources/pt.png
Normal file
BIN
ShareX/Resources/pt.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 554 B |
|
@ -1760,6 +1760,9 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Resources\edit-scale-white.png" />
|
<None Include="Resources\edit-scale-white.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\pt.png" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
|
|
Loading…
Reference in a new issue