src/vs/workbench/contrib/terminal/browser/terminalTooltip.ts/getCapabilityName
function getCapabilityName(capability: TerminalCapability): string | undefined {
	switch (capability) {
		case TerminalCapability.CwdDetection:
		case TerminalCapability.NaiveCwdDetection:
			return localize('capability.cwdDetection', "Current working directory detection");
		case TerminalCapability.CommandDetection:
			return localize('capability.commandDetection', "Command detection");
		case TerminalCapability.PartialCommandDetection:
			return localize('capability.partialCommandDetection', "Command detection (partial)");
	}
}