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

Conversation

arellegue
Copy link
Contributor

No description provided.

arellegue and others added 20 commits June 8, 2023 10:43
…t string Encrypt option into SqlConnectionEncryptionOption type.
…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.
@arellegue arellegue marked this pull request as ready for review July 31, 2023 17:55
@codecov
Copy link

codecov bot commented Jul 31, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (3cb9730) 70.01% compared to head (181c4bc) 70.02%.
Report is 10 commits behind head on main.

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     
Flag Coverage Δ
addons 92.88% <ø> (ø)
netcore 73.49% <0.00%> (-0.01%) ⬇️
netfx 68.25% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...soft.Data.SqlClient/src/Resources/StringsHelper.cs 51.42% <0.00%> (-39.05%) ⬇️

... and 29 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@DavoudEshtehari DavoudEshtehari added this to the 5.2.0-preview4 milestone Aug 2, 2023
@DavoudEshtehari DavoudEshtehari added the 💡 Enhancement New feature request label Aug 2, 2023
@DavoudEshtehari DavoudEshtehari added this to In progress in SqlClient v5.2 via automation Aug 2, 2023
Copy link
Member

@DavoudEshtehari DavoudEshtehari left a 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.

SqlClient v5.2 automation moved this from In progress to Review in progress Aug 3, 2023
Made netcore Strings.ResourceNames.cs dynamically created.
Udated MDS nuspec.
Added localization unit tests.
@arellegue
Copy link
Contributor Author

.NetCore ResourceNames auto generation pattern has been added. Also, StringsHelper.NetCore.cs has been merged to StringsHelper.cs.

SqlClient v5.2 automation moved this from Review in progress to Reviewer approved Aug 14, 2023
@DavoudEshtehari DavoudEshtehari merged commit 96c56fb into dotnet:main Aug 14, 2023
132 checks passed
SqlClient v5.2 automation moved this from Reviewer approved to Done Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 Enhancement New feature request
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants