Skip to content

Commit 6bd0447

Browse files
committed
Add zh_CN/zh_TW locales for st4
1 parent ece6fc3 commit 6bd0447

26 files changed

+2342
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[
2+
{ "command": "cut", "caption": "剪切" },
3+
{ "command": "copy", "caption": "复制" },
4+
{ "command": "paste", "caption": "粘贴" },
5+
{ "caption": "-" },
6+
{ "command": "select_all", "caption": "全选" },
7+
{ "caption": "-" },
8+
{ "command": "console_python_version", "args": {"version": "3.8"}, "checkbox": true },
9+
{ "command": "console_python_version", "args": {"version": "3.3"}, "checkbox": true },
10+
]
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[
2+
{ "command": "open_context_url", "caption": "打开URL链接" },
3+
{ "command": "goto_definition", "caption": "转到定义处" },
4+
{ "caption": "-", "id": "diff" },
5+
{ "command": "toggle_inline_diff", "caption": "切换显示行内差异" },
6+
{ "command": "revert_hunk", "caption": "还原差异块" },
7+
{ "caption": "-", "id": "clipboard" },
8+
{ "command": "cut", "caption": "剪切" },
9+
{ "command": "copy", "caption": "复制" },
10+
{ "command": "paste", "caption": "粘贴" },
11+
{ "caption": "-", "id": "selection" },
12+
{ "command": "select_all", "caption": "全选" },
13+
{ "caption": "-", "id": "repo_commands" },
14+
{ "caption": "打开Git仓库…", "command": "sublime_merge_open_repo" },
15+
{ "caption": "文件历史…", "command": "sublime_merge_file_history" },
16+
{ "caption": "行历史…", "command": "sublime_merge_line_history" },
17+
{ "caption": "审查文件…", "command": "sublime_merge_blame_file" },
18+
{ "caption": "-", "id": "file" },
19+
{ "command": "open_in_browser", "caption": "在浏览器中打开" },
20+
{ "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"}, "caption": "打开所在文件夹…" },
21+
{ "command": "copy_path", "caption": "复制文件路径" },
22+
{ "command": "reveal_in_side_bar", "caption": "在侧边栏中显示" },
23+
{ "caption": "-", "id": "end" }
24+
]
+85
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
[
2+
{
3+
"caption": "用此编码保存",
4+
"children":
5+
[
6+
{ "caption": "UTF-8", "command": "set_encoding", "args": {"encoding": "utf-8" } },
7+
{ "caption": "UTF-16 LE", "command": "set_encoding", "args": {"encoding": "utf-16 le" } },
8+
{ "caption": "UTF-16 BE", "command": "set_encoding", "args": {"encoding": "utf-16 be" } },
9+
{ "caption": "-" },
10+
{ "caption": "西方语 (Windows 1252)", "command": "set_encoding", "args": {"encoding": "Western (Windows 1252)" } },
11+
{ "caption": "西方语 (ISO 8859-1)", "command": "set_encoding", "args": {"encoding": "Western (ISO 8859-1)" } },
12+
{ "caption": "西方语 (ISO 8859-3)", "command": "set_encoding", "args": {"encoding": "Western (ISO 8859-3)" } },
13+
{ "caption": "西方语 (ISO 8859-15)", "command": "set_encoding", "args": {"encoding": "Western (ISO 8859-15)" } },
14+
{ "caption": "西方语 (Mac Roman)", "command": "set_encoding", "args": {"encoding": "Western (Mac Roman)" } },
15+
{ "caption": "DOS (CP 437)", "command": "set_encoding", "args": {"encoding": "DOS (CP 437)" } },
16+
{ "caption": "阿拉伯语 (Windows 1256)", "command": "set_encoding", "args": {"encoding": "Arabic (Windows 1256)" } },
17+
{ "caption": "阿拉伯语 (ISO 8859-6)", "command": "set_encoding", "args": {"encoding": "Arabic (ISO 8859-6)" } },
18+
{ "caption": "波罗海语 (Windows 1257)", "command": "set_encoding", "args": {"encoding": "Baltic (Windows 1257)" } },
19+
{ "caption": "波罗海语 (ISO 8859-4)", "command": "set_encoding", "args": {"encoding": "Baltic (ISO 8859-4)" } },
20+
{ "caption": "凯尔特语 (ISO 8859-14)", "command": "set_encoding", "args": {"encoding": "Celtic (ISO 8859-14)" } },
21+
{ "caption": "中欧语 (Windows 1250)", "command": "set_encoding", "args": {"encoding": "Central European (Windows 1250)" } },
22+
{ "caption": "中欧语 (ISO 8859-2)", "command": "set_encoding", "args": {"encoding": "Central European (ISO 8859-2)" } },
23+
{ "caption": "中欧语 (Mac)", "command": "set_encoding", "args": {"encoding": "Central European (Mac)" } },
24+
{ "caption": "西里尔语 (Windows 1251)", "command": "set_encoding", "args": {"encoding": "Cyrillic (Windows 1251)" } },
25+
{ "caption": "西里尔语 (Windows 866)", "command": "set_encoding", "args": {"encoding": "Cyrillic (Windows 866)" } },
26+
{ "caption": "西里尔语 (ISO 8859-5)", "command": "set_encoding", "args": {"encoding": "Cyrillic (ISO 8859-5)" } },
27+
{ "caption": "西里尔语 (KOI8-R)", "command": "set_encoding", "args": {"encoding": "Cyrillic (KOI8-R)" } },
28+
{ "caption": "西里尔语 (KOI8-U)", "command": "set_encoding", "args": {"encoding": "Cyrillic (KOI8-U)" } },
29+
{ "caption": "爱沙尼亚语 (ISO 8859-13)", "command": "set_encoding", "args": {"encoding": "Estonian (ISO 8859-13)" } },
30+
{ "caption": "希腊语 (Windows 1253)", "command": "set_encoding", "args": {"encoding": "Greek (Windows 1253)" } },
31+
{ "caption": "希腊语 (ISO 8859-7)", "command": "set_encoding", "args": {"encoding": "Greek (ISO 8859-7)" } },
32+
{ "caption": "希伯来语 (Windows 1255)", "command": "set_encoding", "args": {"encoding": "Hebrew (Windows 1255)" } },
33+
{ "caption": "希伯来语 (ISO 8859-8)", "command": "set_encoding", "args": {"encoding": "Hebrew (ISO 8859-8)" } },
34+
{ "caption": "北欧语 (ISO 8859-10)", "command": "set_encoding", "args": {"encoding": "Nordic (ISO 8859-10)" } },
35+
{ "caption": "罗马尼亚语 (ISO 8859-16)", "command": "set_encoding", "args": {"encoding": "Romanian (ISO 8859-16)" } },
36+
{ "caption": "土耳其语 (Windows 1254)", "command": "set_encoding", "args": {"encoding": "Turkish (Windows 1254)" } },
37+
{ "caption": "土耳其语 (ISO 8859-9)", "command": "set_encoding", "args": {"encoding": "Turkish (ISO 8859-9)" } },
38+
{ "caption": "越南语 (Windows 1258)", "command": "set_encoding", "args": {"encoding": "Vietnamese (Windows 1258)" } },
39+
{ "caption": "-" },
40+
{ "caption": "十六进制", "command": "set_encoding", "args": {"encoding": "Hexadecimal" } }
41+
]
42+
},
43+
44+
{
45+
"caption": "用此编码重新打开",
46+
"children":
47+
[
48+
{ "caption": "UTF-8", "command": "reopen", "args": {"encoding": "utf-8" } },
49+
{ "caption": "UTF-16 LE", "command": "reopen", "args": {"encoding": "utf-16 le" } },
50+
{ "caption": "UTF-16 BE", "command": "reopen", "args": {"encoding": "utf-16 be" } },
51+
{ "caption": "-" },
52+
{ "caption": "西方语 (Windows 1252)", "command": "reopen", "args": {"encoding": "Western (Windows 1252)" } },
53+
{ "caption": "西方语 (ISO 8859-1)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-1)" } },
54+
{ "caption": "西方语 (ISO 8859-3)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-3)" } },
55+
{ "caption": "西方语 (ISO 8859-15)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-15)" } },
56+
{ "caption": "西方语 (Mac Roman)", "command": "reopen", "args": {"encoding": "Western (Mac Roman)" } },
57+
{ "caption": "DOS (CP 437)", "command": "reopen", "args": {"encoding": "DOS (CP 437)" } },
58+
{ "caption": "阿拉伯语 (Windows 1256)", "command": "reopen", "args": {"encoding": "Arabic (Windows 1256)" } },
59+
{ "caption": "阿拉伯语 (ISO 8859-6)", "command": "reopen", "args": {"encoding": "Arabic (ISO 8859-6)" } },
60+
{ "caption": "波罗海语 (Windows 1257)", "command": "reopen", "args": {"encoding": "Baltic (Windows 1257)" } },
61+
{ "caption": "波罗海语 (ISO 8859-4)", "command": "reopen", "args": {"encoding": "Baltic (ISO 8859-4)" } },
62+
{ "caption": "凯尔特语 (ISO 8859-14)", "command": "reopen", "args": {"encoding": "Celtic (ISO 8859-14)" } },
63+
{ "caption": "中欧语 (Windows 1250)", "command": "reopen", "args": {"encoding": "Central European (Windows 1250)" } },
64+
{ "caption": "中欧语 (ISO 8859-2)", "command": "reopen", "args": {"encoding": "Central European (ISO 8859-2)" } },
65+
{ "caption": "中欧语 (Mac)", "command": "reopen", "args": {"encoding": "Central European (Mac)" } },
66+
{ "caption": "西里尔语 (Windows 1251)", "command": "reopen", "args": {"encoding": "Cyrillic (Windows 1251)" } },
67+
{ "caption": "西里尔语 (Windows 866)", "command": "reopen", "args": {"encoding": "Cyrillic (Windows 866)" } },
68+
{ "caption": "西里尔语 (ISO 8859-5)", "command": "reopen", "args": {"encoding": "Cyrillic (ISO 8859-5)" } },
69+
{ "caption": "西里尔语 (KOI8-R)", "command": "reopen", "args": {"encoding": "Cyrillic (KOI8-R)" } },
70+
{ "caption": "西里尔语 (KOI8-U)", "command": "reopen", "args": {"encoding": "Cyrillic (KOI8-U)" } },
71+
{ "caption": "爱沙尼亚语 (ISO 8859-13)", "command": "reopen", "args": {"encoding": "Estonian (ISO 8859-13)" } },
72+
{ "caption": "希腊语 (Windows 1253)", "command": "reopen", "args": {"encoding": "Greek (Windows 1253)" } },
73+
{ "caption": "希腊语 (ISO 8859-7)", "command": "reopen", "args": {"encoding": "Greek (ISO 8859-7)" } },
74+
{ "caption": "希伯来语 (Windows 1255)", "command": "reopen", "args": {"encoding": "Hebrew (Windows 1255)" } },
75+
{ "caption": "希伯来语 (ISO 8859-8)", "command": "reopen", "args": {"encoding": "Hebrew (ISO 8859-8)" } },
76+
{ "caption": "北欧语 (ISO 8859-10)", "command": "reopen", "args": {"encoding": "Nordic (ISO 8859-10)" } },
77+
{ "caption": "罗马尼亚语 (ISO 8859-16)", "command": "reopen", "args": {"encoding": "Romanian (ISO 8859-16)" } },
78+
{ "caption": "土耳其语 (Windows 1254)", "command": "reopen", "args": {"encoding": "Turkish (Windows 1254)" } },
79+
{ "caption": "土耳其语 (ISO 8859-9)", "command": "reopen", "args": {"encoding": "Turkish (ISO 8859-9)" } },
80+
{ "caption": "越南语 (Windows 1258)", "command": "reopen", "args": {"encoding": "Vietnamese (Windows 1258)" } },
81+
{ "caption": "-" },
82+
{ "caption": "十六进制", "command": "reopen", "args": {"encoding": "Hexadecimal" } }
83+
]
84+
},
85+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[
2+
{ "command": "clear_location", "caption": "清除当前路径" },
3+
{ "command": "add_directory", "caption": "添加搜索文件夹" },
4+
{ "command": "add_where_snippet", "args": {"snippet": "*.${0:txt}"}, "caption": "添加包括过滤(通配符)" },
5+
{ "command": "add_where_snippet", "args": {"snippet": "-*.${0:txt}"}, "caption": "添加排除过滤(通配符)" },
6+
{ "command": "add_where_snippet", "args": {"snippet": "<project filters>"}, "caption": "添加排除过滤项目" },
7+
{ "command": "add_where_snippet", "args": {"snippet": "<open folders>"}, "caption": "添加打开的文件夹" },
8+
{ "command": "add_where_snippet", "args": {"snippet": "<open files>"}, "caption": "添加打开的文件" },
9+
{ "command": "add_where_snippet", "args": {"snippet": "<current file>"}, "caption": "添加当前文件" },
10+
]
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[
2+
{ "command": "toggle_setting", "args": {"setting": "translate_tabs_to_spaces"}, "caption": "使用空格缩进", "checkbox": true },
3+
{ "caption": "-" },
4+
{ "command": "set_setting", "args": {"setting": "tab_size", "value": 1}, "caption": "制表符宽度: 1", "checkbox": true },
5+
{ "command": "set_setting", "args": {"setting": "tab_size", "value": 2}, "caption": "制表符宽度: 2", "checkbox": true },
6+
{ "command": "set_setting", "args": {"setting": "tab_size", "value": 3}, "caption": "制表符宽度: 3", "checkbox": true },
7+
{ "command": "set_setting", "args": {"setting": "tab_size", "value": 4}, "caption": "制表符宽度: 4", "checkbox": true },
8+
{ "command": "set_setting", "args": {"setting": "tab_size", "value": 5}, "caption": "制表符宽度: 5", "checkbox": true },
9+
{ "command": "set_setting", "args": {"setting": "tab_size", "value": 6}, "caption": "制表符宽度: 6", "checkbox": true },
10+
{ "command": "set_setting", "args": {"setting": "tab_size", "value": 7}, "caption": "制表符宽度: 7", "checkbox": true },
11+
{ "command": "set_setting", "args": {"setting": "tab_size", "value": 8}, "caption": "制表符宽度: 8", "checkbox": true },
12+
{ "caption": "-" },
13+
{ "command": "detect_indentation", "caption": "使用缓冲区缩进方式" },
14+
{ "caption": "-" },
15+
{ "command": "expand_tabs", "caption": "转为空格缩进", "args": {"set_translate_tabs": true} },
16+
{ "command": "unexpand_tabs", "caption": "转为制表符缩进", "args": {"set_translate_tabs": true} }
17+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[
2+
{ "command": "set_line_ending", "args": {"type": "windows"}, "caption": "Windows (CRLF)", "checkbox": true },
3+
{ "command": "set_line_ending", "args": {"type": "unix"}, "caption": "Unix (LF)", "checkbox": true },
4+
{ "command": "set_line_ending", "args": {"type": "cr"}, "caption": "Mac OS X (CR)", "checkbox": true }
5+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[
2+
{ "caption": "-", "id": "folder_commands" },
3+
{ "caption": "从项目中移除文件夹", "command": "remove_folder", "args": { "dirs": []} }
4+
]
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[
2+
{ "caption": "新建文件", "command": "new_file_at", "args": {"dirs": []} },
3+
{ "caption": "重命名…", "command": "rename_path", "args": {"paths": []} },
4+
{ "caption": "删除文件", "command": "delete_file", "args": {"files": [], "prompt": false} },
5+
{ "caption": "打开文件夹…", "command": "open_folder", "args": {"dirs": []} },
6+
{ "caption": "打开所在文件夹…", "command": "open_containing_folder", "args": {"files": []} },
7+
{ "caption": "打开链接目录", "command": "reveal_link_source", "args": {"dirs": []} },
8+
{ "caption": "-", "id": "repo_commands" },
9+
{ "caption": "打开Git仓库…", "command": "sublime_merge_open_repo", "args": {"paths": []}},
10+
{ "caption": "文件历史…", "command": "sublime_merge_file_history", "args": {"files": []}},
11+
{ "caption": "目录历史…", "command": "sublime_merge_folder_history", "args": {"paths": []}},
12+
{ "caption": "审查文件…", "command": "sublime_merge_blame_file", "args": {"files": []}},
13+
{ "caption": "-", "id": "folder_commands" },
14+
{ "caption": "新建文件夹…", "command": "new_folder", "args": {"dirs": []} },
15+
{ "caption": "删除文件夹", "command": "delete_folder", "args": {"dirs": [], "prompt": true} },
16+
{ "caption": "在文件夹中查找…", "command": "find_in_folder", "args": {"dirs": []} },
17+
{ "caption": "-", "id": "end" }
18+
]

menu/4/zh_CN/Syntax.sublime-menu.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"caption": "语法",
4+
"children": [ { "command": "$file_types" } ]
5+
}
6+
]
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[
2+
{ "command": "close_by_index", "args": { "group": -1, "index": -1 }, "caption": "关闭" },
3+
{ "command": "close_others_by_index", "args": { "group": -1, "index": -1 }, "caption": "关闭其它选项卡" },
4+
{ "command": "close_to_right_by_index", "args": { "group": -1, "index": -1 }, "caption": "关闭右侧选项卡" },
5+
{ "command": "close_unmodified", "args": { "group": -1, "index": -1 }, "caption": "关闭未改" },
6+
{ "command": "close_unmodified_to_right_by_index", "args": { "group": -1, "index": -1 }, "caption": "关闭右侧未改" },
7+
{ "command": "close_deleted_files", "args": { "group": -1 }, "caption": "关闭已删" },
8+
{ "caption": "-" },
9+
{ "command": "clone_file", "args": { "add_to_selection": true, "group": -1, "index": -1 }, "caption": "拆分视图" },
10+
{ "caption": "-" },
11+
{ "command": "new_file", "caption": "新建文件" },
12+
{ "command": "prompt_open_file", "caption": "打开文件" }
13+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{ "command": "close_selected", "args": { "group": -1 }, "caption": "关闭" },
3+
{ "command": "close_others_by_index", "args": { "group": -1, "index": -1 }, "caption": "关闭其它" },
4+
{ "command": "close_unmodified", "args": { "group": -1, "index": -1 }, "caption": "关闭未改" },
5+
{ "command": "close_to_right_by_index", "args": { "group": -1, "index": -1 }, "caption": "关闭右侧" },
6+
{ "command": "close_unmodified_to_right_by_index", "args": { "group": -1, "index": -1 }, "caption": "关闭右侧未改" },
7+
{ "command": "close_deleted_files", "args": { "group": -1 }, "caption": "关闭已删" },
8+
{ "caption": "-" },
9+
{ "command": "new_file", "caption": "新建文件" },
10+
{ "command": "prompt_open_file", "caption": "打开文件" }
11+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[
2+
{ "command": "open_context_url", "caption": "打开URL链接" },
3+
{ "caption": "-" },
4+
{ "command": "cut", "caption": "剪切" },
5+
{ "command": "copy", "caption": "复制" },
6+
{ "command": "paste", "caption": "粘贴" },
7+
{ "caption": "-" },
8+
{ "command": "select_all", "caption": "全选" }
9+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[
2+
{ "command": "cut", "caption": "剪切" },
3+
{ "command": "copy", "caption": "復制" },
4+
{ "command": "paste", "caption": "粘貼" },
5+
{ "caption": "-" },
6+
{ "command": "select_all", "caption": "全選" },
7+
{ "caption": "-" },
8+
{ "command": "console_python_version", "args": {"version": "3.8"}, "checkbox": true },
9+
{ "command": "console_python_version", "args": {"version": "3.3"}, "checkbox": true },
10+
]
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[
2+
{ "command": "open_context_url", "caption": "打開URL鏈接" },
3+
{ "command": "goto_definition", "caption": "轉到定義處" },
4+
{ "caption": "-", "id": "diff" },
5+
{ "command": "toggle_inline_diff", "caption": "切換顯示行內差異" },
6+
{ "command": "revert_hunk", "caption": "還原差異塊" },
7+
{ "caption": "-", "id": "clipboard" },
8+
{ "command": "cut", "caption": "剪切" },
9+
{ "command": "copy", "caption": "復制" },
10+
{ "command": "paste", "caption": "粘貼" },
11+
{ "caption": "-", "id": "selection" },
12+
{ "command": "select_all", "caption": "全選" },
13+
{ "caption": "-", "id": "repo_commands" },
14+
{ "caption": "打開Git倉庫…", "command": "sublime_merge_open_repo" },
15+
{ "caption": "文件歷史…", "command": "sublime_merge_file_history" },
16+
{ "caption": "行歷史…", "command": "sublime_merge_line_history" },
17+
{ "caption": "審查文件…", "command": "sublime_merge_blame_file" },
18+
{ "caption": "-", "id": "file" },
19+
{ "command": "open_in_browser", "caption": "在瀏覽器中打開" },
20+
{ "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"}, "caption": "打開所在文件夾…" },
21+
{ "command": "copy_path", "caption": "復制文件路徑" },
22+
{ "command": "reveal_in_side_bar", "caption": "在側邊欄中顯示" },
23+
{ "caption": "-", "id": "end" }
24+
]

0 commit comments

Comments
 (0)