Skip to content

Commit 202ee37

Browse files
committed
📝 [docs] Add Portuguese (pt) localization and full cmdlet help
- Add complete Portuguese documentation and localized message catalog to support pt locale: - ColorScripts-Enhanced/pt/Messages.psd1 - ColorScripts-Enhanced/pt/New-ColorScript.md - ColorScripts-Enhanced/pt/New-ColorScriptCache.md - ColorScripts-Enhanced/pt/Reset-ColorScriptConfiguration.md - ColorScripts-Enhanced/pt/Set-ColorScriptConfiguration.md - ColorScripts-Enhanced/pt/Show-ColorScript.md - ColorScripts-Enhanced/pt/about_ColorScripts-Enhanced.help.txt - Provide localized error/warning/status strings and rich, translated examples, syntax, parameters and advanced usage for all major cmdlets. 🚜 [refactor] Rework and expand Russian (ru) help content and examples - Substantially rewrite and harmonize many ru help pages with clearer structure, expanded examples and advanced usage (CI/CD, automation, cache strategies): - ColorScripts-Enhanced/ru/Add-ColorScriptProfile.md (refined syntax, -Path/-Scope handling, verification examples) - ColorScripts-Enhanced/ru/Clear-ColorScriptCache.md (feature-rich parameters, dry-run, pipeline usage, reporting) - ColorScripts-Enhanced/ru/Export-ColorScriptMetadata.md (enriched output options, IncludeFileInfo/IncludeCacheInfo, API/reporting) - ColorScripts-Enhanced/ru/Get-ColorScriptConfiguration.md (detailed config structure, auditing, backup/migration) - ColorScripts-Enhanced/ru/Get-ColorScriptList.md (Detailed/AsObject modes, performance tips) - ColorScripts-Enhanced/ru/New-ColorScript.md (scaffolding workflow, OutputPath/GenerateMetadataSnippet) - ColorScripts-Enhanced/ru/New-ColorScriptCache.md (All/Force/PassThru semantics, automation patterns) - ColorScripts-Enhanced/ru/Reset-ColorScriptConfiguration.md (PassThru, defaults, safety notes) - ColorScripts-Enhanced/ru/Show-ColorScript.md (clarified modes, ReturnText/PassThru guidance) - ColorScripts-Enhanced/ru/about_ColorScripts-Enhanced.help.txt (full English/clarified long-form module docs) - Expand advanced sections: performance measurement, filtering patterns, integration workflows, maintenance and troubleshooting. 🛠️ [fix] Polish Russian localized strings and message phrasing - Tidy up translation wording and fix grammatical/terminology issues within ru messages and alerts: - ColorScripts-Enhanced/ru/Messages.psd1 (improved phrasing for profile/cache/profile-path messages, status and warning strings) - Ensure consistent terminology for "profile", "cache", "session" and status labels across docs. ✨ [feat] Enrich help pages with advanced examples, pipeline & automation recipes - Add practical automation examples and advanced patterns across multiple help files: - pre-building caches, CI/CD cache deployment, progress-tracked cache builds - Export/metadata workflows, API-ready JSON, gallery generation and reports - Get-ColorScriptList / Show-ColorScript pipeline integrations and playlist examples - Clarify parameters like -PassThru, -ReturnText, -NoCache, -Force, -WhatIf and provide guidance for production vs development usage. 🔧 [build] Bump localized HelpInfo versions and regenerate help metadata - Update localized HelpInfo version stamps to reflect regenerated help files: - ColorScripts-Enhanced/ru/ColorScripts-Enhanced_f77548d7-23eb-48ce-a6e0-f64b4758d995_HelpInfo.xml (version -> 2025.10.31.2127) - ColorScripts-Enhanced/zh-CN/ColorScripts-Enhanced_f77548d7-23eb-48ce-a6e0-f64b4758d995_HelpInfo.xml (version -> 2025.10.31.2127) - Ensure help metadata and navigation links align with updated docs. 🧹 [chore] Improve cross-references and discoverability in help sets - Update related-links and local doc references to point to enriched md pages and GitHub repo in RU docs. - Add ScriptMetadata guidance references, recommended integration steps and best-practice notes (profile integration, cache tuning, backups). 🧪 [test] Add guidance for validation, auditing and troubleshooting - Embed health-check, cache-validation and configuration-audit examples to assist maintainers and CI: - examples to detect uncached/obsolete entries, measure cache impact, and perform safe rebuilds. - Recommend best practices for automated deployments and cross-platform use (PowerShell 7+, terminals, fonts). Notes: - This commit is documentation/localization-focused: it adds Portuguese localization, refactors and enriches Russian help, fixes message text, updates help metadata versions, and adds many advanced usage examples and automation recipes to improve DX and maintainability. Signed-off-by: Nick2bad4u <20943337+Nick2bad4u@users.noreply.github.com>
1 parent 3a5244f commit 202ee37

75 files changed

Lines changed: 29581 additions & 1153 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ColorScripts-Enhanced/ColorScripts-Enhanced.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
RootModule = 'ColorScripts-Enhanced.psm1'
1212

