Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export-PSMDString should also include Get-PSFLocalizedString #131

Open
nyanhp opened this issue Oct 27, 2020 · 1 comment
Open

Export-PSMDString should also include Get-PSFLocalizedString #131

nyanhp opened this issue Oct 27, 2020 · 1 comment

Comments

@nyanhp
Copy link
Contributor

nyanhp commented Oct 27, 2020

Export-PSMDString should also include references to strings used with Get-PSFLocalizedString. I use localized strings for example in $PSCmdlet.ShouldProcess() and would like to see them matched in Export-PSMDString as well. Does that make sense? Or is this a very nice requirement? 😃

@FriedrichWeinmann
Copy link
Member

ugh
That one is not quite as simple, tbh.
That said, you could instead use Test-PSFShouldProcess which should be included correctly and has native support for localization.
AND can be mocked in tests.
Keep this here open nonetheless, should be included anyway.

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

No branches or pull requests

2 participants