Skip to content

Commit ae29817

Browse files
committed
localize strings
1 parent bd0af62 commit ae29817

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

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
@@ -8,4 +8,6 @@ amazonqInlineChat.popup.generating = Generating...
88
amazonqInlineChat.popup.reject=Reject \u238B
99
amazonqInlineChat.popup.title=Enter Instructions for Q
1010
amazonq.refresh.panel=Refresh Chat Session
11+
amazonq.title=Amazon Q
12+
amazonq.workspace.settings.open.prompt=Workspace index is now enabled. You can disable it from Amazon Q settings.
1113
q.hello=Hello

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/settings/CodeWhispererSettings.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import com.intellij.openapi.components.Storage
1212
import com.intellij.openapi.components.service
1313
import com.intellij.util.xmlb.annotations.Property
1414
import software.aws.toolkits.jetbrains.utils.notifyInfo
15+
import software.aws.toolkits.resources.AmazonQBundle
1516

1617
@Service
1718
@State(name = "codewhispererSettings", storages = [Storage("aws.xml")])
@@ -53,8 +54,8 @@ class CodeWhispererSettings : PersistentStateComponent<CodeWhispererConfiguratio
5354
// todo: hack to bypass module dependency issue (codewhisperer -> shared), should pass [CodeWhispererShowSettingsAction] instead when it's resolved
5455
ActionManager.getInstance().getAction("codewhisperer.settings")?.let { a ->
5556
notifyInfo(
56-
"Amazon Q",
57-
"Workspace index is now enabled. You can disable it from Amazon Q settings.",
57+
AmazonQBundle.message("amazonq.title"),
58+
AmazonQBundle.message("amazonq.workspace.settings.open.prompt"),
5859
notificationActions = listOf(a)
5960
)
6061
}

0 commit comments

Comments
 (0)