Skip to content

Commit 188a3e6

Browse files
bmeurerDevtools-frontend LUCI CQ
authored andcommitted
[sources] Rename "Add folder" to "Add folder manually".
Per Seed Deck[^1] for the "Automatic Workspace Folders" feature, the "Add folder" toolbar button in the Workspace tab of the Sources panel should be renamed to "Add folder manually" to make it clear that this is different from the automatic workspace folder(s). [^1]: http://go/chrome-devtools:automatic-workspace-folders-ux Bug: 404170628 Change-Id: Ia13267a7ae543c86d8ab059b26c5b746013c3c3c Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6439039 Commit-Queue: Alex Rudenko <alexrudenko@chromium.org> Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
1 parent ca58556 commit 188a3e6

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

front_end/panels/sources/sources-meta.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,15 @@ const UIStrings = {
189189
*/
190190
createNewSnippet: 'Create new snippet',
191191
/**
192-
*@description Title of an action in the sources tool to add folder to workspace
192+
* @description Button in the Workspace tab of the Sources panel, used to
193+
* (manually) add a folder to the workspace.
193194
*/
194-
addFolderToWorkspace: 'Add folder to workspace',
195+
addFolderManually: 'Add folder manually',
195196
/**
196-
*@description Title of an action in the sources tool to add folder to workspace
197+
* @description Title of an action in the Sources panel command menu to (manually)
198+
* add a folder to the workspace.
197199
*/
198-
addFolder: 'Add folder',
200+
addFolderToWorkspace: 'Add folder to workspace',
199201
/**
200202
*@description Title of an action in the debugger tool to previous call frame
201203
*/
@@ -1976,7 +1978,7 @@ Common.Revealer.registerRevealer({
19761978
UI.Toolbar.registerToolbarItem({
19771979
actionId: 'sources.add-folder-to-workspace',
19781980
location: UI.Toolbar.ToolbarItemLocation.FILES_NAVIGATION_TOOLBAR,
1979-
label: i18nLazyString(UIStrings.addFolder),
1981+
label: i18nLazyString(UIStrings.addFolderManually),
19801982
loadItem: undefined,
19811983
order: undefined,
19821984
separator: undefined,

0 commit comments

Comments
 (0)