diff --git a/extensions/references-view/package.json b/extensions/references-view/package.json index 42d68321377..f78334afb28 100644 --- a/extensions/references-view/package.json +++ b/extensions/references-view/package.json @@ -1,8 +1,8 @@ { "name": "references-view", - "displayName": "Reference Search View", + "displayName": "%displayName%", + "description": "%description%", "icon": "media/icon.png", - "description": "Reference Search results as separate, stable view in the sidebar", "version": "1.0.0", "publisher": "vscode", "license": "MIT", @@ -40,7 +40,7 @@ "configuration": { "properties": { "references.preferredLocation": { - "description": "Controls whether 'Peek References' or 'Find References' is invoked when selecting code lens references", + "description": "%config.references.preferredLocation%", "type": "string", "default": "peek", "enum": [ @@ -48,8 +48,8 @@ "view" ], "enumDescriptions": [ - "Show references in peek editor.", - "Show references in separate view." + "%config.references.preferredLocation.peek%", + "%config.references.preferredLocation.view%" ] } } @@ -59,7 +59,7 @@ { "id": "references-view", "icon": "$(references)", - "title": "References" + "title": "%container.title%" } ] }, @@ -67,7 +67,7 @@ "references-view": [ { "id": "references-view.tree", - "name": "Results", + "name": "%view.title%", "when": "reference-list.isActive" } ] @@ -75,111 +75,111 @@ "commands": [ { "command": "references-view.findReferences", - "title": "Find All References", - "category": "References" + "title": "%cmd.references-view.findReferences%", + "category": "%cmd.category.references%" }, { "command": "references-view.findImplementations", - "title": "Find All Implementations", - "category": "References" + "title": "%cmd.references-view.findImplementations%", + "category": "%cmd.category.references%" }, { "command": "references-view.clearHistory", - "title": "Clear History", - "category": "References", + "title": "%cmd.references-view.clearHistory%", + "category": "%cmd.category.references%", "icon": "$(clear-all)" }, { "command": "references-view.clear", - "title": "Clear", - "category": "References", + "title": "%cmd.references-view.clear%", + "category": "%cmd.category.references%", "icon": "$(clear-all)" }, { "command": "references-view.refresh", - "title": "Refresh", - "category": "References", + "title": "%cmd.references-view.refresh%", + "category": "%cmd.category.references%", "icon": "$(refresh)" }, { "command": "references-view.pickFromHistory", - "title": "Show History", - "category": "References" + "title": "%cmd.references-view.pickFromHistory%", + "category": "%cmd.category.references%" }, { "command": "references-view.removeReferenceItem", - "title": "Dismiss", + "title": "%cmd.references-view.removeReferenceItem%", "icon": "$(close)" }, { "command": "references-view.copy", - "title": "Copy" + "title": "%cmd.references-view.copy%" }, { "command": "references-view.copyAll", - "title": "Copy All" + "title": "%cmd.references-view.copyAll%" }, { "command": "references-view.copyPath", - "title": "Copy Path" + "title": "%cmd.references-view.copyPath%" }, { "command": "references-view.refind", - "title": "Rerun", + "title": "%cmd.references-view.refind%", "icon": "$(refresh)" }, { "command": "references-view.showCallHierarchy", - "title": "Show Call Hierarchy", + "title": "%cmd.references-view.showCallHierarchy%", "category": "Calls" }, { "command": "references-view.showOutgoingCalls", - "title": "Show Outgoing Calls", + "title": "%cmd.references-view.showOutgoingCalls%", "category": "Calls", "icon": "$(call-outgoing)" }, { "command": "references-view.showIncomingCalls", - "title": "Show Incoming Calls", + "title": "%cmd.references-view.showIncomingCalls%", "category": "Calls", "icon": "$(call-incoming)" }, { "command": "references-view.removeCallItem", - "title": "Dismiss", + "title": "%cmd.references-view.removeCallItem%", "icon": "$(close)" }, { "command": "references-view.next", - "title": "Go to Next Reference", + "title": "%cmd.references-view.next%", "enablement": "references-view.canNavigate" }, { "command": "references-view.prev", - "title": "Go to Previous Reference", + "title": "%cmd.references-view.prev%", "enablement": "references-view.canNavigate" }, { "command": "references-view.showTypeHierarchy", - "title": "Show Type Hierarchy", + "title": "%cmd.references-view.showTypeHierarchy%", "category": "Types" }, { "command": "references-view.showSupertypes", - "title": "Show Supertypes", + "title": "%cmd.references-view.showSupertypes%", "category": "Types", "icon": "$(type-hierarchy-super)" }, { "command": "references-view.showSubtypes", - "title": "Show Subtypes", + "title": "%cmd.references-view.showSubtypes%", "category": "Types", "icon": "$(type-hierarchy-sub)" }, { "command": "references-view.removeTypeItem", - "title": "Dismiss", + "title": "%cmd.references-view.removeTypeItem%", "icon": "$(close)" } ], diff --git a/extensions/references-view/package.nls.json b/extensions/references-view/package.nls.json new file mode 100644 index 00000000000..a8f27c1bedc --- /dev/null +++ b/extensions/references-view/package.nls.json @@ -0,0 +1,31 @@ +{ + "displayName": "Reference Search View", + "description": "Reference Search results as separate, stable view in the sidebar", + "config.references.preferredLocation": "Controls whether 'Peek References' or 'Find References' is invoked when selecting code lens references", + "config.references.preferredLocation.peek": "Show references in peek editor.", + "config.references.preferredLocation.view": "Show references in separate view.", + "container.title": "References", + "view.title": "Results", + "cmd.category.references": "References", + "cmd.references-view.findReferences": "Find All References", + "cmd.references-view.findImplementations": "Find All Implementations", + "cmd.references-view.clearHistory": "Clear History", + "cmd.references-view.clear": "Clear", + "cmd.references-view.refresh": "Refresh", + "cmd.references-view.pickFromHistory": "Show History", + "cmd.references-view.removeReferenceItem": "Dismiss", + "cmd.references-view.copy": "Copy", + "cmd.references-view.copyAll": "Copy All", + "cmd.references-view.copyPath": "Copy Path", + "cmd.references-view.refind": "Rerun", + "cmd.references-view.showCallHierarchy": "Show Call Hierarchy", + "cmd.references-view.showOutgoingCalls": "Show Outgoing Calls", + "cmd.references-view.showIncomingCalls": "Show Incoming Calls", + "cmd.references-view.removeCallItem": "Dismiss", + "cmd.references-view.next": "Go to Next Reference", + "cmd.references-view.prev": "Go to Previous Reference", + "cmd.references-view.showTypeHierarchy": "Show Type Hierarchy", + "cmd.references-view.showSupertypes": "Show Supertypes", + "cmd.references-view.showSubtypes": "Show Subtypes", + "cmd.references-view.removeTypeItem": "Dismiss" +}