diff options
author | axel <axel@liljencrantz.se> | 2007-01-16 11:18:28 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2007-01-16 11:18:28 +1000 |
commit | 34e27ff4c216e2d379afba19fed2761a684697d8 (patch) | |
tree | a1429d6c9796caf54c3f4d440e740a88e3aa76aa /share/completions/set.fish | |
parent | 47588c8e75f56f6065a4eb6d4e3bccbad4fab14e (diff) |
Drop use of the N_ no-op for translation descriptions. Instead, tell xgettext that any token following '--description' should be translated. This should greatly speed up completion loading on platforms where fork() is slow. (Hi, OS X)
darcs-hash:20070116011828-ac50b-fb923dc877869ded4d506bbe0bc5364eea44092f.gz
Diffstat (limited to 'share/completions/set.fish')
-rw-r--r-- | share/completions/set.fish | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/share/completions/set.fish b/share/completions/set.fish index 6526c501..386fd780 100644 --- a/share/completions/set.fish +++ b/share/completions/set.fish @@ -55,15 +55,15 @@ end # Regular switches, set only accepts these before the variable name, # so we need to test using __fish_is_first_token -complete -c set -n '__fish_is_first_token' -s e -l erase -d (N_ "Erase variable") -complete -c set -n '__fish_is_first_token' -s x -l export -d (N_ "Export variable to subprocess") -complete -c set -n '__fish_is_first_token' -s u -l unexport -d (N_ "Do not export variable to subprocess") -complete -c set -n '__fish_is_first_token' -s g -l global -d (N_ "Make variable scope global") -complete -c set -n '__fish_is_first_token' -s l -l local -d (N_ "Make variable scope local") -complete -c set -n '__fish_is_first_token' -s U -l universal -d (N_ "Make variable scope universal, i.e. share variable with all the users fish processes on this computer") -complete -c set -n '__fish_is_first_token' -s q -l query -d (N_ "Test if variable is defined") -complete -c set -n '__fish_is_first_token' -s h -l help -d (N_ "Display help and exit") -complete -c set -n '__fish_is_first_token' -s n -l names -d (N_ "List the names of the variables, but not their value") +complete -c set -n '__fish_is_first_token' -s e -l erase --description "Erase variable" +complete -c set -n '__fish_is_first_token' -s x -l export --description "Export variable to subprocess" +complete -c set -n '__fish_is_first_token' -s u -l unexport --description "Do not export variable to subprocess" +complete -c set -n '__fish_is_first_token' -s g -l global --description "Make variable scope global" +complete -c set -n '__fish_is_first_token' -s l -l local --description "Make variable scope local" +complete -c set -n '__fish_is_first_token' -s U -l universal --description "Make variable scope universal, i.e. share variable with all the users fish processes on this computer" +complete -c set -n '__fish_is_first_token' -s q -l query --description "Test if variable is defined" +complete -c set -n '__fish_is_first_token' -s h -l help --description "Display help and exit" +complete -c set -n '__fish_is_first_token' -s n -l names --description "List the names of the variables, but not their value" # Complete using preexisting variable names @@ -71,8 +71,8 @@ complete -c set -n '__fish_is_first_token' -x -a "(set|sed -e 's/ /'\t'Variable: # Color completions complete -c set -n '__fish_set_is_color' -x -a '(set_color --print-colors)' -d (N_ Color) -complete -c set -n '__fish_set_is_color' -s b -l background -x -a '(set_color --print-colors)' -d (N_ "Change background color") -complete -c set -n '__fish_set_is_color' -s o -l bold -d (N_ 'Make font bold') +complete -c set -n '__fish_set_is_color' -s b -l background -x -a '(set_color --print-colors)' --description "Change background color" +complete -c set -n '__fish_set_is_color' -s o -l bold --description 'Make font bold' # Locale completions complete -c set -n '__fish_is_first_token' -x -a '$__fish_locale_vars' -d 'Locale variable' |