Skip to content

Commit adb4323

Browse files
OrKoNDevtools-frontend LUCI CQ
authored andcommitted
[AI Assistance] Fix the change button label
Fixed: 406080037 Change-Id: I99109370d8cd0df39b3488af89b42883e859df72 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6438841 Auto-Submit: Alex Rudenko <[email protected]> Reviewed-by: Ergün Erdoğmuş <[email protected]> Commit-Queue: Ergün Erdoğmuş <[email protected]> Commit-Queue: Alex Rudenko <[email protected]>
1 parent 0a1c889 commit adb4323

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

front_end/panels/ai_assistance/PatchWidget.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ const UIStringsNotTranslate = {
4747
*@description Button text to change the selected workspace
4848
*/
4949
change: 'Change',
50+
/**
51+
* @description Accessible title of the Change button to indicate that
52+
* the button can be used to change the root folder.
53+
*/
54+
changeRootFolder: 'Change project root folder',
5055
/**
5156
*@description Button text to cancel applying to workspace
5257
*/
@@ -323,6 +328,7 @@ export class PatchWidget extends UI.Widget.Widget {
323328
@click=${input.onChangeWorkspaceClick}
324329
.jslogContext=${'change-workspace'}
325330
.variant=${Buttons.Button.Variant.TEXT}
331+
.title=${lockedString(UIStringsNotTranslate.changeRootFolder)}
326332
${Directives.ref(output.changeRef)}
327333
>${lockedString(UIStringsNotTranslate.change)}</devtools-button>
328334
</div>

0 commit comments

Comments
 (0)