Skip to content

Commit f0cd876

Browse files
authored
chore: Align UX text of document generation with vs code version (#5212)
1 parent 8502bea commit f0cd876

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Align UX text of document generation flow with vs code version"
4+
}

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqDoc/controller/DocController.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ class DocController(
309309
try {
310310
messenger.sendFolderConfirmationMessage(
311311
tabId = tabId,
312-
message = if (mode == Mode.CREATE) message("amazonqDoc.prompt.create") else message("amazonqDoc.prompt.update"),
312+
message = if (mode == Mode.CREATE) message("amazonqDoc.prompt.create.confirmation") else message("amazonqDoc.prompt.update"),
313313
folderPath = currentSourceFolder.name,
314314
followUps = listOf(
315315
FollowUp(

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqDoc/util/DocControllerUtil.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fun getFollowUpOptions(phase: SessionStatePhase?): List<FollowUp> {
2626
prompt = message("amazonqDoc.prompt.review.changes"),
2727
status = FollowUpStatusType.Info,
2828
type = FollowUpTypes.MAKE_CHANGES,
29-
icon = FollowUpIcons.Info,
29+
icon = FollowUpIcons.Refresh,
3030
),
3131
FollowUp(
3232
pillText = message("general.reject"),

plugins/core/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties

+3-2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ amazonqDoc.progress_message.scanning=Scanning source files
5959
amazonqDoc.progress_message.summarizing=Summarizing source files
6060
amazonqDoc.progress_message.updating=Okay, I'm updating the README to reflect your code changes.
6161
amazonqDoc.prompt.create=Create a README
62+
amazonqDoc.prompt.create.confirmation=Create a README for this project?
6263
amazonqDoc.prompt.folder.change=Change folder
6364
amazonqDoc.prompt.folder.proceed=Yes
6465
amazonqDoc.prompt.placeholder=Choose an option to continue
@@ -69,8 +70,8 @@ amazonqDoc.prompt.review.accept=Accept
6970
amazonqDoc.prompt.review.changes=Make changes
7071
amazonqDoc.prompt.review.message=Please review and accept the changes.
7172
amazonqDoc.prompt.update=Update an existing README
72-
amazonqDoc.prompt.update.follow_up.edit=Make a specific edit or change
73-
amazonqDoc.prompt.update.follow_up.sync=Synchronize with recent code changes
73+
amazonqDoc.prompt.update.follow_up.edit=Make a specific change
74+
amazonqDoc.prompt.update.follow_up.sync=Update README with recent code changes
7475
amazonqDoc.session.create=Create documentation for a specific folder
7576
amazonqDoc.session.sync=Sync documentation
7677
amazonqFeatureDev.chat_message.ask_for_new_task=What new task would you like to work on?

0 commit comments

Comments
 (0)