@@ -36,3 +36,78 @@ object Translations {
3636 return basicsTranslation[id]
3737 }
3838}
39+
40+ // 更多命令翻译
41+ private val moreCommands: Map <String , String > = mapOf (
42+ " git" to " git (版本控制)" ,
43+ " docker" to " docker (容器)" ,
44+ " kubectl" to " kubectl (K8s)" ,
45+ " npm" to " npm (Node包)" ,
46+ " yarn" to " yarn (包管理)" ,
47+ " python" to " python (Python)" ,
48+ " pip" to " pip (Python包)" ,
49+ " java" to " java (Java)" ,
50+ " mvn" to " mvn (Maven)" ,
51+ " gradle" to " gradle (构建)" ,
52+ " make" to " make (构建)" ,
53+ " gcc" to " gcc (编译)" ,
54+ " clang" to " clang (编译)" ,
55+ " go" to " go (Go语言)" ,
56+ " rustc" to " rustc (Rust)" ,
57+ " cargo" to " cargo (Rust包)" ,
58+ " ruby" to " ruby (Ruby)" ,
59+ " perl" to " perl (Perl)" ,
60+ " php" to " php (PHP)" ,
61+ " node" to " node (Node.js)" ,
62+ " tmux" to " tmux (终端复用)" ,
63+ " screen" to " screen (终端)" ,
64+ " htop" to " htop (系统监控)" ,
65+ " htop" to " htop (系统监控)" ,
66+ " iotop" to " iotop (IO监控)" ,
67+ " netstat" to " netstat (网络)" ,
68+ " tcpdump" to " tcpdump (抓包)" ,
69+ " nmap" to " nmap (扫描)" ,
70+ " traceroute" to " traceroute (路由)" ,
71+ " route" to " route (路由表)" ,
72+ " nslookup" to " nslookup (DNS)" ,
73+ " dig" to " dig (DNS查询)" ,
74+ " host" to " host (DNS)" ,
75+ " whois" to " whois (域名信息)" ,
76+ " curl" to " curl (HTTP)" ,
77+ " httpie" to " httpie (HTTP客户端)" ,
78+ " jq" to " jq (JSON处理)" ,
79+ " yq" to " yq (YAML处理)" ,
80+ " xargs" to " xargs (参数构建)" ,
81+ " tee" to " tee (双向输出)" ,
82+ " dd" to " dd (数据转换)" ,
83+ " base64" to " base64 (编解码)" ,
84+ " sha256sum" to " sha256sum (校验)" ,
85+ " md5sum" to " md5sum (校验)" ,
86+ " cksum" to " cksum (校验)" ,
87+ " nc" to " nc (网络工具)" ,
88+ " netcat" to " netcat (网络)" ,
89+ " socat" to " socat (代理)" ,
90+ " proxychains" to " proxychains (代理)" ,
91+ " openssl" to " openssl (SSL)" ,
92+ " ssh-keygen" to " ssh-keygen (密钥)" ,
93+ " ssh-copy-id" to " ssh-copy-id (密钥复制)" ,
94+ " expect" to " expect (自动化)" ,
95+ " screenfetch" to " screenfetch (系统信息)" ,
96+ " neofetch" to " neofetch (系统信息)" ,
97+ " cowsay" to " cowsay (趣味输出)" ,
98+ " fortune" to " fortune (名言)" ,
99+ " cmatrix" to " cmatrix (特效)" ,
100+ " htop" to " htop (进程)" ,
101+ " bashtop" to " bashtop (资源)" ,
102+ " bpytop" to " bpytop (资源Python)" ,
103+ " btop" to " btop (资源)" ,
104+ " glances" to " glances (监控)" ,
105+ " nmon" to " nmon (性能)" ,
106+ " vmstat" to " vmstat (虚拟内存)" ,
107+ " iostat" to " iostat (IO)" ,
108+ " mpstat" to " mpstat (CPU)" ,
109+ " lsof" to " lsof (打开文件)" ,
110+ " fuser" to " fuser (文件用户)" ,
111+ " ltrace" to " ltrace (库跟踪)" ,
112+ " strace" to " strace (系统跟踪)"
113+ )
0 commit comments