fix: to #157015 fix view label command localized#193544
fix: to #157015 fix view label command localized#193544TylerLeonhardt merged 22 commits intomicrosoft:mainfrom
Conversation
|
Awesome! Looks like you do have a couple of issues still: From the CI |
src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/editSessions/browser/editSessionsViews.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/userDataSync/browser/userDataSyncViews.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.ts
Show resolved
Hide resolved
TylerLeonhardt
left a comment
There was a problem hiding this comment.
This is super close! Just a few comments
Copilot-based TS refactors
…deer add workspace tags
add comment help info to diff help dialog
…t-code-mappers-context support getting various document ranges from InteractiveSessionProviders
0328d1f to
896e2ea
Compare
|
FYI we are currently in the middle of a release right now, so I want to hold off on getting this in til next week. That way we can let it sit in Insiders for a bit to make sure we don't cause any regressions due to the number of files changed. I think the PR is ready, but I'll approve and merge early next week. |
src/vs/workbench/services/views/test/browser/viewDescriptorService.test.ts
Show resolved
Hide resolved
2687aa3 to
c91a12f
Compare
|
@yiliang114 I hope you don't hate me for this but I just added a new thing that will make this PR much smaller and have less duplicate strings. I have added a { value: nls.localize({ comment: ['Debug is a noun in this context, not a verb.'], key: 'debugPanel' }, "Debug Console"), original: 'Debug Console' }with a much simpler: nls.localize2({ comment: ['Debug is a noun in this context, not a verb.'], key: 'debugPanel' }, "Debug Console")this function returns an Can you move over to using that so the code is easier to maintain and we don't need to have two of the same string next to each other? I think this won't apply to everything in your PR but probably about 80-90% if the cases. |
Haha, it looks better this way. Let me try again. |
…t-code-mappers-context support getting various document ranges from InteractiveSessionProviders
c91a12f to
5fd1e02
Compare
|
Please help me review the code again when you are free @TylerLeonhardt , I did not encountered an error when I compiled locally. |
TylerLeonhardt
left a comment
There was a problem hiding this comment.
LGTM thanks for taking this on!
|
|
||
| test('empty model', function () { | ||
| container = ViewContainerRegistry.registerViewContainer({ id: 'test', title: { value: 'test', original: 'test' }, ctorDescriptor: new SyncDescriptor(<any>{}) }, ViewContainerLocation.Sidebar); | ||
| container = ViewContainerRegistry.registerViewContainer({ id: 'test', title: nls.localize2('test', 'test'), ctorDescriptor: new SyncDescriptor(<any>{}) }, ViewContainerLocation.Sidebar); |
There was a problem hiding this comment.
These will be excluded from the actual localization process, right?
…193544) * fix: to microsoft#157015 fix view label command localized * chore: save * Fixes microsoft#157015 * Fixes microsoft#157015 * Fixes microsoft#157015 * Fixes microsoft#157015 * Fixes microsoft#157015 * Fixes microsoft#157015 * fix: use nls.localize2 to simplified code * fix: use nls.localize2 to simplified code * fix: use nls.localize2 to simplified code --------- Co-authored-by: Johannes Rieken <[email protected]> Co-authored-by: Isidor Nikolic <[email protected]> Co-authored-by: Megan Rogge <[email protected]> Co-authored-by: Ulugbek Abdullaev <[email protected]>
…tring` (microsoft#195709) Fixes microsoft#195518 regressed in microsoft#193544


Fixes #157015