diff --git a/chezmoi/.chezmoiscripts/run_20-configure-windows-terminal.ps1 b/chezmoi/.chezmoiscripts/run_20-configure-windows-terminal.ps1 index 51ac11a..5ea0cd7 100644 --- a/chezmoi/.chezmoiscripts/run_20-configure-windows-terminal.ps1 +++ b/chezmoi/.chezmoiscripts/run_20-configure-windows-terminal.ps1 @@ -228,12 +228,12 @@ $Settings.profiles.list = $OrderedArray # ── Запись, только если что-то реально изменилось ───────────────────── if (-not $Changed) { - Write-Host 'Windows Terminal: настройки уже соответствуют baseline.' + Write-Host 'Windows Terminal: settings already match baseline.' return } $BackupPath = '{0}.bak-{1}' -f $SettingsPath, (Get-Date -Format 'yyyyMMdd-HHmmss') Copy-Item -LiteralPath $SettingsPath -Destination $BackupPath -Force $Settings | ConvertTo-Json -Depth 100 | Set-Content -LiteralPath $SettingsPath -Encoding utf8BOM -Write-Host "Windows Terminal: обновлено $SettingsPath" -Write-Host "Бэкап: $BackupPath" +Write-Host "Windows Terminal: updated $SettingsPath" +Write-Host "Backup: $BackupPath" diff --git a/chezmoi/.chezmoiscripts/run_before_10-migrate-gitconfig.ps1 b/chezmoi/.chezmoiscripts/run_before_10-migrate-gitconfig.ps1 index 2d5754d..87aca80 100644 --- a/chezmoi/.chezmoiscripts/run_before_10-migrate-gitconfig.ps1 +++ b/chezmoi/.chezmoiscripts/run_before_10-migrate-gitconfig.ps1 @@ -93,12 +93,12 @@ if (-not (Test-Path -LiteralPath $LocalConfig)) { foreach ($Key in $ManagedKeys) { git config --file $LocalConfig --unset-all $Key 2>$null } - Write-Host "Мигрировано: ~/.gitconfig -> ~/.gitconfig.local" - Write-Host "Бэкап: $BackupPath" + Write-Host "Migrated: ~/.gitconfig -> ~/.gitconfig.local" + Write-Host "Backup: $BackupPath" return } # Случай 4: .gitconfig.local уже есть — просто бэкапим. Copy-Item -LiteralPath $GlobalConfig -Destination $BackupPath -Force -Write-Warning "~/.gitconfig.local уже существует; текущий ~/.gitconfig сохранён в бэкап." -Write-Host "Бэкап: $BackupPath" +Write-Warning "~/.gitconfig.local already exists; current ~/.gitconfig saved as backup." +Write-Host "Backup: $BackupPath"