-
Notifications
You must be signed in to change notification settings - Fork 9k
Clean up a bunch of unused localizations #19613
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -149,12 +149,6 @@ | |
| <data name="SettingsValidateErrorTitle" xml:space="preserve"> | ||
| <value>Encountered errors while loading user settings</value> | ||
| </data> | ||
| <data name="KeyboardServiceDisabledDialog.PrimaryButtonText" xml:space="preserve"> | ||
| <value>OK</value> | ||
| </data> | ||
| <data name="KeyboardServiceDisabledDialog.Title" xml:space="preserve"> | ||
| <value>Warning:</value> | ||
| </data> | ||
| <data name="KeyboardServiceWarningText" xml:space="preserve"> | ||
| <value>The "{0}" isn't running on your machine. This can prevent the Terminal from receiving keyboard input.</value> | ||
| <comment>{0} will be replaced with the OS-localized name of the TabletInputService</comment> | ||
|
|
@@ -165,28 +159,12 @@ | |
| <data name="ReloadJsonParseErrorTitle" xml:space="preserve"> | ||
| <value>Failed to reload settings</value> | ||
| </data> | ||
| <data name="FeedbackUriValue" xml:space="preserve"> | ||
| <value>https://go.microsoft.com/fwlink/?linkid=2125419</value> | ||
| <comment>{Locked}This is a FWLink, so it will be localized with the fwlink tool</comment> | ||
| </data> | ||
| <data name="AboutMenuItem" xml:space="preserve"> | ||
| <value>About</value> | ||
| </data> | ||
| <data name="FeedbackMenuItem" xml:space="preserve"> | ||
| <value>Feedback</value> | ||
| </data> | ||
| <data name="SettingsMenuItem" xml:space="preserve"> | ||
| <value>Settings</value> | ||
| </data> | ||
| <data name="Cancel" xml:space="preserve"> | ||
| <value>Cancel</value> | ||
| </data> | ||
| <data name="CloseAll" xml:space="preserve"> | ||
| <value>Close all</value> | ||
| </data> | ||
| <data name="Quit" xml:space="preserve"> | ||
| <value>Quit</value> | ||
| </data> | ||
| <data name="MultiplePanes" xml:space="preserve"> | ||
| <value>Multiple panes</value> | ||
| </data> | ||
|
|
@@ -293,17 +271,6 @@ | |
| <value>• The specified "theme" was not found in the list of themes. Temporarily falling back to the default value.</value> | ||
| <comment>{Locked="•"} This glyph is a bullet, used in a bulleted list.</comment> | ||
| </data> | ||
| <data name="LegacyGlobalsProperty" xml:space="preserve"> | ||
| <value>The "globals" property is deprecated - your settings might need updating. </value> | ||
| <comment>{Locked="\"globals\""} </comment> | ||
| </data> | ||
| <data name="LegacyGlobalsPropertyHrefUrl" xml:space="preserve"> | ||
| <value>https://go.microsoft.com/fwlink/?linkid=2128258</value> | ||
| <comment>{Locked}This is a FWLink, so it will be localized with the fwlink tool</comment> | ||
| </data> | ||
| <data name="LegacyGlobalsPropertyHrefLabel" xml:space="preserve"> | ||
| <value>For more info, see this web page.</value> | ||
| </data> | ||
| <data name="FailedToParseCommandJson" xml:space="preserve"> | ||
| <value>Failed to expand a command with "iterateOn" set. This command will be ignored.</value> | ||
| <comment>{Locked="\"iterateOn\""} </comment> | ||
|
|
@@ -484,21 +451,12 @@ | |
| <data name="ElevatedRun.Text" xml:space="preserve"> | ||
| <value>Ctrl+Click to open as administrator</value> | ||
| </data> | ||
| <data name="WindowCloseButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> | ||
| <value>Close</value> | ||
| </data> | ||
| <data name="WindowCloseButton.[using:Windows.UI.Xaml.Controls]ToolTipService.ToolTip" xml:space="preserve"> | ||
| <value>Close</value> | ||
| </data> | ||
| <data name="WindowCloseButtonToolTip.Text" xml:space="preserve"> | ||
| <value>Close</value> | ||
| </data> | ||
| <data name="WindowMaximizeButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> | ||
| <value>Maximize</value> | ||
| </data> | ||
| <data name="WindowMinimizeButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> | ||
| <value>Minimize</value> | ||
| </data> | ||
| <data name="WindowMinimizeButton.[using:Windows.UI.Xaml.Controls]ToolTipService.ToolTip" xml:space="preserve"> | ||
| <value>Minimize</value> | ||
| </data> | ||
|
|
@@ -518,10 +476,6 @@ | |
| <value>Version:</value> | ||
| <comment>This is the heading for a version number label</comment> | ||
| </data> | ||
| <data name="AboutDialog_GettingStartedLink.Content" xml:space="preserve"> | ||
| <value>Getting started</value> | ||
| <comment>A hyperlink name for a guide on how to get started using Terminal</comment> | ||
| </data> | ||
| <data name="AboutDialog_SourceCodeLink.Content" xml:space="preserve"> | ||
| <value>Source code</value> | ||
| <comment>A hyperlink name for the Terminal's documentation</comment> | ||
|
|
@@ -797,18 +751,9 @@ | |
| <data name="ExportTabText" xml:space="preserve"> | ||
| <value>Export text</value> | ||
| </data> | ||
| <data name="ExportFailure" xml:space="preserve"> | ||
| <value>Failed to export terminal content</value> | ||
| </data> | ||
| <data name="ExportSuccess" xml:space="preserve"> | ||
| <value>Successfully exported terminal content</value> | ||
| </data> | ||
| <data name="FindText" xml:space="preserve"> | ||
| <value>Find</value> | ||
| </data> | ||
| <data name="PlainText" xml:space="preserve"> | ||
| <value>Plain text</value> | ||
| </data> | ||
| <data name="CloseOnExitInfoBar.Message" xml:space="preserve"> | ||
| <value>Termination behavior can be configured in advanced profile settings.</value> | ||
| </data> | ||
|
|
@@ -914,10 +859,6 @@ | |
| <value>"{0}" tab moved to position "{1}"</value> | ||
| <comment>{Locked="{0}"}{Locked="{1}"}This text is read out by screen readers upon a successful tab movement. {0} is the name of the tab. {1} is the new tab index in the tab row.</comment> | ||
| </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> | ||
|
Comment on lines
-917
to
864
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we keep
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Eh. It's not worth causing the loc to "churn" while everything rediscovers that the old key has the new value. |
||
|
|
@@ -982,4 +923,4 @@ | |
| <data name="InvalidRegex" xml:space="preserve"> | ||
| <value>An invalid regular expression was found.</value> | ||
| </data> | ||
| </root> | ||
| </root> | ||
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's weird that this one is removed, but the one underneath it is kept.
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.
Looking at MinMaxCloseControl.xaml, looks like we have
CloseButton,MaximizeButton, andMinimizeButton. NoWindowCloseButtonetc (except there isWindowMinimizeButtonToolTip).I think the right move here is to rename the resources so that they're attached to
CloseButtonetc. instead ofWindowCloseButtonetc.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.
They're just not used, actually. Mike noted in #11680 that he had to manually create and display the tooltips.
The accessibility stuff has been unhooked since then too. In 2021.