Skip to content

Commit 8e2f120

Browse files
committed
fix(i18n): fix typo and shorten message length
- Fix typo in the property key `chat.too.long.user.message` - Shorten the message length by removing unnecessary repetition
1 parent 6747716 commit 8e2f120

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

src/222/main/resources/META-INF/autodev-core.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,16 @@
1212
id="cc.unitmesh.devti.settings.AutoDevSettingsConfigurable"
1313
displayName="AutoDev"/>
1414

15-
<projectService serviceImplementation="cc.unitmesh.devti.settings.configurable.CoUnitProjectSettingsService"/>
1615
<projectConfigurable provider="cc.unitmesh.devti.settings.configurable.CoUnitToolConfigurableProvider"
1716
parentId="cc.unitmesh.devti.settings.AutoDevSettingsConfigurable"
1817
id="cc.unitmesh.counit"
1918
bundle="messages.AutoDevBundle" key="counit.name"/>
2019

21-
<projectService serviceImplementation="cc.unitmesh.devti.settings.custom.TeamPromptsProjectSettingsService"/>
2220
<projectConfigurable provider="cc.unitmesh.devti.settings.custom.TeamPromptsConfigurableProvider"
2321
parentId="cc.unitmesh.devti.settings.AutoDevSettingsConfigurable"
2422
id="cc.unitmesh.promptLibrary"
2523
bundle="messages.AutoDevBundle" key="settings.external.team.prompts.name"/>
2624

27-
28-
<projectService serviceImplementation="cc.unitmesh.devti.settings.coder.AutoDevCoderSettingService"/>
2925
<projectConfigurable provider="cc.unitmesh.devti.settings.coder.AutoDevCoderConfigurableProvider"
3026
parentId="cc.unitmesh.devti.settings.AutoDevSettingsConfigurable"
3127
id="cc.unitmesh.autodevCoder"
@@ -183,6 +179,7 @@
183179
icon="cc.unitmesh.devti.AutoDevIcons.AI_COPILOT" searchable="false">
184180

185181
<add-to-group group-id="ShowIntentionsGroup" relative-to-action="ShowIntentionActions" anchor="after"/>
182+
<add-to-group group-id="Floating.CodeToolbar" anchor="first"/>
186183
</group>
187184

188185
<!-- For right click -->
@@ -208,7 +205,7 @@
208205
</action>
209206

210207
<action id="cc.unitmesh.devti.actions.chat.GenTestDataAction"
211-
class="cc.unitmesh.devti.actions.chat.GenTestDataAction" text="Generate Test data (APIs)"
208+
class="cc.unitmesh.devti.actions.chat.GenTestDataAction" text="Generate Test Data (APIs)"
212209
description="Ask AI write this code">
213210
</action>
214211

src/233/main/resources/META-INF/autodev-core.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
</action>
206206

207207
<action id="cc.unitmesh.devti.actions.chat.GenTestDataAction"
208-
class="cc.unitmesh.devti.actions.chat.GenTestDataAction" text="Generate Test data (APIs)"
208+
class="cc.unitmesh.devti.actions.chat.GenTestDataAction" text="Generate Test Data (APIs)"
209209
description="Ask AI write this code">
210210
</action>
211211

src/main/resources/messages/AutoDevBundle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ intentions.crud.new.family.name=AutoCrud with this
3131
intentions.chat.selected.code.name=Chat with this code
3232
intentions.chat.selected.fragment.name=Chat with {0} fragment
3333
intentions.chat.selected.element.name=Chat with ''{0}'' {1}
34-
chat.too.long.user.message=Message has is {0} tokens, it's too looooooooooooooooooong
34+
chat.too.long.user.message=Message has is {0} tokens too looooooooooooooooooong
3535
intentions.companion.api.name=Talk with API
3636
intentions.companion.api.family.name=AutoDev: Talk with API
3737
intentions.living.documentation.name=Generate documentation

0 commit comments

Comments
 (0)