Skip to content

Commit 6b71955

Browse files
committed
Minor Text changes
1 parent 5b06b08 commit 6b71955

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/CodeWhispererUTGChatManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ class CodeWhispererUTGChatManager(val project: Project, private val cs: Coroutin
563563
buttonList.add(
564564
Button(
565565
"utg_feedback",
566-
"How can we make /test better?",
566+
message("testgen.button.feedback"),
567567
keepCardAfterClick = true,
568568
position = "outside",
569569
status = "info",

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/controller/CodeTestChatController.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ class CodeTestChatController(
568568
session.linesOfCodeGenerated = lineDifference.coerceAtLeast(0)
569569
session.charsOfCodeGenerated = charDifference.coerceAtLeast(0)
570570
session.latencyOfTestGeneration = (Instant.now().toEpochMilli() - session.startTimeOfTestGeneration)
571-
UiTelemetry.click(null as Project?, "unitTestGeneration_viewDiff")
571+
UiTelemetry.click(context.project, "unitTestGeneration_viewDiff")
572572

573573
val buttonList = mutableListOf<Button>()
574574
buttonList.add(
@@ -665,7 +665,7 @@ class CodeTestChatController(
665665
testGenerationEventResponse.responseMetadata().requestId()}"
666666
}
667667

668-
UiTelemetry.click(null as Project?, "unitTestGeneration_acceptDiff")
668+
UiTelemetry.click(context.project, "unitTestGeneration_acceptDiff")
669669

670670
AmazonqTelemetry.utgGenerateTests(
671671
cwsprChatProgrammingLanguage = session.programmingLanguage.languageId,
@@ -694,7 +694,7 @@ class CodeTestChatController(
694694
buttonList.add(
695695
Button(
696696
"utg_feedback",
697-
"How can we make /test better?",
697+
message("testgen.button.feedback"),
698698
keepCardAfterClick = true,
699699
position = "outside",
700700
status = "info",
@@ -854,7 +854,7 @@ class CodeTestChatController(
854854
buttonList.add(
855855
Button(
856856
"utg_feedback",
857-
"How can we make /test better?",
857+
message("testgen.button.feedback"),
858858
keepCardAfterClick = true,
859859
position = "outside",
860860
status = "info",

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/ui/feedback/FeatureDevFeedbackDialog.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ class FeatureDevFeedbackDialog(project: Project) : FeedbackDialog(project) {
1616
}
1717

1818
init {
19-
title = message("feedback.title.amazonq.feature_dev")
19+
title = message("feedback.title.amazonq.send_feedback")
2020
}
2121
}

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/ui/feedback/TestGenFeedbackDialog.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ class TestGenFeedbackDialog(
2020
}
2121

2222
init {
23-
title = message("feedback.title.amazonq.feature_dev")
23+
title = message("feedback.title.amazonq.send_feedback")
2424
}
2525
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,7 @@ feedback.submit_success=Thanks for the feedback!
13291329
feedback.submitting=Sharing...
13301330
feedback.title=Share Feedback for {0}...
13311331
feedback.title.amazonq=Send feedback for Code Transformation by Amazon Q
1332-
feedback.title.amazonq.feature_dev=Send feedback for Amazon Q
1332+
feedback.title.amazonq.send_feedback=Send feedback for Amazon Q
13331333
feedback.validation.comment_too_long=Comment is too long.
13341334
feedback.validation.empty_comment=Please provide a comment.
13351335
feedback.validation.no_sentiment=Please select how you're feeling.
@@ -2066,12 +2066,12 @@ sqs.subscribe.sns.validation.empty_topic=Topic must be specified.
20662066
sqs.toolwindow=SQS
20672067
sqs.url.parse_error=Error parsing SQS queue URL
20682068
tags.title=Tags
2069+
testgen.button.feedback=How can we make /test better?
20692070
testgen.error.generic_error_message=Amazon Q encountered an error while generating tests. Try again later.
20702071
testgen.error.generic_technical_error_message=I am experiencing technical difficulties at the moment. Please try again in a few minutes.
20712072
testgen.error.maximum_generations_reach=You've reached the monthly quota for Amazon Q Developer's agent capabilities. You can try again next month. For more information on usage limits, see the <a href=\"https://aws.amazon.com/q/developer/pricing/\" target=\"_blank\">Amazon Q Developer pricing page</a>.
20722073
testgen.message.cancelled=Unit test generation cancelled.
20732074
testgen.message.failed=Test generation failed
2074-
testgen.message.feedback=Thanks for providing feedback.
20752075
testgen.message.regenerate_input=Sure thing. Please provide new instructions for me to generate the tests, and select the function(s) you would like to test.
20762076
testgen.message.success=Unit test generation completed.
20772077
testgen.no_file_found=Sorry, there isn't a source file open right now that I can generate a test for. Make sure you open a source file so I can generate tests.

0 commit comments

Comments
 (0)