We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deb90ce commit 3615c77Copy full SHA for 3615c77
CHANGELOG.md
@@ -1,6 +1,8 @@
1
# Changelog
2
3
## [Unreleased]
4
+### Fixed
5
+- Locale is not used in prompt.
6
7
## [0.6.1] - 2023-04-10
8
src/main/kotlin/com/github/blarc/ai/commits/intellij/plugin/settings/AppSettings.kt
@@ -39,8 +39,8 @@ class AppSettings : PersistentStateComponent<AppSettings> {
39
}
40
41
fun getPrompt(diff: String): String {
42
- val content = currentPrompt.content
43
- content.replace("{locale}", locale.displayName)
+ var content = currentPrompt.content
+ content = content.replace("{locale}", locale.displayName)
44
45
return if (content.contains("{diff}")) {
46
content.replace("{diff}", diff)
0 commit comments