cyon / vue-translation-manager

Interactively translate strings in Vue single file components
26 stars 12 forks source link

Cancel prompt #10

Open MaxGfeller opened 5 years ago

MaxGfeller commented 5 years ago

In the interactive translate mode, the manager will present the user with untranslated strings in the selected component. However, if a user decides not to translate a specific found string then there is currently no way other than reverting after the translation.

It should be possible to cancel a single prompt with Esc. In that case this string should just be ignored.

MaxGfeller commented 5 years ago

See this: https://github.com/SBoudrias/Inquirer.js/pull/455