Skip to content

Conversation

@DHowett
Copy link
Member

@DHowett DHowett commented Dec 3, 2025

Well, they might be unused. A weird hacked-together PowerShell script I wrote told me.

@DHowett DHowett changed the title Clean up a bunch of unused resources Clean up a bunch of unused localizations Dec 3, 2025
Copy link
Member

@carlos-zamora carlos-zamora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow. It's cool to see all the changes we've made to Terminal over the years. Thanks for cleaning up the resources!

I really just have that one open question about the MinMaxCloseControl resources.

Comment on lines -487 to -489
<data name="WindowCloseButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Close</value>
</data>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's weird that this one is removed, but the one underneath it is kept.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at MinMaxCloseControl.xaml, looks like we have CloseButton, MaximizeButton, and MinimizeButton. No WindowCloseButton etc (except there is WindowMinimizeButtonToolTip).

I think the right move here is to rename the resources so that they're attached to CloseButton etc. instead of WindowCloseButton etc.

Comment on lines -917 to 864
</data>
<data name="TerminalPage_PaneMovedAnnouncement_ExistingWindow" xml:space="preserve">
<value>Active pane moved to "{0}" tab in "{1}" window</value>
<comment>{Locked="{0}"}{Locked="{1}"}This text is read out by screen readers upon a successful pane movement. {0} is the name of the tab the pane was moved to. {1} is the name of the window the pane was moved to. Replaced in 1.19 by TerminalPage_PaneMovedAnnouncement_ExistingWindow2</comment>
</data>
<data name="TerminalPage_PaneMovedAnnouncement_ExistingWindow2" xml:space="preserve">
<value>Active pane moved to "{0}" window</value>
<comment>{Locked="{0}"}This text is read out by screen readers upon a successful pane movement. {0} is the name of the window the pane was moved to.</comment>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep TerminalPage_PaneMovedAnnouncement_ExistingWindow and update it with the correct value instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants