Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "Bug Fix",
"description": "Amazon Q /doc: Improve button text phrasing"
}
7 changes: 5 additions & 2 deletions packages/core/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,8 @@
"AWS.amazonq.doc.answer.scanning": "Scanning source files",
"AWS.amazonq.doc.answer.summarizing": "Summarizing source files",
"AWS.amazonq.doc.answer.generating": "Generating documentation",
"AWS.amazonq.doc.answer.creating": "Okay, I'm creating a README for your project. This may take a few minutes.",
"AWS.amazonq.doc.answer.updating": "Okay, I'm updating the README to reflect your code changes. This may take a few minutes.",
"AWS.amazonq.doc.answer.creating": "Okay, I'm creating a README for your project. This might take a few minutes.",
"AWS.amazonq.doc.answer.updating": "Okay, I'm updating the README. This might take a few minutes.",
"AWS.amazonq.doc.answer.chooseFolder": "Choose a folder to continue.",
"AWS.amazonq.doc.error.noFolderSelected": "It looks like you didn't choose a folder. Choose a folder to continue.",
"AWS.amazonq.doc.error.contentLengthError": "Your workspace is too large for me to review. Your workspace must be within the quota, even if you choose a smaller folder. For more information on quotas, see the <a href=\"https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/doc-generation.html#quotas\" target=\"_blank\">Amazon Q Developer documentation.</a>",
Expand All @@ -387,6 +387,9 @@
"AWS.amazonq.doc.error.promptRefusal": "I'm sorry, I can't generate documentation for this folder. Please make sure your message and code files comply with the Please make sure your message and code files comply with the <a href=\"https://aws.amazon.com/machine-learning/responsible-ai/policy/\">AWS Responsible AI Policy.</a>",
"AWS.amazonq.doc.placeholder.editReadme": "Describe documentation changes",
"AWS.amazonq.doc.pillText.closeSession": "End session",
"AWS.amazonq.doc.pillText.newTask": "Start a new documentation task",
"AWS.amazonq.doc.pillText.update": "Update README to reflect code",
"AWS.amazonq.doc.pillText.makeChange": "Make a specific change",
"AWS.amazonq.inline.invokeChat": "Inline chat",
"AWS.toolkit.lambda.walkthrough.quickpickTitle": "Application Builder Walkthrough",
"AWS.toolkit.lambda.walkthrough.title": "Get started building your application",
Expand Down
12 changes: 6 additions & 6 deletions packages/core/src/amazonqDoc/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ export const FolderSelectorFollowUps = [
]

export const SynchronizeDocumentation = {
pillText: 'Update README with recent code changes',
prompt: 'Update README with recent code changes',
type: 'SynchronizeDocumentation',
pillText: i18n('AWS.amazonq.doc.pillText.update'),
prompt: i18n('AWS.amazonq.doc.pillText.update'),
type: FollowUpTypes.SynchronizeDocumentation,
}

export const EditDocumentation = {
pillText: 'Make a specific change',
prompt: 'Make a specific change',
type: 'EditDocumentation',
pillText: i18n('AWS.amazonq.doc.pillText.makeChange'),
prompt: i18n('AWS.amazonq.doc.pillText.makeChange'),
type: FollowUpTypes.EditDocumentation,
}

export enum Mode {
Expand Down
8 changes: 3 additions & 5 deletions packages/core/src/amazonqDoc/controllers/chat/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ export class DocController {
message: 'Your changes have been discarded.',
followUps: [
{
pillText: i18n('AWS.amazonq.featureDev.pillText.newTask'),
pillText: i18n('AWS.amazonq.doc.pillText.newTask'),
type: FollowUpTypes.NewTask,
status: 'info',
},
Expand Down Expand Up @@ -706,14 +706,12 @@ export class DocController {
tabID: message.tabID,
followUps: [
{
pillText: 'Start a new documentation task',
prompt: 'Start a new documentation task',
pillText: i18n('AWS.amazonq.doc.pillText.newTask'),
type: FollowUpTypes.NewTask,
status: 'info',
},
{
pillText: 'End session',
prompt: 'End session',
pillText: i18n('AWS.amazonq.doc.pillText.closeSession'),
type: FollowUpTypes.CloseSession,
status: 'info',
},
Expand Down
Loading