]> git.ipfire.org Git - thirdparty/util-linux.git/commit
blkpr: Call gettext() for descriptions, clean up
authorKarel Zak <kzak@redhat.com>
Mon, 12 Jan 2026 15:27:23 +0000 (16:27 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 12 Jan 2026 15:27:23 +0000 (16:27 +0100)
commita2752fe2707a6ab6e34af0341ac23edbf5e596cb
tree9cdae3da7c15e94957d423f6aa8edae94ce574c9
parent81a350f9fe44bfa502b773ee53dee4a681515a3d
blkpr: Call gettext() for descriptions, clean up

* Use N_() and _() macros to translate description texts.
* Avoid repeating command/flag/type names in description texts.
* Remove trailing line breaks; it's the caller's task to format
  before/after the descriptions.
* Improve coding style by starting strings at the beginning of the
  line, enhancing maintainability (80 characters limit).
* Keep "}, {" on separate lines as per our usual coding practice.

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/blkpr.c