提交 1f2694dd 编写于 作者: J Joao Moreno

add tooltips to git actions

fixes #1216
上级 c31326bb
......@@ -983,7 +983,7 @@ export class PublishAction extends GitAction {
promise = TPromise.as(result ? remoteName : null);
} else {
promise = this.quickOpenService.pick(remotes.map(r => r.name), {
placeHolder: nls.localize('publishPickMessage', "Pick a remote to push the branch '{0}' to:", branchName)
placeHolder: nls.localize('publishPickMessage', "Pick a remote to publish the branch '{0}' to:", branchName)
});
}
......
......@@ -68,10 +68,16 @@ export class GitStatusbarItem implements IStatusbarItem {
public render(container: HTMLElement): IDisposable {
this.element = append(container, $('.git-statusbar-group'));
this.branchElement = append(this.element, $('a'));
this.publishElement = append(this.element, $('a'));
this.publishElement.title = nls.localize('publishBranch', "Publish Branch");
this.syncElement = append(this.element, $('a'));
append(this.syncElement, $('span.octicon.octicon-sync'));
this.syncElement.title = nls.localize('syncBranch', "Synchronize Changes");
this.syncLabelElement = append(this.syncElement, $('span'));
this.setState(this.state);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册