jshmrtn / vue3-gettext

Translate Vue 3 applications with gettext.
https://jshmrtn.github.io/vue3-gettext/
MIT License
66 stars 23 forks source link

Feature: Allow optionally specifying the resulting pot filename to vue-gettext-extract #7

Closed olof-nord closed 2 years ago

olof-nord commented 2 years ago

Many thanks for your reviews!

One last PR, then I believe this library would fit our use-case.

There could be a scenario where one might not want to use "messages.pot" as the resulting POT file.

This PR introduces an optional --pot-file flag, which if specified, is used as the filename.

Additionally, the logging is revisited and the variable used for the resulting POT file renamed to closer align with its functionality.

lzurbriggen commented 2 years ago

@olof-nord fyi, i'm working on a (breaking) update that will allow you to declare a config file instead of just command line options. If you have any inputs/ideas for nice-to-have features please let me know in #9. I hope to get this done within the next two weeks.