Added ro flag

This commit is contained in:
Jaex 2022-06-28 17:39:07 +03:00
parent b95f0d78d2
commit 6296c6e494
6 changed files with 21 additions and 5 deletions

View file

@ -332,4 +332,4 @@ public enum TaskViewMode // Localized
ListView,
ThumbnailView
}
}
}

View file

@ -117,7 +117,7 @@ public static Image GetLanguageIcon(SupportedLanguage language)
icon = Resources.br;
break;
case SupportedLanguage.Romanian:
icon = Resources.globe;
icon = Resources.ro;
break;
case SupportedLanguage.Russian:
icon = Resources.ru;

View file

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

View file

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

BIN
ShareX/Resources/ro.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 B

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -1698,7 +1698,7 @@
<DependentUpon>ServiceLinksForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OCR\ServiceLinksForm.ro.resx">
<DependentUpon>ServiceLinksForm.cs</DependentUpon>
<DependentUpon>ServiceLinksForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OCR\ServiceLinksForm.zh-CN.resx">
<DependentUpon>ServiceLinksForm.cs</DependentUpon>
@ -1979,6 +1979,9 @@
<ItemGroup>
<None Include="Resources\images-flickr.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\ro.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>
@ -1995,4 +1998,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>