Update dialog titles

This commit is contained in:
Jeffrey 2026-05-03 01:05:53 +02:00
parent 87b6f5b7ad
commit c02aff871a
3 changed files with 3 additions and 3 deletions

View File

@ -437,7 +437,7 @@ function Import-Configuration {
# Show native open-file dialog
$openDialog = New-Object Microsoft.Win32.OpenFileDialog
$openDialog.Title = 'Import Configuration'
$openDialog.Title = 'Select Configuration File'
$openDialog.Filter = 'JSON files (*.json)|*.json|All files (*.*)|*.*'
$openDialog.DefaultExt = '.json'

View File

@ -185,7 +185,7 @@ function Show-RestoreBackupDialog {
if ($state.WizardStep -eq 'Registry') {
if (-not $state.SelectedRegistryBackup) {
$openDialog = New-Object Microsoft.Win32.OpenFileDialog
$openDialog.Title = 'Select registry backup file'
$openDialog.Title = 'Select Registry Backup File'
$openDialog.Filter = 'Registry backup (*.json)|*.json|All files (*.*)|*.*'
$openDialog.DefaultExt = '.json'
$openDialog.InitialDirectory = $script:RegistryBackupsPath

View File

@ -32,7 +32,7 @@ function Show-RestoreBackupWindow {
if ($useManualBackupFile) {
$openDialog = New-Object Microsoft.Win32.OpenFileDialog
$openDialog.Title = 'Select Start Menu backup file'
$openDialog.Title = 'Select Start Menu Backup File'
$openDialog.Filter = 'Start Menu backup (*.bak)|*.bak'
$openDialog.InitialDirectory = "$env:LOCALAPPDATA\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState"
$openDialog.DefaultExt = '.bak'