From 39c67adcfd930e614e2d720140e8d18b3d724c2c Mon Sep 17 00:00:00 2001 From: Carl-Robert Linnupuu Date: Tue, 29 Oct 2024 14:01:08 +0000 Subject: [PATCH] Revert "refactor: clean up unused messages" This reverts commit 7dc610d126f6d4cff51faaa5aa9bf08d00a8b721. --- .../resources/messages/codegpt.properties | 57 ++++++++++++++++++- 1 file changed, 55 insertions(+), 2 deletions(-) diff --git a/src/main/resources/messages/codegpt.properties b/src/main/resources/messages/codegpt.properties index c6ad77fc..34353a08 100644 --- a/src/main/resources/messages/codegpt.properties +++ b/src/main/resources/messages/codegpt.properties @@ -1,16 +1,34 @@ project.label=CodeGPT notification.group.name=CodeGPT notification group -notification.group.sticky.name=CodeGPT sticky notification group +notification.group.sticky.name=CodeGPT notification group sticky action.generateCommitMessage.title=CodeGPT: Generate Message action.generateCommitMessage.description=Generate git commit message +action.generateCommitMessage.serviceWarning=Messages can only be generated with OpenAI, Custom OpenAI, or Azure service action.generateCommitMessage.missingCredentials=Credentials not provided +action.includeFilesInContext.title=Include In Context... +action.includeFileInContext.title=Include File In Context... action.includeFilesInContext.dialog.title=Include In Context action.includeFilesInContext.dialog.description=Choose the files that you wish to include in the final prompt action.includeFilesInContext.dialog.repeatableContext.label=Repeatable context: action.includeFilesInContext.dialog.restoreToDefaults.label=Restore to Defaults action.openSettings.title=Open Settings action.openSettings.description=Open CodeGPT settings +action.statusbar.startServer.text=Start Server +action.statusbar.startServer.description=Start LLaMA Server +action.statusbar.startServer.MainMenu.text=Start Server +action.statusbar.stopServer.text=Stop Server +action.statusbar.stopServer.description=Stop LLaMA Server +action.statusbar.stopServer.MainMenu.text=Stop Server +action.statusbar.enableCompletions.text=Enable Completions +action.statusbar.enableCompletions.description=Enable Code Completions +action.statusbar.enableCompletions.MainMenu.text=Enable Completions +action.statusbar.disableCompletions.text=Disable Completions +action.statusbar.disableCompletions.description=Disable Code Completions +action.statusbar.disableCompletions.MainMenu.text=Disable Completions +action.compareWithOriginal.title=Compare with Original +action.applyDirectly.title=Auto Apply settings.displayName=CodeGPT: Settings +settings.openaiQuotaExceeded=OpenAI quota exceeded. settingsConfigurable.displayName.label=Display name: settingsConfigurable.service.label=Selected provider: settingsConfigurable.service.codegpt.apiKey.comment=You can find the API key in your User settings. @@ -18,6 +36,7 @@ settingsConfigurable.service.codegpt.chatCompletionModel.comment=Choose a model settingsConfigurable.service.codegpt.codeCompletionModel.comment=Choose a model tailored for code completion-related tasks. settingsConfigurable.service.custom.openai.apiKey.comment=A secret value stored in the system's Keychain or KeePass, depending on your OS. This approach is recommended over storing the secret in the header as plain text. settingsConfigurable.service.openai.apiKey.comment=You can find the API key in your User settings. +settingsConfigurable.service.openai.customModel.label=Custom model: settingsConfigurable.service.openai.organization.label=Organization: settingsConfigurable.section.openai.organization.comment=Useful when you are part of multiple organizations optional settingsConfigurable.service.google.apiKey.comment=You can find the API key in your User settings. @@ -33,6 +52,14 @@ settingsConfigurable.service.azure.apiVersion.comment=The API version to use for settingsConfigurable.service.azure.bearerToken.label=Bearer token: settingsConfigurable.service.azure.useApiKeyAuth.label=Use API key authentication settingsConfigurable.service.azure.useActiveDirectoryAuth.label=Use Active Directory authentication +settingsConfigurable.service.you.email.label=Email address: +settingsConfigurable.service.you.password.label=Password: +settingsConfigurable.service.you.signIn.label=Sign In +settingsConfigurable.service.you.signOut.label=Sign Out +settingsConfigurable.service.you.displayResults.label=Display web search results +settingsConfigurable.service.you.authentication.title=Authentication (Optional) +settingsConfigurable.service.you.userInformation.title=User Information +settingsConfigurable.service.you.chatPreferences.title=Chat Preferences settingsConfigurable.service.llama.modelPreferences.title=Model Preferences settingsConfigurable.service.llama.serverPreferences.title=Server Preferences settingsConfigurable.service.llama.modelSize.label=Model size: @@ -40,6 +67,8 @@ settingsConfigurable.service.llama.quantization.label=Quantization: settingsConfigurable.service.llama.quantization.comment=Quantization is a technique to reduce the computational and memory costs of running inference. Learn more settingsConfigurable.service.llama.customModelPath.label=Model path: settingsConfigurable.service.llama.customModelPath.comment=Only .gguf files are supported +settingsConfigurable.service.llama.customServerPath.label=Server path: +settingsConfigurable.service.llama.customServerPath.comment=Precompiled executable llama-cpp server, only .exe (Windows) or executable File (Linux) are supported settingsConfigurable.service.llama.promptTemplate.comment=Choose the template to use during interactions with the language model. Make sure it matches the custom model you're working with. settingsConfigurable.service.llama.infillTemplate.comment=The template to use for code completions. Make sure the model you're working with supports code infilling. settingsConfigurable.service.llama.downloadModelLink.label=Download Model @@ -73,6 +102,7 @@ settingsConfigurable.shared.requestConfiguration.title=Request Configuration settingsConfigurable.shared.apiKey.label=API key: settingsConfigurable.shared.apiKey.comment=API Key for authentication, added to 'Authorization' header as bearer (Optional) settingsConfigurable.shared.baseHost.label=Base host: +settingsConfigurable.shared.path.label=Path: settingsConfigurable.shared.model.label=Model: configurationConfigurable.displayName=CodeGPT: Configuration configurationConfigurable.table.title=Editor Actions @@ -90,10 +120,13 @@ configurationConfigurable.autocompletionPostProcessing.label=Enable code complet configurationConfigurable.autocompletionContextAwareCheckBox.label=Enable project context aware code completion configurationConfigurable.autocompletionGitContextCheckBox.label=Enable Git context for code completions configurationConfigurable.section.assistant.title=Assistant Configuration +configurationConfigurable.section.assistant.systemPromptField.label=System prompt: +configurationConfigurable.section.assistant.systemPromptField.comment=The system message helps to set the behaviour of the assistant configurationConfigurable.section.assistant.temperatureField.label=Temperature: configurationConfigurable.section.assistant.temperatureField.comment=The value of randomness. Must be between 0 and 1 configurationConfigurable.section.assistant.maxTokensField.label=Max completion tokens: configurationConfigurable.section.assistant.maxTokensField.comment=The maximum capacity for completion. +configurationConfigurable.section.assistant.llamacppParams.title=Configuration Options for llama.cpp settingsConfigurable.service.llama.topK.label=Top K: settingsConfigurable.service.llama.topK.comment=Limit the next token selection to the K most probable tokens (default: 40) settingsConfigurable.service.llama.topP.label=Top P: @@ -111,6 +144,11 @@ settingsConfigurable.service.custom.openai.connectionFailed=Connection failed. settingsConfigurable.service.ollama.models.refresh=Refresh Models configurationConfigurable.section.commitMessage.title=Commit Message Template configurationConfigurable.section.commitMessage.systemPromptField.label=Prompt template: +configurationConfigurable.section.inlineCompletion.title=Inline Completion +configurationConfigurable.section.inlineCompletion.systemPromptField.label=Prompt: +configurationConfigurable.section.inlineCompletion.systemPromptField.comment=Custom system prompt used for inline code generation (Fill in the Middle (FIM) template).
The {pre}, {suf} and {mid} are replaced depending on the used Model's FIM template. +configurationConfigurable.section.inlineCompletion.delay.label=Delay: +configurationConfigurable.section.inlineCompletion.delay.comment=Inline completion is requested if user is idle for x milliseconds advancedSettingsConfigurable.displayName=CodeGPT: Advanced Settings advancedSettingsConfigurable.proxy.title=HTTP/SOCKS Proxy advancedSettingsConfigurable.proxy.typeComboBoxField.label=Proxy: @@ -121,6 +159,7 @@ advancedSettingsConfigurable.proxy.passwordField.label=Password: advancedSettingsConfigurable.connectionSettings.title=Connection Settings advancedSettingsConfigurable.connectionSettings.connectionTimeout.label=Connection timeout (s): advancedSettingsConfigurable.connectionSettings.readTimeout.label=Read timeout (s): +codebaseIndexing.task.title=Indexing codebase dialog.deleteConversation.title=Delete Conversation dialog.deleteConversation.description=Are you sure you want to delete this conversation? dialog.tokenLimitExceeded.title=Token Limit Exceeded @@ -143,11 +182,14 @@ toolwindow.chat.editor.action.autoApply.reject=Reject toolwindow.chat.editor.action.autoApply.error=Something went wrong while applying changes. {0} toolwindow.chat.editor.action.autoApply.taskTitle=Apply changes toolwindow.chat.editor.action.autoApply.loadingMessage=CodeGPT: Applying changes +toolwindow.chat.editor.action.diff.description=Diff editor code against the generated one toolwindow.chat.editor.action.edit.title=Edit Source toolwindow.chat.editor.action.disableEditing.title=Disable Editing +toolwindow.chat.editor.action.edit.description=Edit generated code toolwindow.chat.editor.action.newFile.title=New File toolwindow.chat.editor.action.newFile.description=Create new file from generated code toolwindow.chat.editor.action.replaceSelection.title=Replace Selection +toolwindow.chat.editor.action.replaceSelection.description=Replace main editor selected code toolwindow.chat.editor.action.insertAtCaret.title=Insert at Caret toolwindow.chat.editor.action.insertAtCaret.description=Insert generated code after main editor caret position toolwindow.chat.editor.action.expand=Show More (+%s rows) @@ -156,6 +198,10 @@ toolwindow.chat.response.action.reloadResponse.text=Reload Response toolwindow.chat.response.action.reloadResponse.description=Reload response description toolwindow.chat.response.action.deleteResponse.text=Delete Response toolwindow.chat.response.action.deleteResponse.description=Delete response description +toolwindow.chat.youProCheckBox.text=Use GPT-4 model +toolwindow.chat.youProCheckBox.enable=Turn on for complex queries +toolwindow.chat.youProCheckBox.disable=Turn off for faster responses +toolwindow.chat.youProCheckBox.notAllowed=Enable by subscribing to YouPro plan toolwindow.chat.textArea.emptyText=Ask anything... Use '@' to include additional context service.codegpt.title=CodeGPT service.openai.title=OpenAI @@ -167,8 +213,10 @@ service.llama.title=LLaMA C/C++ (Local) service.ollama.title=Ollama (Local) validation.error.model.notExists='%s' is not available, please select another model validation.error.fieldRequired=This field is required. +validation.error.invalidEmail=The email you entered is invalid. validation.error.mustBeNumber=Value must be number. validation.error.mustBeBetweenZeroAndOne=Value must be between 0 and 1. +validation.error.mustBeGreaterThanZero=Value must be greater than 0 checkForUpdatesTask.title=Checking for CodeGPT update... checkForUpdatesTask.notification.message=An update for CodeGPT is available. checkForUpdatesTask.notification.installButton=Install update @@ -176,18 +224,21 @@ llamaServerAgent.buildingProject.description=Building server... llamaServerAgent.serverBootup.description=Booting up server... notification.compilationError.description=CodeGPT has detected a compilation error. Would you like assistance in resolving it? notification.compilationError.okLabel=Resolve errors +notification.completionError.description=Completion failed:
%s statusBar.widget.tooltip=Status shared.promptTemplate=Prompt template: shared.infillPromptTemplate=Infill template: shared.apiVersion=API version: shared.escToCancel=Esc to cancel shared.cancel=Cancel +shared.confirm=Confirm shared.configuration=Configuration shared.port=Port: shared.discard=Discard shared.notification.doNotShowAgain=Do not show again shared.loading=Loading... shared.website=Website +codeCompletion.progress.title=Code completion in progress imageAttachmentNotification.content=New image detected on desktop. Would you like to attach it to your current conversation? imageAttachmentNotification.action=Attach image action.attachImage=Attach Image @@ -199,6 +250,8 @@ shared.chatCompletions=Chat Completions shared.codeCompletions=Code Completions codeCompletionsForm.enableFeatureText=Enable code completions codeCompletionsForm.parseResponseAsChatCompletions=Parse response as Chat Completions +codeCompletionsForm.maxTokensLabel=Max tokens: +codeCompletionsForm.maxTokensComment=The maximum number of tokens that will be generated in the code completion. editCodePopover.title=Edit Code editCodePopover.textField.emptyText=Editing instructions... editCodePopover.textField.followUp.emptyText=Ask a follow-up question @@ -226,4 +279,4 @@ suggestionGroupItem.git.displayName=Git suggestionActionItem.webSearch.displayName=Web suggestionActionItem.viewDocumentations.displayName=View all docs suggestionActionItem.createPersona.displayName=Create new persona -suggestionActionItem.createDocumentation.displayName=Create new documentation +suggestionActionItem.createDocumentation.displayName=Create new documentation \ No newline at end of file