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

Flag to disable "Following fixups were applied to translation: Trailing and leading whitespace" #8663

Closed
Ralim opened this issue Jan 24, 2023 · 3 comments
Assignees
Labels
documentation Improvements or additions to the documentation. enhancement Adding or requesting a new feature. good first issue Opportunity for newcoming contributors. hacktoberfest This is suitable for Hacktoberfest. Don’t try to spam. help wanted Extra attention is needed.
Milestone

Comments

@Ralim
Copy link

Ralim commented Jan 24, 2023

Describe the problem

For my application a blank line carries meaning; and so blank lines need to be kept in the translations.
To work around this at the moment text has to be awkwardly spread across two lines; or manually patched in git after.

Describe the solution you'd like

Flag to disable this fixup from occuring; or even better a way to disable it project wide.

Describe alternatives you've considered

Currently doing workaround of adding padding or a fullstop on a line by itself which looks terrible

Screenshots

No response

Additional context

No response

@nijel nijel added enhancement Adding or requesting a new feature. hacktoberfest This is suitable for Hacktoberfest. Don’t try to spam. help wanted Extra attention is needed. good first issue Opportunity for newcoming contributors. labels Jan 24, 2023
@github-actions
Copy link

This issue seems to be a good fit for newbie contributors. You are welcome to contribute to Weblate! Don't hesitate to ask any questions you would have while implementing this.

You can learn about how to get started in our contributors documentation.

@nijel nijel added wontfix Nobody will work on this. documentation Improvements or additions to the documentation. and removed wontfix Nobody will work on this. labels Apr 28, 2023
@nijel nijel added this to the 4.17 milestone Apr 28, 2023
@nijel nijel self-assigned this Apr 28, 2023
@nijel
Copy link
Member

nijel commented Apr 28, 2023

Ah, there already is a flag for this: https://docs.weblate.org/en/latest/user/checks.html#trailing-and-leading-whitespace-fixer. The documentation was added recently, though: b83bfa5

@nijel nijel closed this as completed Apr 28, 2023
@github-actions
Copy link

Thank you for your report; the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to the documentation. enhancement Adding or requesting a new feature. good first issue Opportunity for newcoming contributors. hacktoberfest This is suitable for Hacktoberfest. Don’t try to spam. help wanted Extra attention is needed.
Projects
None yet
Development

No branches or pull requests

2 participants