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/functions/__fish_complete_bittorrent.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/functions/__fish_complete_bittorrent.fish')
-rw-r--r-- | share/functions/__fish_complete_bittorrent.fish | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/share/functions/__fish_complete_bittorrent.fish b/share/functions/__fish_complete_bittorrent.fish index b9581c55..d78d0c10 100644 --- a/share/functions/__fish_complete_bittorrent.fish +++ b/share/functions/__fish_complete_bittorrent.fish @@ -1,33 +1,33 @@ # Bittorrent commands function __fish_complete_bittorrent - complete -c $argv -l max_uploads -x -d (N_ "Maximum uploads at once") - complete -c $argv -l keepalive_interval -x -d (N_ "Number of seconds between keepalives") - complete -c $argv -l download_slice_size -x -d (N_ "Bytes per request") - complete -c $argv -l request_backlog -x -d (N_ "Requests per pipe") - complete -c $argv -l max_message_length -x -d (N_ "Maximum length prefix encoding") - complete -c $argv -l ip -d (N_ "IP to report to the tracker") -x -a "(__fish_print_addresses)" - complete -c $argv -l minport -d (N_ "Minimum port to listen to") - complete -c $argv -l maxport -d (N_ "Maximum port to listen to") - complete -c $argv -l responsefile -r -d (N_ "File for server response") - complete -c $argv -l url -x -d (N_ "URL to get file from") - complete -c $argv -l saveas -r -d (N_ "Local file target") - complete -c $argv -l timeout -x -d (N_ "Time to close inactive socket") - complete -c $argv -l timeout_check_interval -x -d (N_ "Time between checking timeouts") - complete -c $argv -l max_slice_length -x -d (N_ "Maximum outgoing slice length") - complete -c $argv -l max_rate_period -x -d (N_ "Maximum time to guess rate") - complete -c $argv -l bind -x -d (N_ "IP to bind to locally") -a "(__fish_print_addresses)" - complete -c $argv -l display_interval -x -d (N_ "Time between screen updates") - complete -c $argv -l rerequest_interval -x -d (N_ "Time to wait between requesting more peers") - complete -c $argv -l min_peers -x -d (N_ "Minimum number of peers to not do requesting") - complete -c $argv -l http_timeout -x -d (N_ "Number of seconds before assuming http timeout") - complete -c $argv -l max_initiate -x -d (N_ "Number of peers at which to stop initiating new connections") - complete -c $argv -l max_allow_in -x -d (N_ "Maximum number of connections to allow") - complete -c $argv -l check_hashes -x -d (N_ "Whether to check hashes on disk") - complete -c $argv -l max_upload_rate -x -d (N_ "Maximum kB/s to upload at") - complete -c $argv -l snub_time -x -d (N_ "Seconds to wait for data to come in before assuming choking") - complete -c $argv -l spew -x -d (N_ "Whether to display diagnostic info") - complete -c $argv -l rarest_first_cutoff -x -d (N_ "Number of downloads at which to switch from random to rarest first") - complete -c $argv -l min_uploads -x -d (N_ "Number of uploads to fill out to with optimistic unchokes") - complete -c $argv -l report_hash_failiures -x -d (N_ "Whether to inform the user that hash failures occur") + complete -c $argv -l max_uploads -x --description "Maximum uploads at once" + complete -c $argv -l keepalive_interval -x --description "Number of seconds between keepalives" + complete -c $argv -l download_slice_size -x --description "Bytes per request" + complete -c $argv -l request_backlog -x --description "Requests per pipe" + complete -c $argv -l max_message_length -x --description "Maximum length prefix encoding" + complete -c $argv -l ip --description "IP to report to the tracker" -x -a "(__fish_print_addresses)" + complete -c $argv -l minport --description "Minimum port to listen to" + complete -c $argv -l maxport --description "Maximum port to listen to" + complete -c $argv -l responsefile -r --description "File for server response" + complete -c $argv -l url -x --description "URL to get file from" + complete -c $argv -l saveas -r --description "Local file target" + complete -c $argv -l timeout -x --description "Time to close inactive socket" + complete -c $argv -l timeout_check_interval -x --description "Time between checking timeouts" + complete -c $argv -l max_slice_length -x --description "Maximum outgoing slice length" + complete -c $argv -l max_rate_period -x --description "Maximum time to guess rate" + complete -c $argv -l bind -x --description "IP to bind to locally" -a "(__fish_print_addresses)" + complete -c $argv -l display_interval -x --description "Time between screen updates" + complete -c $argv -l rerequest_interval -x --description "Time to wait between requesting more peers" + complete -c $argv -l min_peers -x --description "Minimum number of peers to not do requesting" + complete -c $argv -l http_timeout -x --description "Number of seconds before assuming http timeout" + complete -c $argv -l max_initiate -x --description "Number of peers at which to stop initiating new connections" + complete -c $argv -l max_allow_in -x --description "Maximum number of connections to allow" + complete -c $argv -l check_hashes -x --description "Whether to check hashes on disk" + complete -c $argv -l max_upload_rate -x --description "Maximum kB/s to upload at" + complete -c $argv -l snub_time -x --description "Seconds to wait for data to come in before assuming choking" + complete -c $argv -l spew -x --description "Whether to display diagnostic info" + complete -c $argv -l rarest_first_cutoff -x --description "Number of downloads at which to switch from random to rarest first" + complete -c $argv -l min_uploads -x --description "Number of uploads to fill out to with optimistic unchokes" + complete -c $argv -l report_hash_failiures -x --description "Whether to inform the user that hash failures occur" end |