From 7c8497d8861ba40e273370954dd9fe89f034529d Mon Sep 17 00:00:00 2001 From: Carlos Zamora Date: Wed, 17 Jun 2026 14:05:59 -0700 Subject: [PATCH] reduce loc burden + fix navigator handling --- .../TerminalSettingsEditor/Appearances.xaml | 111 ++++---- .../CommonResources.xaml | 7 +- .../Profiles_Advanced.xaml | 1 - .../Profiles_Appearance.xaml | 6 +- .../TerminalSettingsEditor/Profiles_Base.cpp | 2 + .../TerminalSettingsEditor/Profiles_Base.xaml | 243 ++++++++++-------- .../Profiles_Terminal.xaml | 1 - .../Resources/de-DE/Resources.resw | 22 +- .../Resources/en-US/Resources.resw | 44 ++-- .../Resources/es-ES/Resources.resw | 22 +- .../Resources/fr-FR/Resources.resw | 22 +- .../Resources/it-IT/Resources.resw | 22 +- .../Resources/ja-JP/Resources.resw | 22 +- .../Resources/ko-KR/Resources.resw | 22 +- .../Resources/pt-BR/Resources.resw | 22 +- .../Resources/qps-ploc/Resources.resw | 22 +- .../Resources/qps-ploca/Resources.resw | 22 +- .../Resources/qps-plocm/Resources.resw | 22 +- .../Resources/ru-RU/Resources.resw | 22 +- .../Resources/sr-Cyrl-RS/Resources.resw | 20 +- .../Resources/uk-UA/Resources.resw | 20 +- .../Resources/zh-CN/Resources.resw | 22 +- .../Resources/zh-TW/Resources.resw | 22 +- .../TerminalSettingsEditor/SearchIndex.cpp | 6 +- .../TerminalSettingsEditor/SearchIndex.h | 1 + tools/GenerateSettingsIndex.ps1 | 44 +++- 26 files changed, 344 insertions(+), 448 deletions(-) diff --git a/src/cascadia/TerminalSettingsEditor/Appearances.xaml b/src/cascadia/TerminalSettingsEditor/Appearances.xaml index 078d606040..8b433a84bc 100644 --- a/src/cascadia/TerminalSettingsEditor/Appearances.xaml +++ b/src/cascadia/TerminalSettingsEditor/Appearances.xaml @@ -72,8 +72,7 @@ - + - + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + @@ -496,7 +502,7 @@ + IsEnabled="{x:Bind IsVintageCursor, Mode=OneWay}"> @@ -535,13 +541,13 @@ - + - + - + diff --git a/src/cascadia/TerminalSettingsEditor/CommonResources.xaml b/src/cascadia/TerminalSettingsEditor/CommonResources.xaml index 95199e01a5..58774b7377 100644 --- a/src/cascadia/TerminalSettingsEditor/CommonResources.xaml +++ b/src/cascadia/TerminalSettingsEditor/CommonResources.xaml @@ -177,12 +177,7 @@ - - - diff --git a/src/cascadia/TerminalSettingsEditor/Profiles_Advanced.xaml b/src/cascadia/TerminalSettingsEditor/Profiles_Advanced.xaml index 9adea2aa01..7ecd587ad6 100644 --- a/src/cascadia/TerminalSettingsEditor/Profiles_Advanced.xaml +++ b/src/cascadia/TerminalSettingsEditor/Profiles_Advanced.xaml @@ -35,7 +35,6 @@ Style="{StaticResource DisclaimerStyle}" Visibility="{x:Bind Profile.IsBaseLayer}" /> - + @@ -116,8 +115,7 @@ - + diff --git a/src/cascadia/TerminalSettingsEditor/Profiles_Base.cpp b/src/cascadia/TerminalSettingsEditor/Profiles_Base.cpp index e74ff90ba5..6a4d651d3b 100644 --- a/src/cascadia/TerminalSettingsEditor/Profiles_Base.cpp +++ b/src/cascadia/TerminalSettingsEditor/Profiles_Base.cpp @@ -22,7 +22,9 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation Automation::AutomationProperties::SetFullDescription(StartingDirectoryUseParentCheckbox(), unbox_value(startingDirCheckboxTooltip)); AppearanceNavigator().Header(box_value(RS_(L"Profile_Appearance/Header"))); + AppearanceNavigator().Description(box_value(RS_(L"Profile_AppearanceNavigator/Description"))); TerminalNavigator().Header(box_value(RS_(L"Profile_Terminal/Header"))); + TerminalNavigator().Description(box_value(RS_(L"Profile_TerminalNavigator/Description"))); AdvancedNavigator().Header(box_value(RS_(L"Profile_Advanced/Header"))); } diff --git a/src/cascadia/TerminalSettingsEditor/Profiles_Base.xaml b/src/cascadia/TerminalSettingsEditor/Profiles_Base.xaml index b035df6dd5..b80ed57a80 100644 --- a/src/cascadia/TerminalSettingsEditor/Profiles_Base.xaml +++ b/src/cascadia/TerminalSettingsEditor/Profiles_Base.xaml @@ -32,56 +32,132 @@ Style="{StaticResource DisclaimerStyle}" Visibility="{x:Bind Profile.IsBaseLayer}" /> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Text="{x:Bind Profile.TabTitle, Mode=TwoWay}" /> - - - - - - - + + IsClickEnabled="True"> + + + + + IsClickEnabled="True"> + + + + + IsClickEnabled="True"> + + + + diff --git a/src/cascadia/TerminalSettingsEditor/Profiles_Terminal.xaml b/src/cascadia/TerminalSettingsEditor/Profiles_Terminal.xaml index 32b2c45d0d..b1e6d590c0 100644 --- a/src/cascadia/TerminalSettingsEditor/Profiles_Terminal.xaml +++ b/src/cascadia/TerminalSettingsEditor/Profiles_Terminal.xaml @@ -29,7 +29,6 @@ Style="{StaticResource DisclaimerStyle}" Visibility="{x:Bind Profile.IsBaseLayer}" /> diff --git a/src/cascadia/TerminalSettingsEditor/Resources/de-DE/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/de-DE/Resources.resw index 4142f40e61..9db6d690b9 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/de-DE/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/de-DE/Resources.resw @@ -569,7 +569,7 @@ OSC 777 (Desktop Notification) zum Anzeigen von Popupbenachrichtigungen zulassen {Locked="OSC 777"}{Locked="Desktop Notification"}Header for a control to toggle support for applications to display desktop toast notifications via the OSC 777 escape sequence. - + Wenn diese Option aktiviert ist, können Anwendungen die OSC 777 Escapesequenz senden, um eine Desktopbenachrichtigung mit einem benutzerdefinierten Titel und Text auszulösen. {Locked="OSC 777"}Help text for the OSC 777 desktop notification toggle. @@ -930,7 +930,7 @@ Im Profil verwendete ausführbare Datei. A description for what the "command line" setting does. Presented near "Profile_Commandline". - + Durchsuchen… Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1101,22 +1101,14 @@ Die ausgewählte Schriftart weist keine Schriftartfeatures auf. A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures". - + Profil in Dropdownliste ausblenden Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - Wenn diese Option aktiviert ist, wird das Profil nicht in der Liste der Profile angezeigt. Dies kann verwendet werden, um Standardprofile und dynamisch generierte Profile auszublenden, während sie in Ihrer Einstellungsdatei bleiben. - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - + Dieses Profil als Administrator ausführen Header for a control to toggle whether the profile should always open elevated (in an admin window) - - Wenn diese Option aktiviert ist, wird das Profil automatisch in einem Admin Terminalfenster geöffnet. Wenn das aktuelle Fenster bereits als Administrator ausgeführt wird, wird es in diesem Fenster geöffnet. - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - Größe des Verlaufs Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1213,11 +1205,7 @@ Startverzeichnis Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths. - - Das Verzeichnis, in dem das Profil gestartet wird, wenn es geladen wird. - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + Durchsuchen… Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. diff --git a/src/cascadia/TerminalSettingsEditor/Resources/en-US/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/en-US/Resources.resw index 0edc8c0fd6..611f61b269 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/en-US/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/en-US/Resources.resw @@ -569,7 +569,7 @@ Allow OSC 777 (Desktop Notification) to show toast notifications {Locked="OSC 777"}{Locked="Desktop Notification"}Header for a control to toggle support for applications to display desktop toast notifications via the OSC 777 escape sequence. - + When enabled, applications can send the OSC 777 escape sequence to trigger a desktop notification with a custom title and body. {Locked="OSC 777"}Help text for the OSC 777 desktop notification toggle. @@ -930,7 +930,7 @@ Executable used in the profile. A description for what the "command line" setting does. Presented near "Profile_Commandline". - + Browse... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1101,22 +1101,14 @@ The selected font has no font features. A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures". - + Hide profile from dropdown Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - If enabled, the profile will not appear in the list of profiles. This can be used to hide default profiles and dynamically generated profiles, while leaving them in your settings file. - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - - Run this profile as Administrator + + Run as administrator (uses current window if already elevated) Header for a control to toggle whether the profile should always open elevated (in an admin window) - - If enabled, the profile will open in an Admin terminal window automatically. If the current window is already running as admin, it will open in this window. - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - History size Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1206,18 +1198,14 @@ Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths. - Starting directory + Default starting directory Header for a control to determine the session's initial directory. This is on a text box that accepts folder paths. Starting directory Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths. - - The directory the profile starts in when it is loaded. - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + Browse... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1590,8 +1578,24 @@ Name for a control to determine the name of the profile. This is a text box. + Profile + Header for the profile section of the profile settings page. Shown above a text box that lets the user edit the profile name. + + Name - Header for a control to determine the name of the profile. This is a text box. + Placeholder text shown inside the empty profile name text box, hinting that the user should enter the profile's name here. + + + Visual/UI Affordance + Title of a section in a profile page that groups visual and UI settings (tab title, icon, tab color, etc.). + + + Customize the visual appearance of the profile, including colors, fonts, and text styling. + Description shown below the "Appearance" navigator card on the profile page. + + + Configure how the terminal interprets text and control sequences to behave like a traditional command-line terminal + Description shown below the "Terminal Emulation" navigator card on the profile page. Transparency diff --git a/src/cascadia/TerminalSettingsEditor/Resources/es-ES/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/es-ES/Resources.resw index 0587064226..d70b2c8e6d 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/es-ES/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/es-ES/Resources.resw @@ -569,7 +569,7 @@ Permitir que OSC 777 (Desktop Notification) muestre notificaciones del sistema {Locked="OSC 777"}{Locked="Desktop Notification"}Header for a control to toggle support for applications to display desktop toast notifications via the OSC 777 escape sequence. - + Cuando se habilita, las aplicaciones pueden enviar la secuencia de escape de OSC 777 para desencadenar una notificación de escritorio con un título y un cuerpo personalizados. {Locked="OSC 777"}Help text for the OSC 777 desktop notification toggle. @@ -930,7 +930,7 @@ Ejecutable utilizado en el perfil. A description for what the "command line" setting does. Presented near "Profile_Commandline". - + Examinar... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1101,22 +1101,14 @@ La fuente seleccionada no tiene características de fuente. A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures". - + Ocultar perfil de la lista desplegable Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - Si se habilita, el perfil no aparecerá en la lista de perfiles. Se puede usar para ocultar los perfiles predeterminados y los perfiles generados dinámicamente, al dejarlos en el archivo de configuración. - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - + Ejecutar este perfil como Administrador Header for a control to toggle whether the profile should always open elevated (in an admin window) - - Si se habilita, el perfil se abrirá automáticamente en una ventana de terminal Administración. Si la ventana actual ya se está ejecutando como administrador, se abrirá en esta ventana. - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - Tamaño del historial Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1213,11 +1205,7 @@ Directorio de inicio Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths. - - El directorio en el que se inicia el perfil cuando se carga. - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + Examinar... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. diff --git a/src/cascadia/TerminalSettingsEditor/Resources/fr-FR/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/fr-FR/Resources.resw index 866fb341cb..786bda730e 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/fr-FR/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/fr-FR/Resources.resw @@ -569,7 +569,7 @@ Autoriser OSC 777 (Desktop Notification) à afficher des notifications toast {Locked="OSC 777"}{Locked="Desktop Notification"}Header for a control to toggle support for applications to display desktop toast notifications via the OSC 777 escape sequence. - + Lorsque cette option est activée, les applications peuvent envoyer la séquence d’échappement OSC 777 pour déclencher une notification de bureau avec un titre et un corps personnalisés. {Locked="OSC 777"}Help text for the OSC 777 desktop notification toggle. @@ -930,7 +930,7 @@ Exécutable de profil. A description for what the "command line" setting does. Presented near "Profile_Commandline". - + Parcourir... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1101,22 +1101,14 @@ La police sélectionnée n’a aucune fonctionnalité de police. A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures". - + Masquez le profil de la liste déroulante Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - Si cette option est activée, le profil n’apparaît pas dans la liste des profils. Peut être utilisé pour masquer les profils par défaut et les profils générés dynamiquement, tout en les laissant dans votre fichier de paramètres. - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - + Exécuter ce profil en tant qu’administrateur Header for a control to toggle whether the profile should always open elevated (in an admin window) - - Si cette option est activée, le profil s’ouvre automatiquement dans une fenêtre de terminal Administration. Si la fenêtre active est déjà en cours d’exécution en tant qu’administrateur, elle s’ouvre dans cette fenêtre. - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - Taille de l’historique Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1213,11 +1205,7 @@ Répertoire de démarrage Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths. - - Répertoire dans lequel le shell démarre lorsqu’il est chargé. - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + Parcourir... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. diff --git a/src/cascadia/TerminalSettingsEditor/Resources/it-IT/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/it-IT/Resources.resw index 181a1ca2e8..dec6e651f6 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/it-IT/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/it-IT/Resources.resw @@ -569,7 +569,7 @@ Consenti a OSC 777 (Desktop Notification) di mostrare gli avvisi popup {Locked="OSC 777"}{Locked="Desktop Notification"}Header for a control to toggle support for applications to display desktop toast notifications via the OSC 777 escape sequence. - + Se questa opzione è abilitata, le applicazioni possono inviare la sequenza di escape OSC 777 per attivare una notifica desktop con un titolo e un corpo personalizzati. {Locked="OSC 777"}Help text for the OSC 777 desktop notification toggle. @@ -930,7 +930,7 @@ Eseguibile utilizzato nel profilo. A description for what the "command line" setting does. Presented near "Profile_Commandline". - + Sfoglia... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1101,22 +1101,14 @@ Il tipo di carattere selezionato non ha caratteristiche per i tipi di carattere. A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures". - + Nascondi profilo da elenco a discesa Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - Se questa opzione è abilitata, il profilo non verrà visualizzato nell'elenco dei profili. Può essere usato per nascondere i profili predefiniti e i profili generati dinamicamente, lasciandoli nel file di impostazioni. - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - + Esegui questo profilo come amministratore Header for a control to toggle whether the profile should always open elevated (in an admin window) - - Se questa opzione è abilitata, il profilo verrà aperto automaticamente in una finestra del terminale Amministrazione. Se la finestra corrente è già in esecuzione come amministratore, verrà aperta in questa finestra. - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - Dimensioni cronologia Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1213,11 +1205,7 @@ Directory iniziale Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths. - - La directory che inizia il profilo durante il caricamento. - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + Sfoglia... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. diff --git a/src/cascadia/TerminalSettingsEditor/Resources/ja-JP/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/ja-JP/Resources.resw index 458352042f..47b9490936 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/ja-JP/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/ja-JP/Resources.resw @@ -569,7 +569,7 @@ OSC 777 (Desktop Notification) でトースト通知の表示を許可する {Locked="OSC 777"}{Locked="Desktop Notification"}Header for a control to toggle support for applications to display desktop toast notifications via the OSC 777 escape sequence. - + 有効にすると、アプリケーションは OSC 777 エスケープ シーケンスを送信して、カスタム タイトルと本文を含むデスクトップ通知をトリガーできます。 {Locked="OSC 777"}Help text for the OSC 777 desktop notification toggle. @@ -930,7 +930,7 @@ プロファイルで使用される実行可能ファイル。 A description for what the "command line" setting does. Presented near "Profile_Commandline". - + 参照... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1101,22 +1101,14 @@ 選択したフォントにはフォント機能がありません。 A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures". - + ドロップダウンからプロファイルを非表示にする Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - 有効にした場合、プロファイルはプロファイルの一覧に表示されません。これを使用すると、既定のプロファイルや動的に生成されたプロファイルを設定ファイルに残したまま非表示にすることができます。 - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - + このプロファイルを管理者として実行する Header for a control to toggle whether the profile should always open elevated (in an admin window) - - 有効にすると、プロファイルは自動的にターミナル ウィンドウ管理開きます。現在のウィンドウが既に管理者として実行されている場合は、このウィンドウで開きます。 - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - 履歴のサイズ Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1213,11 +1205,7 @@ 開始ディレクトリ Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths. - - プロファイルが読み込まれたときに開始されるディレクトリです。 - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + 参照... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. diff --git a/src/cascadia/TerminalSettingsEditor/Resources/ko-KR/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/ko-KR/Resources.resw index c12bd0adc9..d752c92a3f 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/ko-KR/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/ko-KR/Resources.resw @@ -569,7 +569,7 @@ OSC 777(Desktop Notification)이 토스트 알림을 표시하도록 허용 {Locked="OSC 777"}{Locked="Desktop Notification"}Header for a control to toggle support for applications to display desktop toast notifications via the OSC 777 escape sequence. - + 사용하도록 설정하면 애플리케이션이 OSC 777 이스케이프 시퀀스를 전송하여 사용자 지정 제목 및 본문을 사용하여 데스크톱 알림을 트리거할 수 있습니다. {Locked="OSC 777"}Help text for the OSC 777 desktop notification toggle. @@ -930,7 +930,7 @@ 프로필에 사용된 실행 파일입니다. A description for what the "command line" setting does. Presented near "Profile_Commandline". - + 찾아보기... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1101,22 +1101,14 @@ 선택한 글꼴에 글꼴 기능이 없습니다. A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures". - + 드롭다운에서 프로필 숨기기 Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - 사용하도록 설정하면 프로필이 프로필 목록에 나타나지 않습니다. 기본 프로필 및 동적으로 생성된 프로필을 설정 파일에 그대로 두는 데 사용할 수 있습니다. - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - + 이 프로필을 관리자 권한으로 실행 Header for a control to toggle whether the profile should always open elevated (in an admin window) - - 사용하도록 설정하면 프로필이 관리 터미널 창에서 자동으로 열립니다. 현재 창이 관리자 권한으로 이미 실행되고 있는 경우 이 창에서 열립니다. - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - 기록 크기 Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1213,11 +1205,7 @@ 시작 디렉터리 Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths. - - 프로필이 로드될 때 시작됩니다. - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + 찾아보기... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. diff --git a/src/cascadia/TerminalSettingsEditor/Resources/pt-BR/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/pt-BR/Resources.resw index 8b65316350..0fbdfe70d4 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/pt-BR/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/pt-BR/Resources.resw @@ -569,7 +569,7 @@ Permitir que OSC 777 (Desktop Notification) mostre notificações do sistema {Locked="OSC 777"}{Locked="Desktop Notification"}Header for a control to toggle support for applications to display desktop toast notifications via the OSC 777 escape sequence. - + Quando habilitados, os aplicativos podem enviar a sequência de escape OSC 777 para disparar uma notificação da área de trabalho com um título e corpo personalizados. {Locked="OSC 777"}Help text for the OSC 777 desktop notification toggle. @@ -930,7 +930,7 @@ Arquivo executável usado no perfil. A description for what the "command line" setting does. Presented near "Profile_Commandline". - + Procurar... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1101,22 +1101,14 @@ A fonte selecionada não tem recursos de fonte. A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures". - + Ocultar perfil da lista suspensa Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - Se habilitado, o perfil não aparecerá na lista de perfis. Isso pode ser usado para ocultar perfis padrão e perfis gerados dinamicamente, deixando-os no arquivo de configurações. - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - + Executar esse perfil como Administrador Header for a control to toggle whether the profile should always open elevated (in an admin window) - - Se habilitado, o perfil será aberto em uma janela Administração terminal automaticamente. Se a janela atual já estiver em execução como administrador, ela será aberta nesta janela. - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - Tamanho de histórico Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1213,11 +1205,7 @@ Diretório inicial Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths. - - A pasta em que o perfil começa quando é carregado. - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + Procurar... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. diff --git a/src/cascadia/TerminalSettingsEditor/Resources/qps-ploc/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/qps-ploc/Resources.resw index 61601dcfef..647f8b4298 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/qps-ploc/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/qps-ploc/Resources.resw @@ -569,7 +569,7 @@ Άľℓôẅ OSC 777 (Desktop Notification) ťõ šђǿщ ŧôášτ ŋòţĩƒíćäťΐóйś !!! !!! !!! !!! !!! !!! ! {Locked="OSC 777"}{Locked="Desktop Notification"}Header for a control to toggle support for applications to display desktop toast notifications via the OSC 777 escape sequence. - + Ẅђĕņ ěňāъłèð, ãφρļїčāтīòήѕ ¢аń ŝëлđ ťĥĕ OSC 777 ēśćάφз şèqüęńĉз τö ťѓĩĝĝєг ā ðĕѕќŧöρ лόтΐƒĩςªτίøп ẃìţн д сџšτõm тįŧŀé āⁿδ вόđÿ. !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !! {Locked="OSC 777"}Help text for the OSC 777 desktop notification toggle. @@ -930,7 +930,7 @@ Эхĕçΰтдьłё ūśëď įñ ţħè рŕòƒĭŀз. !!! !!! !!! A description for what the "command line" setting does. Presented near "Profile_Commandline". - + ßгθшşє... !!! Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1101,22 +1101,14 @@ Τћē ŝэŀëсŧзð ƒőйť нâŝ иο ƒòиŧ ƒėäţцŕэś. !!! !!! !!! !!! A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures". - + Ήîď℮ φябƒίļĕ ƒѓòm ďřóφδόшπ !!! !!! ! Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - Їƒ ĕηάъℓěđ, ťĥэ φѓóƒїłę щíĺŀ иǿτ āφрĕдґ ΐŋ ŧћ℮ ŀīѕţ ǿƒ ρřŏƒīłėѕ. Ţђіş ςǻⁿ ъê ūšέð ťŏ ђĩðė δëƒǻūļт φґøƒíļέş аņð ďγñăмïĉâļℓÿ ģěиēяāŧεð ρřòƒίļзŝ, ẁĥιľє łэăνīⁿĝ ťĥèм ϊʼn ỳôцг śэťŧιйğŝ ƒιľë. !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! ! - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - + Гµл тђįş φѓöƒιļэ åş Λđmįňίšтŕàтоя !!! !!! !!! Header for a control to toggle whether the profile should always open elevated (in an admin window) - - ̃ éņãвļзδ, ŧĥĕ рŗоƒīľё ẅιľł óрėŋ ΐή åň Ąďmįŋ теѓmίидŀ шïпδσώ аůţòмăтìсаļļγ. Ĭƒ ŧĥе čцѓґ℮ⁿť ẁįлđόŵ їŝ áŀřėãďу ŕύŋņïπġ āš αðмīʼn, ϊţ ẁїłℓ òρĕй іп тħΐş ωϊⁿđоẁ. !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! ! - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - Нíşŧôŗỳ ѕιźë !!! Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1213,11 +1205,7 @@ Šтдřтíⁿģ đϊŕёςŧôŗў !!! !! Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths. - - Ţћé đĭŗéçťòŕу τħе рѓøƒĩŀе śťªřťş ïή ẅћĕл îţ ίѕ ŀбдδėď. !!! !!! !!! !!! !!! ! - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + Ьŕōωŝē... !!! Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. diff --git a/src/cascadia/TerminalSettingsEditor/Resources/qps-ploca/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/qps-ploca/Resources.resw index 61601dcfef..647f8b4298 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/qps-ploca/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/qps-ploca/Resources.resw @@ -569,7 +569,7 @@ Άľℓôẅ OSC 777 (Desktop Notification) ťõ šђǿщ ŧôášτ ŋòţĩƒíćäťΐóйś !!! !!! !!! !!! !!! !!! ! {Locked="OSC 777"}{Locked="Desktop Notification"}Header for a control to toggle support for applications to display desktop toast notifications via the OSC 777 escape sequence. - + Ẅђĕņ ěňāъłèð, ãφρļїčāтīòήѕ ¢аń ŝëлđ ťĥĕ OSC 777 ēśćάφз şèqüęńĉз τö ťѓĩĝĝєг ā ðĕѕќŧöρ лόтΐƒĩςªτίøп ẃìţн д сџšτõm тįŧŀé āⁿδ вόđÿ. !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !! {Locked="OSC 777"}Help text for the OSC 777 desktop notification toggle. @@ -930,7 +930,7 @@ Эхĕçΰтдьłё ūśëď įñ ţħè рŕòƒĭŀз. !!! !!! !!! A description for what the "command line" setting does. Presented near "Profile_Commandline". - + ßгθшşє... !!! Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1101,22 +1101,14 @@ Τћē ŝэŀëсŧзð ƒőйť нâŝ иο ƒòиŧ ƒėäţцŕэś. !!! !!! !!! !!! A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures". - + Ήîď℮ φябƒίļĕ ƒѓòm ďřóφδόшπ !!! !!! ! Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - Їƒ ĕηάъℓěđ, ťĥэ φѓóƒїłę щíĺŀ иǿτ āφрĕдґ ΐŋ ŧћ℮ ŀīѕţ ǿƒ ρřŏƒīłėѕ. Ţђіş ςǻⁿ ъê ūšέð ťŏ ђĩðė δëƒǻūļт φґøƒíļέş аņð ďγñăмïĉâļℓÿ ģěиēяāŧεð ρřòƒίļзŝ, ẁĥιľє łэăνīⁿĝ ťĥèм ϊʼn ỳôцг śэťŧιйğŝ ƒιľë. !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! ! - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - + Гµл тђįş φѓöƒιļэ åş Λđmįňίšтŕàтоя !!! !!! !!! Header for a control to toggle whether the profile should always open elevated (in an admin window) - - ̃ éņãвļзδ, ŧĥĕ рŗоƒīľё ẅιľł óрėŋ ΐή åň Ąďmįŋ теѓmίидŀ шïпδσώ аůţòмăтìсаļļγ. Ĭƒ ŧĥе čцѓґ℮ⁿť ẁįлđόŵ їŝ áŀřėãďу ŕύŋņïπġ āš αðмīʼn, ϊţ ẁїłℓ òρĕй іп тħΐş ωϊⁿđоẁ. !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! ! - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - Нíşŧôŗỳ ѕιźë !!! Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1213,11 +1205,7 @@ Šтдřтíⁿģ đϊŕёςŧôŗў !!! !! Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths. - - Ţћé đĭŗéçťòŕу τħе рѓøƒĩŀе śťªřťş ïή ẅћĕл îţ ίѕ ŀбдδėď. !!! !!! !!! !!! !!! ! - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + Ьŕōωŝē... !!! Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. diff --git a/src/cascadia/TerminalSettingsEditor/Resources/qps-plocm/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/qps-plocm/Resources.resw index 61601dcfef..647f8b4298 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/qps-plocm/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/qps-plocm/Resources.resw @@ -569,7 +569,7 @@ Άľℓôẅ OSC 777 (Desktop Notification) ťõ šђǿщ ŧôášτ ŋòţĩƒíćäťΐóйś !!! !!! !!! !!! !!! !!! ! {Locked="OSC 777"}{Locked="Desktop Notification"}Header for a control to toggle support for applications to display desktop toast notifications via the OSC 777 escape sequence. - + Ẅђĕņ ěňāъłèð, ãφρļїčāтīòήѕ ¢аń ŝëлđ ťĥĕ OSC 777 ēśćάφз şèqüęńĉз τö ťѓĩĝĝєг ā ðĕѕќŧöρ лόтΐƒĩςªτίøп ẃìţн д сџšτõm тįŧŀé āⁿδ вόđÿ. !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !! {Locked="OSC 777"}Help text for the OSC 777 desktop notification toggle. @@ -930,7 +930,7 @@ Эхĕçΰтдьłё ūśëď įñ ţħè рŕòƒĭŀз. !!! !!! !!! A description for what the "command line" setting does. Presented near "Profile_Commandline". - + ßгθшşє... !!! Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1101,22 +1101,14 @@ Τћē ŝэŀëсŧзð ƒőйť нâŝ иο ƒòиŧ ƒėäţцŕэś. !!! !!! !!! !!! A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures". - + Ήîď℮ φябƒίļĕ ƒѓòm ďřóφδόшπ !!! !!! ! Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - Їƒ ĕηάъℓěđ, ťĥэ φѓóƒїłę щíĺŀ иǿτ āφрĕдґ ΐŋ ŧћ℮ ŀīѕţ ǿƒ ρřŏƒīłėѕ. Ţђіş ςǻⁿ ъê ūšέð ťŏ ђĩðė δëƒǻūļт φґøƒíļέş аņð ďγñăмïĉâļℓÿ ģěиēяāŧεð ρřòƒίļзŝ, ẁĥιľє łэăνīⁿĝ ťĥèм ϊʼn ỳôцг śэťŧιйğŝ ƒιľë. !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! ! - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - + Гµл тђįş φѓöƒιļэ åş Λđmįňίšтŕàтоя !!! !!! !!! Header for a control to toggle whether the profile should always open elevated (in an admin window) - - ̃ éņãвļзδ, ŧĥĕ рŗоƒīľё ẅιľł óрėŋ ΐή åň Ąďmįŋ теѓmίидŀ шïпδσώ аůţòмăтìсаļļγ. Ĭƒ ŧĥе čцѓґ℮ⁿť ẁįлđόŵ їŝ áŀřėãďу ŕύŋņïπġ āš αðмīʼn, ϊţ ẁїłℓ òρĕй іп тħΐş ωϊⁿđоẁ. !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! ! - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - Нíşŧôŗỳ ѕιźë !!! Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1213,11 +1205,7 @@ Šтдřтíⁿģ đϊŕёςŧôŗў !!! !! Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths. - - Ţћé đĭŗéçťòŕу τħе рѓøƒĩŀе śťªřťş ïή ẅћĕл îţ ίѕ ŀбдδėď. !!! !!! !!! !!! !!! ! - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + Ьŕōωŝē... !!! Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. diff --git a/src/cascadia/TerminalSettingsEditor/Resources/ru-RU/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/ru-RU/Resources.resw index 10b2c6ef4b..e754aeb91c 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/ru-RU/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/ru-RU/Resources.resw @@ -569,7 +569,7 @@ Разрешить OSC 777 (Desktop Notification) отображать всплывающие уведомления {Locked="OSC 777"}{Locked="Desktop Notification"}Header for a control to toggle support for applications to display desktop toast notifications via the OSC 777 escape sequence. - + При включении этого параметра приложения могут отправлять управляющую последовательность OSC 777 для запуска уведомления рабочего стола с произвольными заголовком и текстом. {Locked="OSC 777"}Help text for the OSC 777 desktop notification toggle. @@ -930,7 +930,7 @@ Исполняемый файл, используемый в профиле. A description for what the "command line" setting does. Presented near "Profile_Commandline". - + Открыть... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1101,22 +1101,14 @@ В выбранном шрифте нет компонентов. A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures". - + Скрытие профиля из выпадающего списка Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - Если этот параметр включен, профиль не будет отображаться в списке профилей. Используется для скрытия профилей по умолчанию и динамического создания профилей, которые при этом остаются в файле настроек. - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - + Запустить этот профиль от имени администратора Header for a control to toggle whether the profile should always open elevated (in an admin window) - - Если этот параметр включен, профиль будет автоматически открываться в Администратор терминала. Если текущее окно уже запущено от имени администратора, оно откроется в этом окне. - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - Размер журнала Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1213,11 +1205,7 @@ Начальный каталог Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths. - - Каталог, запускаемый профилем при загрузке. - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + Открыть... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. diff --git a/src/cascadia/TerminalSettingsEditor/Resources/sr-Cyrl-RS/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/sr-Cyrl-RS/Resources.resw index 3d1bdf2189..7c6272c4eb 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/sr-Cyrl-RS/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/sr-Cyrl-RS/Resources.resw @@ -895,7 +895,7 @@ Извршни фајл који се користи у профилу. A description for what the "command line" setting does. Presented near "Profile_Commandline". - + Прегледај... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1066,22 +1066,14 @@ Изабрани фонт нема ниједну особину фонта. A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures". - + Сакриј профил из падајуће листе Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - Ако је укључено, овај профил се неће појављивати у листи профила. Ово може да се употреби за сакривање подразумеваних профила и динамички генерисаних профила, мада се још увек чувају у фајлу подешавања. - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - + Покрећи овај профил као администратор Header for a control to toggle whether the profile should always open elevated (in an admin window) - - Ако је укључено, профил ће се аутоматски отварати у Админ терминалском прозору. Ако се текући прозор већ извршава као админ, отвориће се у том прозору. - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - Величина историје Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1178,11 +1170,7 @@ Почетни директоријум Name for a control to determine the directory the session opens it at launch. This is on a text box that accepts folder paths. - - Директоријум у којем профил почиње онда када се учита. - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + Прегледај... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. diff --git a/src/cascadia/TerminalSettingsEditor/Resources/uk-UA/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/uk-UA/Resources.resw index 2d2b16c847..e3b90eba95 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/uk-UA/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/uk-UA/Resources.resw @@ -914,7 +914,7 @@ Виконуваний файл, який використовувати в профілі. A description for what the "command line" setting does. Presented near "Profile_Commandline". - + Огляд... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1089,22 +1089,14 @@ Загальні Header for a sub-page of profile settings focused on more general scenarios. - + Приховати профіль із спадного меню Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - Якщо ввімкнено, профіль не відображатиметься у списку профілів. Це можна використовувати, щоб приховати типові і динамічно створені профілі, залишивши їх у файлі налаштувань. - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - + Запускати цей профіль як Адміністратор Header for a control to toggle whether the profile should always open elevated (in an admin window) - - Якщо ввімкнено, профіль автоматично відкриватиметься у вікні терміналу Адміністратора. Якщо поточне вікно вже запущено від імені Адміністратора, воно відкриється в цьому вікні. - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - Розмір історії Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1205,11 +1197,7 @@ Каталог при запуску Name for a control to determine the directory the session opens it at launch. This is on a text box that accepts folder paths. - - Початковий каталог при відкритті профілю. - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + Огляд... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. diff --git a/src/cascadia/TerminalSettingsEditor/Resources/zh-CN/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/zh-CN/Resources.resw index ef9e3d5995..216976ff64 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/zh-CN/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/zh-CN/Resources.resw @@ -569,7 +569,7 @@ 允许 OSC 777 (Desktop Notification)显示 toast 通知 {Locked="OSC 777"}{Locked="Desktop Notification"}Header for a control to toggle support for applications to display desktop toast notifications via the OSC 777 escape sequence. - + 启用后,应用程序可以发送 OSC 777 转义序列以触发具有自定义标题和正文的桌面通知。 {Locked="OSC 777"}Help text for the OSC 777 desktop notification toggle. @@ -930,7 +930,7 @@ 在配置文件中所使用的可执行文件。 A description for what the "command line" setting does. Presented near "Profile_Commandline". - + 浏览…… Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1101,22 +1101,14 @@ 所选字体没有字体功能。 A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures". - + 从下拉菜单中隐藏 Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - 如果启用,配置文件将不会显示在配置文件列表中。这可用于隐藏默认配置文件和动态生成的配置文件,同时将它们保留在设置文件中。 - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - + 以管理员身份运行此配置文件 Header for a control to toggle whether the profile should always open elevated (in an admin window) - - 如果启用,配置文件将在管理员终端窗口中自动打开。如果当前窗口已以管理员身份运行,它将在此窗口中打开。 - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - 历史记录大小 Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1213,11 +1205,7 @@ 正在启动目录 Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths. - - 加载配置文件时启动的目录。 - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + 浏览…… Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. diff --git a/src/cascadia/TerminalSettingsEditor/Resources/zh-TW/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/zh-TW/Resources.resw index 132de0f73d..68e0bb098a 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/zh-TW/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/zh-TW/Resources.resw @@ -569,7 +569,7 @@ 允許 OSC 777 (Desktop Notification) 顯示快顯通知 {Locked="OSC 777"}{Locked="Desktop Notification"}Header for a control to toggle support for applications to display desktop toast notifications via the OSC 777 escape sequence. - + 啟用時,應用程式可以傳送 OSC 777 逸出序列,以觸發具有自訂標題和本文的桌面通知。 {Locked="OSC 777"}Help text for the OSC 777 desktop notification toggle. @@ -930,7 +930,7 @@ 用於設定檔中的可執行檔。 A description for what the "command line" setting does. Presented near "Profile_Commandline". - + 瀏覽... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. @@ -1101,22 +1101,14 @@ 選取的字型沒有字型功能。 A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures". - + 在下拉式清單中隱藏設定檔 Header for a control to toggle whether the profile is shown in a dropdown menu, or not. - - 如果啟用,設定檔將不會顯示在設定檔清單中。這可用來隱藏預設設定檔和動態產生的設定檔,同時將它們留在您的設定檔案中。 - A description for what the "hidden" setting does. Presented near "Profile_Hidden". - - + 以系統管理員身分執行此設定檔 Header for a control to toggle whether the profile should always open elevated (in an admin window) - - 如果啟用,配置檔將會自動在 管理員 終端機視窗中開啟。如果目前的視窗已以系統管理員身分執行,則會在此視窗中開啟。 - A description for what the "elevate" setting does. Presented near "Profile_Elevate". - 歷史大小 Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session. @@ -1213,11 +1205,7 @@ 起始目錄 Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths. - - 載入時,設定檔起始的目錄。 - A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory". - - + 瀏覽... Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window. diff --git a/src/cascadia/TerminalSettingsEditor/SearchIndex.cpp b/src/cascadia/TerminalSettingsEditor/SearchIndex.cpp index e8fdb533cf..1e49df3829 100644 --- a/src/cascadia/TerminalSettingsEditor/SearchIndex.cpp +++ b/src/cascadia/TerminalSettingsEditor/SearchIndex.cpp @@ -254,6 +254,10 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation LocalizedIndexEntry localizedEntry; localizedEntry.Entry = &entry; localizedEntry.DisplayTextLocalized = GetLibraryResourceString(entry.ResourceName); + if (!entry.SecondaryResourceName.empty()) + { + localizedEntry.SecondaryLabelLocalized = GetLibraryResourceString(entry.SecondaryResourceName); + } if (shouldIncludeLanguageNeutralResources) { localizedEntry.DisplayTextNeutral = EnglishOnlyResourceLoader().GetLocalizedString(entry.ResourceName); @@ -342,7 +346,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation if (bestScore >= MinimumMatchScore) { - scoredResults.emplace_back(bestScore, winrt::make(index, &entry)); + scoredResults.emplace_back(bestScore, winrt::make(index, &entry, nullptr, std::nullopt, entry.SecondaryLabelLocalized)); } } diff --git a/src/cascadia/TerminalSettingsEditor/SearchIndex.h b/src/cascadia/TerminalSettingsEditor/SearchIndex.h index 276102d7dc..5ad578d073 100644 --- a/src/cascadia/TerminalSettingsEditor/SearchIndex.h +++ b/src/cascadia/TerminalSettingsEditor/SearchIndex.h @@ -20,6 +20,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation { winrt::hstring DisplayTextLocalized; std::optional DisplayTextNeutral = std::nullopt; + winrt::hstring SecondaryLabelLocalized; const IndexEntry* Entry = nullptr; std::array, int>, 2> GetSearchableFields() const; diff --git a/tools/GenerateSettingsIndex.ps1 b/tools/GenerateSettingsIndex.ps1 index 8e43134f36..5ef096c20a 100644 --- a/tools/GenerateSettingsIndex.ps1 +++ b/tools/GenerateSettingsIndex.ps1 @@ -194,6 +194,39 @@ foreach ($xamlFile in Get-ChildItem -Path $SourceDir -Filter *.xaml) File = $filename } } + elseif ($filename -eq "Profiles_Base.xaml") + { + # The navigator cards below are special: + # - no UID because we want to reuse existing resources to reduce localization burden + # - when selected, we want to navigate to the subpage (not focus the navigator) + $navigators = @( + @{ Resource = "Profile_Appearance/Header"; SubPage = "BreadcrumbSubPage::Profile_Appearance" } + @{ Resource = "Profile_Terminal/Header"; SubPage = "BreadcrumbSubPage::Profile_Terminal" } + @{ Resource = "Profile_Advanced/Header"; SubPage = "BreadcrumbSubPage::Profile_Advanced" } + ) + foreach ($nav in $navigators) + { + # Build-time entry: searchable from the profile defaults context + $entries += [pscustomobject]@{ + ResourceName = $nav.Resource + ParentPage = $pageClass + NavigationParam = $ClassMap[$pageClass].NavigationParam + SubPage = $nav.SubPage + ElementName = "" + SecondaryResourceName = "Nav_ProfileDefaults/Content" + File = $filename + } + # Partial entry: instantiated per profile at runtime (the navigation arg is the profile VM). + $entries += [pscustomobject]@{ + ResourceName = $nav.Resource + ParentPage = $pageClass + NavigationParam = $null + SubPage = $nav.SubPage + ElementName = "" + File = $filename + } + } + } # Iterate over all local:SettingsCard and local:SettingsExpander nodes foreach ($settingContainer in ($xml.SelectNodes("//local:SettingsCard", $xm) + $xml.SelectNodes("//local:SettingsExpander", $xm))) @@ -287,8 +320,9 @@ function FormatEntry($e) $formattedResourceName = 'USES_RESOURCE(L"{0}")' -f $e.ResourceName $formattedNavigationParam = 'L"{0}"' -f $e.NavigationParam # null Navigation param resolves to empty string $formattedElementName = 'L"{0}"' -f $e.ElementName + $formattedSecondary = $e.SecondaryResourceName ? (', USES_RESOURCE(L"{0}")' -f $e.SecondaryResourceName) : '' - return " IndexEntry{{ {0}, {1}, {2}, {3} }}, // {4}" -f ($formattedResourceName, $formattedNavigationParam, $e.SubPage, $formattedElementName, $e.File) + return " IndexEntry{{ {0}, {1}, {2}, {3}{5} }}, // {4}" -f ($formattedResourceName, $formattedNavigationParam, $e.SubPage, $formattedElementName, $e.File, $formattedSecondary) } function FormatEntries($es) { @@ -352,6 +386,12 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation // x:Name of the SettingContainer to navigate to on the page (i.e. "DefaultProfile") wil::zwstring_view ElementName; + + // Optional resource name for a secondary label shown beneath the primary label in + // search results (i.e. "Nav_ProfileDefaults/Content" for the profile-defaults page links). + // Empty for most entries. + // NOTE: wrapped in USES_RESOURCE() (when set) for the same compile-time validation as ResourceName. + wil::zwstring_view SecondaryResourceName; }; const std::array& LoadBuildTimeIndex(); @@ -460,4 +500,4 @@ Set-Content -LiteralPath $cppPath -Value $cpp -NoNewline Write-Host "Generated:" Write-Host " $headerPath" -Write-Host " $cppPath" \ No newline at end of file +Write-Host " $cppPath"