Skip to content

Commit f96396e

Browse files
committed
localize
1 parent c29db88 commit f96396e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/startup/AmazonQStartupActivity.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import software.aws.toolkits.jetbrains.services.codewhisperer.explorer.CodeWhisp
2727
import software.aws.toolkits.jetbrains.services.cwc.inline.InlineChatController
2828
import software.aws.toolkits.jetbrains.settings.CodeWhispererSettings
2929
import software.aws.toolkits.jetbrains.utils.notifyInfo
30+
import software.aws.toolkits.resources.AmazonQBundle.message
3031
import java.lang.management.ManagementFactory
3132
import java.time.Duration
3233
import java.util.concurrent.atomic.AtomicBoolean
@@ -45,11 +46,11 @@ class AmazonQStartupActivity : ProjectActivity {
4546
) {
4647
CodeWhispererSettings.getInstance().toggleProjectContextEnabled(value = true, passive = true)
4748

48-
// TODO: finalize and localize strings
49+
// TODO: finalize strings
4950
runInEdt {
5051
notifyInfo(
51-
title = "Amazon Q",
52-
content = "Workspace index is now enabled. You can disable it in the Amazon Q settings.",
52+
title = message("amazonq.brand.title"),
53+
content = message("amazonq.chat.workspacecontext.enable.message"),
5354
notificationActions = listOf(CodeWhispererShowSettingsAction())
5455
)
5556
}

plugins/amazonq/shared/jetbrains-community/resources/software/aws/toolkits/resources/AmazonQBundle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
action.q.hello.description=Hello description
2+
amazonq.brand.title=Amazon Q
3+
amazonq.chat.workspacecontext.enable.message=Workspace index is now enabled. You can disable it in the Amazon Q settings.
24
amazonqInlineChat.hint.edit = Edit
35
amazonqInlineChat.popup.accept=Accept \u23CE
46
amazonqInlineChat.popup.cancel=Cancel \u238B

0 commit comments

Comments
 (0)