Skip to content

Commit

Permalink
Remove SupportedCultures attribute.
Browse files Browse the repository at this point in the history
Add missing languages.
  • Loading branch information
alxnull committed Oct 11, 2020
1 parent 0bd9bae commit 9774030
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
4 changes: 3 additions & 1 deletion ScreenRuler/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using Bluegrams.Application.Attributes;

Expand All @@ -14,7 +15,6 @@
[assembly: ProductWebsite("https://screenruler.sourceforge.io")]
[assembly: ProductLicense("https://github.com/Bluegrams/ScreenRuler/blob/master/LICENSE.txt", "BSD-3-Clause")]
[assembly: CompanyWebsite("http://bluegrams.com", "Bluegrams")]
[assembly: SupportedCultures("en", "de", "es", "zh-CN", "it")]

#if PORTABLE
[assembly: AppPortable(true)]
Expand All @@ -28,5 +28,7 @@
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("67b8f96e-8237-4c57-983b-a2ca5bddc9ae")]

[assembly: NeutralResourcesLanguage("en")]

[assembly: AssemblyVersion("0.7.0")]
[assembly: AssemblyFileVersion("0.7.0")]
27 changes: 25 additions & 2 deletions ScreenRuler/ScreenRuler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="AppHelpers.WinForms, Version=0.1.0.9, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\AppHelpers.WinForms.0.1.0-beta9\lib\net45\AppHelpers.WinForms.dll</HintPath>
<Reference Include="AppHelpers.WinForms, Version=0.1.0.11, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\AppHelpers.WinForms.0.1.0-rc2\lib\net45\AppHelpers.WinForms.dll</HintPath>
</Reference>
<Reference Include="Costura, Version=3.3.3.0, Culture=neutral, PublicKeyToken=9919ef960d84173d, processorArchitecture=MSIL">
<HintPath>..\packages\Costura.Fody.3.3.3\lib\net40\Costura.dll</HintPath>
Expand Down Expand Up @@ -175,6 +175,9 @@
<EmbeddedResource Include="Forms\CalibrationForm.es.resx">
<DependentUpon>CalibrationForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\CalibrationForm.fi.resx">
<DependentUpon>CalibrationForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\CalibrationForm.ml.resx">
<DependentUpon>CalibrationForm.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -203,6 +206,9 @@
<DependentUpon>CustomLineForm.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\CustomLineForm.fi.resx">
<DependentUpon>CustomLineForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\CustomLineForm.ml.resx">
<DependentUpon>CustomLineForm.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -231,6 +237,9 @@
<EmbeddedResource Include="Forms\HelpForm.es.resx">
<DependentUpon>HelpForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\HelpForm.fi.resx">
<DependentUpon>HelpForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\HelpForm.ml.resx">
<DependentUpon>HelpForm.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -258,6 +267,9 @@
<EmbeddedResource Include="Forms\MarkerListForm.es.resx">
<DependentUpon>MarkerListForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\MarkerListForm.fi.resx">
<DependentUpon>MarkerListForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\MarkerListForm.ml.resx">
<DependentUpon>MarkerListForm.cs</DependentUpon>
</EmbeddedResource>
Expand All @@ -271,6 +283,9 @@
<DependentUpon>MarkerListForm.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\RulerForm.fi.resx">
<DependentUpon>RulerForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\RulerForm.ml.resx">
<DependentUpon>RulerForm.cs</DependentUpon>
</EmbeddedResource>
Expand All @@ -283,6 +298,9 @@
<EmbeddedResource Include="Forms\RulerForm.pt-PT.resx">
<DependentUpon>RulerForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\SetSizeForm.fi.resx">
<DependentUpon>SetSizeForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\SetSizeForm.ml.resx">
<DependentUpon>SetSizeForm.cs</DependentUpon>
</EmbeddedResource>
Expand All @@ -295,6 +313,9 @@
<EmbeddedResource Include="Forms\SetSizeForm.pt-PT.resx">
<DependentUpon>SetSizeForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\SettingsForm.fi.resx">
<DependentUpon>SettingsForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\SettingsForm.ml.resx">
<DependentUpon>SettingsForm.cs</DependentUpon>
</EmbeddedResource>
Expand All @@ -307,6 +328,7 @@
<EmbeddedResource Include="Forms\SettingsForm.pt-PT.resx">
<DependentUpon>SettingsForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\EnumResources.fi.resx" />
<EmbeddedResource Include="Properties\EnumResources.pl.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>EnumResources.pl.Designer.cs</LastGenOutput>
Expand All @@ -328,6 +350,7 @@
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>EnumResources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.fi.resx" />
<EmbeddedResource Include="Properties\Resources.pl.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.pl.Designer.cs</LastGenOutput>
Expand Down
2 changes: 1 addition & 1 deletion ScreenRuler/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="AppHelpers.WinForms" version="0.1.0-beta9" targetFramework="net45" />
<package id="AppHelpers.WinForms" version="0.1.0-rc2" targetFramework="net45" />
<package id="Costura.Fody" version="3.3.3" targetFramework="net45" />
<package id="Fody" version="4.0.2" targetFramework="net45" developmentDependency="true" />
<package id="PortableSettingsProvider" version="0.2.3" targetFramework="net45" />
Expand Down

0 comments on commit 9774030

Please sign in to comment.