opral / inlang-sherlock

Issue tracker for Sherlock
https://marketplace.visualstudio.com/items?itemName=inlang.vs-code-extension
2 stars 0 forks source link

add more extract options to next-intl plugin #76

Closed felixhaeberle closed 4 weeks ago

felixhaeberle commented 1 month ago

Context

Currently, the extract is limited to:

        extractMessageOptions: [
            {
                callback: (args: { messageId: string }) => ({
                    messageId: args.messageId,
                    messageReplacement: `{t("${args.messageId}")}`,
                }),
            },

        ],

Proposal

Make more options available.