Skip to content

[Export-PSMDString] Export strings retrieved by Get-PSFLocalizedString#181

Merged
FriedrichWeinmann merged 1 commit into
PowershellFrameworkCollective:developmentfrom
nyanhp:stringinclass
May 31, 2023
Merged

[Export-PSMDString] Export strings retrieved by Get-PSFLocalizedString#181
FriedrichWeinmann merged 1 commit into
PowershellFrameworkCollective:developmentfrom
nyanhp:stringinclass

Conversation

@nyanhp

@nyanhp nyanhp commented May 23, 2023

Copy link
Copy Markdown
Contributor

At the moment, Export-PSMDString does not include Get-PSFLocalizedString, thereby potentially marking a lot of strings as Surplus.

This PR amends the function by including Get-PSFLocalizedString including its Name parameter, so that strings are extracted fully. I've validated the behavior on my own code base, where all localized strings were successfully exported.

@FriedrichWeinmann

Copy link
Copy Markdown
Member

Looks good, thanks :)

@FriedrichWeinmann
FriedrichWeinmann merged commit 9c1636f into PowershellFrameworkCollective:development May 31, 2023
@FriedrichWeinmann FriedrichWeinmann mentioned this pull request May 31, 2023
@nyanhp
nyanhp deleted the stringinclass branch February 13, 2025 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants