Skip to content

Commit

Permalink
calls - more title/message alignments
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Sep 12, 2019
1 parent 3e87b24 commit acfe268
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ export class CallHierarchyTreePeekWidget extends PeekViewWidget {
}

const title = this._direction === CallHierarchyDirection.CallsFrom
? localize('callFrom', "Calls from: {0}", this._tree.getInput()!.word)
: localize('callsTo', "Callers of: {0}", this._tree.getInput()!.word);
? localize('callFrom', "Calls from '{0}'", this._tree.getInput()!.word)
: localize('callsTo', "Callers of '{0}'", this._tree.getInput()!.word);

this.setTitle(title, names.join(' → '));
}
Expand Down Expand Up @@ -374,7 +374,7 @@ export class CallHierarchyTreePeekWidget extends PeekViewWidget {
//
this.showMessage(this._direction === CallHierarchyDirection.CallsFrom
? localize('empt.callsFrom', "No calls from '{0}'", item.word)
: localize('empt.callsTo', "No calls to '{0}'", item.word));
: localize('empt.callsTo', "No callers of '{0}'", item.word));

} else {
this._parent.dataset['state'] = State.Data;
Expand Down

0 comments on commit acfe268

Please sign in to comment.