mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 10:51:15 -03:00
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:
committed by
Johannes Altmanninger
parent
47d7f52149
commit
0d79681070
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user