Added pl flag

This commit is contained in:
Jaex 2022-07-10 09:33:21 +03:00
parent d2098c2126
commit 91d8103650
5 changed files with 18 additions and 2 deletions

View file

@ -111,7 +111,7 @@ public static Image GetLanguageIcon(SupportedLanguage language)
icon = Resources.ir;
break;
case SupportedLanguage.Polish:
icon = Resources.globe;
icon = Resources.pl;
break;
case SupportedLanguage.Portuguese:
icon = Resources.pt;
@ -198,7 +198,7 @@ public static string GetCultureName(SupportedLanguage language)
cultureName = "pt-BR";
break;
case SupportedLanguage.Romanian:
cultureName = "ro";
cultureName = "ro-RO";
break;
case SupportedLanguage.Russian:
cultureName = "ru-RU";

View file

@ -2263,6 +2263,16 @@ public class Resources {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap pl {
get {
object obj = ResourceManager.GetObject("pl", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>

View file

@ -1094,4 +1094,7 @@ Middle click to close</value>
<data name="question" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\question.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="pl" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\pl.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

BIN
ShareX/Resources/pl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

View file

@ -2064,6 +2064,9 @@
<ItemGroup>
<None Include="Resources\question.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\pl.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>