1313
# Version number of this module.
14-
ModuleVersion = '2025.10.31.1954'
14+
ModuleVersion = '2025.10.31.2127'
1515

1616
# Supported PSEditions
1717
CompatiblePSEditions = @('Desktop', 'Core')
@@ -211,7 +211,7 @@ PERFECT FOR
211211

212212
# ReleaseNotes of this module
213213
ReleaseNotes = @'
214-
Version 2025.10.31.1954:
214+
Version 2025.10.31.2127:
215215
- Enhanced caching system with OS-wide cache in AppData
216216
- 6-19x performance improvement
217217
- Cache stored in centralized location

ColorScripts-Enhanced/de/ColorScripts-Enhanced_f77548d7-23eb-48ce-a6e0-f64b4758d995_HelpInfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<SupportedUICultures>
55
<UICulture>
66
<UICultureName>de</UICultureName>
7-
<UICultureVersion>2025.10.31.1954</UICultureVersion>
7+
<UICultureVersion>2025.10.31.2127</UICultureVersion>
88
</UICulture>
99
</SupportedUICultures>
1010
</HelpInfo>

ColorScripts-Enhanced/en-US/ColorScripts-Enhanced_f77548d7-23eb-48ce-a6e0-f64b4758d995_HelpInfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<SupportedUICultures>
55
<UICulture>
66
<UICultureName>en-US</UICultureName>
7-
<UICultureVersion>2025.10.31.1954</UICultureVersion>
7+
<UICultureVersion>2025.10.31.2127</UICultureVersion>
88
</UICulture>
99
</SupportedUICultures>
1010
</HelpInfo>

ColorScripts-Enhanced/es/ColorScripts-Enhanced_f77548d7-23eb-48ce-a6e0-f64b4758d995_HelpInfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<SupportedUICultures>
55
<UICulture>
66
<UICultureName>es</UICultureName>
7-
<UICultureVersion>2025.10.31.1954</UICultureVersion>
7+
<UICultureVersion>2025.10.31.2127</UICultureVersion>
88
</UICulture>
99
</SupportedUICultures>
1010
</HelpInfo>

