Skip to content
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

Automatic flags based on string location #13597

Open
nijel opened this issue Jan 20, 2025 · 0 comments
Open

Automatic flags based on string location #13597

nijel opened this issue Jan 20, 2025 · 0 comments
Assignees
Labels
enhancement Adding or requesting a new feature.

Comments

@nijel
Copy link
Member

nijel commented Jan 20, 2025

Describe the problem

Users have to manually add flags like rst-text or md-text for translation files extracted from reStructuredText (for example using Sphinx) or Markdown documents (using po4a). This should not be necessary when there is information that this string was extracted from .rst or .md file.

Describe the solution you would like

The flags property of TranslationUnit could inspect locations and add flags based on the filename.

Describe alternatives you have considered

No response

Screenshots

No response

Additional context

No response

@nijel nijel added the enhancement Adding or requesting a new feature. label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding or requesting a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants