Skip to content

Export-PSMDString should also include Get-PSFLocalizedString #131

Open

Description

@nyanhp

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? 😃

Activity

  1. FriedrichWeinmann commented on Oct 28, 2020

    @FriedrichWeinmann
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions