提交 3df1eca2 编写于 作者: M Maik Riechert 提交者: Dirk Baeumer

localize

上级 b348a0b7
......@@ -726,13 +726,13 @@ export class CommandCenter {
const heads = this.model.refs.filter(ref => ref.type === RefType.Head && ref.name !== currentHead)
.map(ref => new BranchDeleteItem(ref));
const placeHolder = 'Select a branch to delete';
const placeHolder = localize('select branch to delete', 'Select a branch to delete');
const choice = await window.showQuickPick<BranchDeleteItem>(heads, { placeHolder });
if (!choice) {
if (!choice || !choice.branchName) {
return;
}
name = choice.branchName || '';
name = choice.branchName;
run = force => choice.run(this.model, force);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册