ColorScripts-Enhanced/fr/ColorScripts-Enhanced_f77548d7-23eb-48ce-a6e0-f64b4758d995_HelpInfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<SupportedUICultures>
55
<UICulture>
66
<UICultureName>fr</UICultureName>
7-
<UICultureVersion>2025.10.31.1954</UICultureVersion>
7+
<UICultureVersion>2025.10.31.2127</UICultureVersion>
88
</UICulture>
99
</SupportedUICultures>
1010
</HelpInfo>
Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
---
2+
document type: cmdlet
3+
external help file: ColorScripts-Enhanced-help.xml
4+
HelpUri: https://github.com/Nick2bad4u/PS-Color-Scripts-Enhanced/blob/main/ColorScripts-Enhanced/it/Add-ColorScriptProfile.md
5+
Module Name: ColorScripts-Enhanced
6+
ms.date: 10/26/2025
7+
PlatyPS schema version: 2024-05-01
8+
---
9+
10+
# Add-ColorScriptProfile
11+
12+
## SYNOPSIS
13+
14+
Aggiunge l'integrazione ColorScripts-Enhanced ai file di profilo PowerShell.
15+
16+
## SYNTAX
17+
18+
```
19+
Add-ColorScriptProfile [[-Scope] <string>] [-WhatIf] [-Confirm] [<CommonParameters>]
20+
```
21+
22+
## DESCRIPTION
23+
24+
Aggiunge automaticamente l'integrazione di avvio ColorScripts-Enhanced al tuo profilo PowerShell. Questo cmdlet modifica i tuoi file di profilo per importare il modulo ColorScripts-Enhanced e opzionalmente visualizzare un colorscript all'avvio della sessione.
25+
26+
Il cmdlet supporta tutti gli ambiti di profilo PowerShell standard:
27+
- CurrentUserCurrentHost: Profilo per l'utente corrente e l'host corrente
28+
- CurrentUserAllHosts: Profilo per l'utente corrente su tutti gli host
29+
- AllUsersCurrentHost: Profilo per tutti gli utenti sull'host corrente (richiede admin)
30+
- AllUsersAllHosts: Profilo per tutti gli utenti su tutti gli host (richiede admin)
31+
32+
Quando eseguito, aggiunge uno snippet che:
33+
1. Importa il modulo ColorScripts-Enhanced
34+
2. Opzionalmente visualizza un colorscript casuale all'avvio
35+
3. Fornisce alias utili per l'accesso rapido
36+
37+
L'integrazione è progettata per essere non intrusiva e può essere facilmente rimossa modificando direttamente i tuoi file di profilo.
38+
39+
## EXAMPLES
40+
41+
### EXAMPLE 1
42+
43+
```powershell
44+
Add-ColorScriptProfile
45+
```
46+
47+
Aggiunge l'integrazione ColorScripts-Enhanced al tuo profilo predefinito (CurrentUserCurrentHost).
48+
49+
### EXAMPLE 2
50+
51+
```powershell
52+
Add-ColorScriptProfile -Scope CurrentUserAllHosts
53+
```
54+
55+
Aggiunge l'integrazione al tuo profilo che si applica a tutti gli host PowerShell per l'utente corrente.
56+
57+
### EXAMPLE 3
58+
59+
```powershell
60+
Add-ColorScriptProfile -Scope AllUsersCurrentHost
61+
```
62+
63+
Aggiunge l'integrazione al profilo per tutti gli utenti sull'host corrente (richiede privilegi di amministratore).
64+
65+
### EXAMPLE 4
66+
67+
```powershell
68+
Add-ColorScriptProfile -WhatIf
69+
```
70+
71+
Mostra quali modifiche verrebbero apportate al tuo profilo senza applicarle effettivamente.
72+
73+
### EXAMPLE 5
74+
75+
```powershell
76+
Add-ColorScriptProfile -Confirm
77+
```
78+
79+
Richiede conferma prima di modificare il tuo profilo.
80+
81+
## PARAMETERS
82+
83+
### -Confirm
84+
85+
Richiede conferma prima di eseguire il cmdlet.
86+
87+
```yaml
88+
Type: System.Management.Automation.SwitchParameter
89+
DefaultValue: false
90+
SupportsWildcards: false
91+
Aliases: cf
92+
ParameterSets:
93+
- Name: (All)
94+
Position: Named
95+
IsRequired: false
96+
ValueFromPipeline: false
97+
ValueFromPipelineByPropertyName: false
98+
ValueFromRemainingArguments: false
99+
DontShow: false
100+
AcceptedValues: []
101+
HelpMessage: ''
102+
```
103+
104+
### -Scope
105+
106+
Specifica l'ambito del profilo da modificare. I valori validi sono:
107+
- CurrentUserCurrentHost (predefinito)
108+
- CurrentUserAllHosts
109+
- AllUsersCurrentHost
110+
- AllUsersAllHosts
111+
112+
```yaml
113+
Type: System.String
114+
DefaultValue: CurrentUserCurrentHost
115+
SupportsWildcards: false
116+
Aliases: []
117+
ParameterSets:
118+
- Name: (All)
119+
Position: Named
120+
IsRequired: false
121+
ValueFromPipeline: false
122+
ValueFromPipelineByPropertyName: false
123+
ValueFromRemainingArguments: false
124+
DontShow: false
125+
AcceptedValues: []
126+
HelpMessage: ''
127+
```
128+
129+
### -WhatIf
130+
131+
Mostra cosa accadrebbe se il cmdlet viene eseguito. Il cmdlet non viene eseguito.
132+
133+
```yaml
134+
Type: System.Management.Automation.SwitchParameter
135+
DefaultValue: false
136+
SupportsWildcards: false
137+
Aliases: wi
138+
ParameterSets:
139+
- Name: (All)
140+
Position: Named
141+
IsRequired: false
142+
ValueFromPipeline: false
143+
ValueFromPipelineByPropertyName: false
144+
ValueFromRemainingArguments: false
145+
DontShow: false
146+
AcceptedValues: []
147+
HelpMessage: ''
148+
```
149+
150+
### CommonParameters
151+
152+
Questo cmdlet supporta i parametri comuni: -Debug, -ErrorAction, -ErrorVariable,
153+
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
154+
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. Per ulteriori informazioni, vedere
155+
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
156+
157+
## INPUTS
158+
159+
### None
160+
161+
Questo cmdlet non accetta input dalla pipeline.
162+
163+
## OUTPUTS
164+
165+
### None
166+
167+
Questo cmdlet non restituisce output alla pipeline.
168+
169+
## NOTES
170+
171+
**Author:** Nick
172+
**Module:** ColorScripts-Enhanced
173+
**Requires:** PowerShell 5.1 o successivo
174+
175+
**Integrazione profilo:**
176+
Il cmdlet aggiunge uno snippet di avvio che importa ColorScripts-Enhanced e fornisce accesso conveniente. L'integrazione è progettata per essere leggera e non disturbare.
177+
178+
**Considerazioni ambito:**
179+
- Gli ambiti CurrentUser modificano i file nella directory del profilo utente
180+
- Gli ambiti AllUsers richiedono privilegi di amministratore e influenzano tutti gli utenti
181+
- Le modifiche hanno effetto nelle nuove sessioni PowerShell
182+
183+
**Funzionalità di sicurezza:**
184+
- Verifica l'integrazione esistente per evitare duplicazioni
185+
- Utilizza meccanismi di profilo PowerShell standard
186+
- Fornisce opzioni WhatIf e Confirm per operazioni sicure
187+
188+
## RELATED LINKS
189+
190+
- [Get-ColorScriptConfiguration](Get-ColorScriptConfiguration.md)
191+
- [Set-ColorScriptConfiguration](Set-ColorScriptConfiguration.md)
192+
- [Show-ColorScript](Show-ColorScript.md)
193+
- [Online Documentation](https://github.com/Nick2bad4u/ps-color-scripts-enhanced)

0 commit comments

Comments
 (0)