Skip to content

Remove Obligatory Question Mark in Paste Dialog Content #403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Abdo-Nabil
Copy link

This pull request addresses an issue in the paste confirmation dialog where a question mark ("?") was being appended to the dialog content regardless of the configured dialogContent value. This behavior was incorrect as:

It might not be grammatically appropriate for all custom dialogContent messages provided by the user.
It introduces a localization challenge as the question mark is hardcoded and not part of the translatable dialogContent. This makes it difficult to provide grammatically correct and natural-sounding prompts in different languages.
To resolve this, the section of the code responsible for adding the trailing question mark has been commented out. This change ensures that the paste confirmation dialog displays the dialogContent exactly as provided by the DialogConfig, giving users full control over the message and improving localization capabilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant