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/date.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/date.fish')
-rw-r--r-- | share/completions/date.fish | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/share/completions/date.fish b/share/completions/date.fish index 6be0b612..1c93f235 100644 --- a/share/completions/date.fish +++ b/share/completions/date.fish @@ -1,11 +1,11 @@ -complete -c date -s d -l date -d (N_ "Display date described by string") -x -complete -c date -s f -l file -d (N_ "Display date for each line in file") -r -complete -c date -s I -l iso-8601 -d (N_ "Output in ISO 8601 format") -x -a "date hours minutes seconds" -complete -c date -s s -l set -d (N_ "Set time") -x -complete -c date -s R -l rfc-2822 -d (N_ "Output RFC-2822 compliant date string") -complete -c date -s r -l reference -d (N_ "Display the last modification time of file") -r -complete -c date -s u -l utc -d (N_ "Print or set Coordinated Universal Time") -complete -c date -l universal -d (N_ "Print or set Coordinated Universal Time") -complete -c date -s h -l help -d (N_ "Display help and exit") -complete -c date -s v -l version -d (N_ "Display version and exit") +complete -c date -s d -l date --description "Display date described by string" -x +complete -c date -s f -l file --description "Display date for each line in file" -r +complete -c date -s I -l iso-8601 --description "Output in ISO 8601 format" -x -a "date hours minutes seconds" +complete -c date -s s -l set --description "Set time" -x +complete -c date -s R -l rfc-2822 --description "Output RFC-2822 compliant date string" +complete -c date -s r -l reference --description "Display the last modification time of file" -r +complete -c date -s u -l utc --description "Print or set Coordinated Universal Time" +complete -c date -l universal --description "Print or set Coordinated Universal Time" +complete -c date -s h -l help --description "Display help and exit" +complete -c date -s v -l version --description "Display version and exit" |