diff --git a/build/lib/i18n.resources.json b/build/lib/i18n.resources.json index 9aafba7dc49..0e4c15c7408 100644 --- a/build/lib/i18n.resources.json +++ b/build/lib/i18n.resources.json @@ -190,9 +190,13 @@ "name": "vs/workbench/services/workspace", "project": "vscode-workbench" }, + { + "name": "vs/workbench/services/decorations", + "project": "vscode-workbench" + }, { "name": "setup_messages", "project": "vscode-workbench" } ] -} \ No newline at end of file +} diff --git a/src/vs/workbench/services/decorations/browser/decorationsService.ts b/src/vs/workbench/services/decorations/browser/decorationsService.ts index 8757fe34d19..07afc62ccb6 100644 --- a/src/vs/workbench/services/decorations/browser/decorationsService.ts +++ b/src/vs/workbench/services/decorations/browser/decorationsService.ts @@ -16,6 +16,7 @@ import { IThemeService, ITheme } from 'vs/platform/theme/common/themeService'; import { IdGenerator } from 'vs/base/common/idGenerator'; import { IIterator } from 'vs/base/common/iterator'; import { isFalsyOrWhitespace } from 'vs/base/common/strings'; +import { localize } from 'vs/nls'; class DecorationRule { @@ -127,7 +128,7 @@ class DecorationStyles { if (onlyChildren) { // show items from its children only badgeClassName = rule.bubbleBadgeClassName; - tooltip = ''; + tooltip = localize('bubbleTitle', "contains emphasized items"); } return {