Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidation of localization #2110

Merged
merged 27 commits into from Aug 14, 2023
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
5c505a1
Add SqlConnectionEncryptOptionConverter class which is used to conver…
arellegue Jun 8, 2023
9b9af7e
Merge branch 'main' of https://github.com/arellegue/SqlClient
arellegue Jun 8, 2023
cde0430
Fixed Issue #1126 .NET Core SqlConnection ConnectTimout 15 less than …
arellegue Jun 13, 2023
1f41e2d
Merge branch 'dotnet:main' into main
arellegue Jun 16, 2023
deac068
Revert "Add SqlConnectionEncryptOptionConverter class which is used t…
arellegue Jun 16, 2023
bf78858
Revert "Add SqlConnectionEncryptOptionConverter class which is used t…
arellegue Jun 16, 2023
2028759
Revert "Fixed Issue #1126 .NET Core SqlConnection ConnectTimout 15 le…
arellegue Jun 16, 2023
ede78dc
Merge branch 'main' of https://github.com/arellegue/SqlClient
arellegue Jun 16, 2023
cd55e44
Merge branch 'dotnet:main' into main
arellegue Jun 27, 2023
fb748b9
Merge branch 'dotnet:main' into main
arellegue Jun 27, 2023
5305cdf
Merge branch 'dotnet:main' into main
arellegue Jul 11, 2023
4ce5bd9
Moved Strings.resx to ../../src/Resources folder.
arellegue Jul 18, 2023
e2cad4c
Regenerate Strings.Designer.cs from netcore and netfx to ensure the …
arellegue Jul 18, 2023
ba3aed1
Added string resource for testing of Localization Pipeline
arellegue Jul 18, 2023
8bf2a47
Added test string.
arellegue Jul 19, 2023
907bc61
Testing for Pipeline.
arellegue Jul 19, 2023
b27d3bd
Add test string 3 for pipeline manual test.
arellegue Jul 19, 2023
af7297a
Add localization test string.
arellegue Jul 21, 2023
4a06b1b
Added one more string to localize.
arellegue Jul 26, 2023
b3a926e
Remove test strings to localize.
arellegue Jul 31, 2023
fea7335
Removed blank lines in the .netcore project file.
arellegue Aug 3, 2023
4d261ee
Consolidated netcore and netfx StringHelper class.
arellegue Aug 9, 2023
847e3ea
Add powershell command for linux environment in GenerateResourceStrin…
arellegue Aug 9, 2023
98281b9
Refactored LocalizationTest class to use Theory and InlineData.
arellegue Aug 10, 2023
be79f20
Remove unused using and sorted remaining.
arellegue Aug 10, 2023
dcc4693
Added if preprocessor for netcore merged code into StringsHelper.cs.
arellegue Aug 11, 2023
181c4bc
Replaced misplaced tabs with spaces instead in Directory.Build.props.
arellegue Aug 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Expand Up @@ -44,7 +44,7 @@
<SqlServerSourceCode>$(ProjectDir)Microsoft.SqlServer.Server\</SqlServerSourceCode>
<NetCoreSource>$(ManagedSourceCode)netcore\</NetCoreSource>
<NetFxSource>$(ManagedSourceCode)netfx\</NetFxSource>
<NetFxResources>$(ManagedSourceCode)netfx\src\Resources\</NetFxResources>
<NetFxResources>$(ManagedSourceCode)src\Resources\</NetFxResources>
<AddOnsPath>$(ManagedSourceCode)add-ons\</AddOnsPath>
<SqlServerSource>$(RepoRoot)src\Microsoft.SqlServer.Server\</SqlServerSource>
<ObjFolder>$(Artifacts)obj\</ObjFolder>
Expand Down
Expand Up @@ -495,9 +495,11 @@
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlStream.cs">
<Link>Microsoft\Data\SqlClient\SqlStream.cs</Link>
</Compile>
<Compile Include="..\..\src\Resources\ResCategoryAttribute.cs">

<Compile Include="..\..\src\Resources\ResCategoryAttribute.cs">
arellegue marked this conversation as resolved.
Show resolved Hide resolved
<Link>Resources\ResCategoryAttribute.cs</Link>
</Compile>

arellegue marked this conversation as resolved.
Show resolved Hide resolved
<Compile Include="..\..\src\Resources\ResDescriptionAttribute.cs">
<Link>Resources\ResDescriptionAttribute.cs</Link>
</Compile>
Expand Down Expand Up @@ -571,19 +573,25 @@
<Compile Include="Microsoft\Data\SqlClient\SqlConnectionFactory.AssemblyLoadContext.cs" />
</ItemGroup>
<ItemGroup Condition="'$(OSGroup)' != 'AnyOS'">

arellegue marked this conversation as resolved.
Show resolved Hide resolved
<Compile Include="Resources\StringsHelper.cs">
<Link>Resources\StringsHelper.NetCore.cs</Link>
</Compile>
<Compile Include="Resources\Strings.Designer.cs">

arellegue marked this conversation as resolved.
Show resolved Hide resolved
<Compile Include="..\..\src\Resources\Strings.Designer.cs">
<Link>Resources\Strings.Designer.cs</Link>
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Strings.resx</DependentUpon>
</Compile>
<EmbeddedResource Update="Resources\Strings.resx">

arellegue marked this conversation as resolved.
Show resolved Hide resolved
<EmbeddedResource Include="..\..\src\Resources\Strings.resx">
<Link>Resources\Strings.resx</Link>
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
<CustomToolNamespace>System</CustomToolNamespace>
</EmbeddedResource>

arellegue marked this conversation as resolved.
Show resolved Hide resolved
<Compile Include="$(CommonPath)\CoreLib\System\Threading\Tasks\TaskToApm.cs">
<Link>Common\CoreLib\System\Threading\Tasks\TaskToApm.cs</Link>
</Compile>
Expand Down