Implement a new command 'Translate selection: Automatically append selection' that automatically uses the predefined 'To language' to translate and append the selected text without requiring user interaction through a modal. Enhance both append functionalities with a configurable newline toggle, allowing users to decide if a newline should be added before appending the translated text.
This is my first EVER pull request. Sorry if it seems messy. I would like to try a cleaner commit. Bear with my fledgling mistakes as I learn this git process better. I hope you find the code satisfactory.
Implement a new command 'Translate selection: Automatically append selection' that automatically uses the predefined 'To language' to translate and append the selected text without requiring user interaction through a modal. Enhance both append functionalities with a configurable newline toggle, allowing users to decide if a newline should be added before appending the translated text.