-
Notifications
You must be signed in to change notification settings - Fork 292
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
Consolidation of localization #2110
Conversation
…t string Encrypt option into SqlConnectionEncryptionOption type.
… than not work?
…o convert string Encrypt option into SqlConnectionEncryptionOption type." This reverts commit 5c505a1.
…o convert string Encrypt option into SqlConnectionEncryptionOption type." This reverts commit 5c505a1.
… 15 less than not work?" This reverts commit cde0430.
Changed csproj to make Strings.resx shows up under netcore/src/Resources and netfx/src/Resources still. Change netfx csproj RootNamespace to Microsoft.Data.SqlClient.
…esults are still identical.
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #2110 +/- ##
=======================================
Coverage 70.01% 70.02%
=======================================
Files 306 305 -1
Lines 61962 62050 +88
=======================================
+ Hits 43383 43450 +67
- Misses 18579 18600 +21
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that time for following the same dynamic generation pattern on .netcore for ResourceNames type as well.
Also, I'd rather mix the .netcore-specific "StringsHelper.NetCore.cs" with the new common cs file.
src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj
Outdated
Show resolved
Hide resolved
Made netcore Strings.ResourceNames.cs dynamically created. Udated MDS nuspec. Added localization unit tests.
.NetCore ResourceNames auto generation pattern has been added. Also, StringsHelper.NetCore.cs has been merged to StringsHelper.cs. |
…gsSource.targets.
src/Microsoft.Data.SqlClient/tests/FunctionalTests/LocalizationTest.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/src/tools/scripts/GenerateResourceStringsSource.ps1
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/FunctionalTests/LocalizationTest.cs
Outdated
Show resolved
Hide resolved
Added License info to GenerateResourceStringsSource.ps1.
src/Microsoft.Data.SqlClient/tests/FunctionalTests/LocalizationTest.cs
Outdated
Show resolved
Hide resolved
Removed a blank line in LocalizationTest.cs.
No description provided.