agritheory / approvals

Customizable Approval Workflows
Other
4 stars 1 forks source link

Make Vue string literals/ labels translatable #36

Closed agritheory closed 1 month ago

agritheory commented 1 month ago

image

I tried to do this but couldn't figure out how to do the types.

Alchez commented 1 month ago

@agritheory I was able to add typings, but I wasn't able to actually use the __ global function for translating the text. Do you have a snippet for that?

agritheory commented 1 month ago

@Alchez I don't but you could try the computed / unref pattern I used in Check Run