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
This commit is contained in:
axel
2007-01-16 11:18:28 +10:00
parent 47588c8e75
commit 34e27ff4c2
145 changed files with 2858 additions and 2854 deletions

View File

@@ -1,14 +1,14 @@
complete -c python -s c -x -d (N_ "Execute argument as command")
complete -c python -s d -d (N_ "Debug on")
complete -c python -s E -d (N_ "Ignore environment variables")
complete -c python -s h -d (N_ "Display help and exit")
complete -c python -s i -d (N_ "Interactive mode after executing commands")
complete -c python -s O -d (N_ "Enable optimizations")
complete -c python -s Q -x -a "old new" -d (N_ "Division control")
complete -c python -s S -d (N_ "Disable import of site module")
complete -c python -s t -d (N_ "Warn on mixed tabs and spaces")
complete -c python -s u -d (N_ "Unbuffered input and output")
complete -c python -s v -d (N_ "Verbose mode")
complete -c python -s V -d (N_ "Display version and exit")
complete -c python -s W -x -d (N_ "Warning control") -a "ignore default all module once error"
complete -c python -s x -d (N_ "Ignore first line of input")
complete -c python -s c -x --description "Execute argument as command"
complete -c python -s d --description "Debug on"
complete -c python -s E --description "Ignore environment variables"
complete -c python -s h --description "Display help and exit"
complete -c python -s i --description "Interactive mode after executing commands"
complete -c python -s O --description "Enable optimizations"
complete -c python -s Q -x -a "old new" --description "Division control"
complete -c python -s S --description "Disable import of site module"
complete -c python -s t --description "Warn on mixed tabs and spaces"
complete -c python -s u --description "Unbuffered input and output"
complete -c python -s v --description "Verbose mode"
complete -c python -s V --description "Display version and exit"
complete -c python -s W -x --description "Warning control" -a "ignore default all module once error"
complete -c python -s x --description "Ignore first line of input"