gettext: remove remaining trailing newlines

Complete the work started in
e78e3f16e (gettext: remove trailing newlines, 2026-01-30)

Now, there are no remaining trailing newlines in the localizable strings
in our Rust sources. A bit more work is still needed to get rid of a few
leading and trailing spaces, the goal being that for all localizable
strings `s` in our Rust sources, `s == s.trim()`.

Includes a bit of drive-by refactoring.

Part of #12405
This commit is contained in:
Daniel Rainer
2026-01-31 21:23:01 +01:00
committed by Johannes Altmanninger
parent 47d7f52149
commit 0d79681070
46 changed files with 1964 additions and 2100 deletions

View File

@@ -117,7 +117,7 @@ echo $status
abbr --add grape --position nowhere juice
echo $status
# CHECKERR: abbr: Invalid position 'nowhere'
# CHECKERR: Position must be one of: command, anywhere.
# CHECKERR: Position must be one of: command, anywhere
# CHECK: 2
abbr --add grape --position anywhere juice
@@ -190,7 +190,7 @@ abbr --list
abbr --add bogus --position never stuff
# CHECKERR: abbr: Invalid position 'never'
# CHECKERR: Position must be one of: command, anywhere.
# CHECKERR: Position must be one of: command, anywhere
abbr --add bogus --position anywhere --position command stuff
# CHECKERR: abbr: Cannot specify multiple positions