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

Add support for rounding line numbers #145

Merged
merged 1 commit into from
Jan 15, 2024
Merged

Add support for rounding line numbers #145

merged 1 commit into from
Jan 15, 2024

Conversation

mgeisler
Copy link
Collaborator

This adds a new feature which will let us round line number according to a user-defined granularity.

The idea is that rounding the line numbers will minimize the updates to the PO files: with a granularity of 10, the line numbers will be 10, 20, … and this should in turn remove some of the churn on the PO files.

Setting granularity to zero will remove the line numbers completely from the PO files.

Fixes #127.

This adds a new feature which will let us round line number according
to a user-defined granularity.

The idea is that rounding the line numbers will minimize the updates
to the PO files: with a granularity of 10, the line numbers will be
10, 20, … and this should in turn remove some of the churn on the PO
files.

Setting granularity to zero will remove the line numbers completely
from the PO files.

Fixes #127.
@mgeisler mgeisler merged commit 1859789 into main Jan 15, 2024
7 checks passed
@mgeisler mgeisler deleted the lineno-granularity branch January 15, 2024 12:19
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.

Support rounding line numbers
3 participants