Skip to content

Commit

Permalink
Remove single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
maboloshi committed Feb 25, 2021
1 parent 4c9a46c commit dd44d37
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
14 changes: 7 additions & 7 deletions Branch.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@
"command": "merge_branch",
"args": { "branch": "$branch" },
},
{ "command": "rebase_branch", "args": { "branch": "$branch", "commit": "$commit" }, "caption": "变基 '$branch' 分支…" },
{ "command": "delete_branch", "args": { "ref": "$ref" }, "caption": "删除 '$branch' 分支…" },
{ "command": "rebase_branch", "args": { "branch": "$branch", "commit": "$commit" }, "caption": "变基 $branch 分支…" },
{ "command": "delete_branch", "args": { "ref": "$ref" }, "caption": "删除 $branch 分支…" },
{
"command": "show_command_palette",
"args":
{
"command": "rename_branch",
"args": {"branch": "$branch"},
"description": "重命名 '$branch' 分支…",
"description": "重命名 $branch 分支…",
}
},
{
"caption": "复制分支名: '$branch'",
"caption": "复制分支名: $branch",
"command": "copy_to_clipboard",
"args": { "text": "$branch" }
},
{ "command": "hide_ref", "args": { "ref": "$ref" }, "caption": "隐藏 '$branch' 分支" },
{ "command": "show_ref", "args": { "ref": "$ref" }, "caption": "显示 '$branch' 分支" },
{ "command": "hide_all_refs_except", "args": { "ref": "$ref" }, "caption": "隐藏除 '$branch' 之外的所有分支" },
{ "command": "hide_ref", "args": { "ref": "$ref" }, "caption": "隐藏 $branch 分支" },
{ "command": "show_ref", "args": { "ref": "$ref" }, "caption": "显示 $branch 分支" },
{ "command": "hide_all_refs_except", "args": { "ref": "$ref" }, "caption": "隐藏除 $branch 之外的所有分支" },
{ "command": "show_all_refs", "args": { "ref": "$ref" }, "caption": "显示所有隐藏的分支" },
{
"command": "show_command_palette",
Expand Down
4 changes: 2 additions & 2 deletions Commit.sublime-menu
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"caption": "复制哈希值: '$short_commit…'",
"caption": "复制哈希值: $short_commit…",
"command": "copy_to_clipboard",
"args": {"text": "$commit"}
},
Expand Down Expand Up @@ -102,7 +102,7 @@
"args": {"commit": "$commit"}
},
{
"caption": "重置 '$head_ref' 到当前提交",
"caption": "重置 $head_ref 到当前提交",
"children":
[
{
Expand Down
12 changes: 6 additions & 6 deletions Remote Branch.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
"command": "merge_branch",
"args": { "branch": "$branch" },
},
{ "command": "rebase_branch", "args": {"branch": "$branch"}, "caption": "变基 '$branch' 分支…" },
{ "command": "delete_branch", "args": {"ref": "$ref"}, "caption": "删除 '$branch' 分支…" },
{ "command": "rebase_branch", "args": {"branch": "$branch"}, "caption": "变基 $branch 分支…" },
{ "command": "delete_branch", "args": {"ref": "$ref"}, "caption": "删除 $branch 分支…" },
{
"caption": "复制分支名: '$branch'",
"caption": "复制分支名: $branch",
"command": "copy_to_clipboard",
"args": {"text": "$branch"}
},
{ "command": "hide_ref", "args": { "ref": "$ref" }, "caption": "隐藏 '$branch' 分支" },
{ "command": "show_ref", "args": { "ref": "$ref" }, "caption": "显示 '$branch' 分支" },
{ "command": "hide_all_refs_except", "args": { "ref": "$ref" }, "caption": "隐藏除 '$branch' 之外的所有分支" },
{ "command": "hide_ref", "args": { "ref": "$ref" }, "caption": "隐藏 $branch 分支" },
{ "command": "show_ref", "args": { "ref": "$ref" }, "caption": "显示 $branch 分支" },
{ "command": "hide_all_refs_except", "args": { "ref": "$ref" }, "caption": "隐藏除 $branch 之外的所有分支" },
{ "command": "show_all_refs", "args": { "ref": "$ref" }, "caption": "显示所有隐藏的分支" },
{ "caption": "-", "id": "end" }
]
6 changes: 3 additions & 3 deletions Remote.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
{
"command": "fetch",
"args": { "remote": "$remote" },
"description": "获取远程分支: '$remote'",
"description": "获取远程分支: $remote",
},
},
{
"description": "删除远程分支: '$remote'",
"description": "删除远程分支: $remote",
"command": "delete_remote",
"args": {"remote": "$remote"}
},
Expand All @@ -19,7 +19,7 @@
{
"command": "rename_remote",
"args": { "remote": "$remote" },
"description": "重命名远程分支: '$remote'",
"description": "重命名远程分支: $remote",
},
},
]
8 changes: 4 additions & 4 deletions Submodule.sublime-menu
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
[
{
"caption": "初始化子模块",
"description": "初始化子模块: '$submodule_name'",
"description": "初始化子模块: $submodule_name",
"command": "update_submodule",
"args": {"submodule_path": "$submodule_path", "initialize": true}
},
{
"caption": "打开子模块",
"description": "打开子模块: '$submodule_name'",
"description": "打开子模块: $submodule_name",
"command": "open_submodule",
"args": {"submodule_path": "$submodule_path", }
},
{
"caption": "更新子模块",
"description": "更新子模块: '$submodule_name'",
"description": "更新子模块: $submodule_name",
"command": "update_submodule",
"args": {"submodule_path": "$submodule_path"}
},
{
"caption": "同步子模块",
"description": "同步子模块: '$submodule_name'",
"description": "同步子模块: $submodule_name",
"command": "sync_submodule",
"args": {"submodule_path": "$submodule_path"}
},
Expand Down
4 changes: 2 additions & 2 deletions Tag.sublime-menu
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"caption": "删除标签: '$tag_name'",
"caption": "删除标签: $tag_name",
"description": "Delete $tag_name",
"command": "delete_tag",
"args": {"ref": "$ref"}
Expand All @@ -11,7 +11,7 @@
{
"command": "push_tag",
"args": { "ref": "$ref" },
"description": "推送标签: '$tag_name'",
"description": "推送标签: $tag_name",
},
},
{ "caption": "-", "id": "end" }
Expand Down

0 comments on commit dd44d37

Please sign in to comment.