diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-11-15 10:21:21 +0800 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-11-25 15:37:30 +0800 |
commit | c78e56c50941e71055d3d1d3c4349f349d817993 (patch) | |
tree | 4a7c430c83c63839c36f68ec4e202d2b7e637149 /share/functions/abbr.fish | |
parent | 190cac07a3ff7cd2c65ac24b600808e7c1674412 (diff) |
Update various strings for translation, avoid _ for non-translations
Use __ instead of _ as a placeholder for ignored variables in `read`
statements.
Diffstat (limited to 'share/functions/abbr.fish')
-rw-r--r-- | share/functions/abbr.fish | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/functions/abbr.fish b/share/functions/abbr.fish index 393e8243..ce104f12 100644 --- a/share/functions/abbr.fish +++ b/share/functions/abbr.fish @@ -66,7 +66,7 @@ function abbr --description "Manage abbreviations" __fish_abbr_parse_entry $mode_arg key value # ensure the key contains at least one non-space character set -l IFS \n\ \t - printf '%s' $key | read -lz key_ _ + printf '%s' $key | read -lz key_ __ if test -z "$key_" printf ( _ "%s: abbreviation must have a non-empty key\n" ) abbr >&2 return 1 @@ -144,10 +144,10 @@ end function __fish_abbr_parse_entry -S -a __input __key __value if test -z "$__key" - set __key _ + set __key __ end if test -z "$__value" - set __value _ + set __value __ end set -l IFS '= ' switch $__input |