diff --git a/i18n/en.json b/i18n/en.json index 5666c5f..7b1ef3f 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1,6 +1,6 @@ { - "openai.apikey.missing": "OpenAI API Key is not configured. Would you like to configure it now?", - "ollama.baseurl.missing": "Ollama Base URL is not configured. Would you like to configure it now?", + "openai.apiKey.missing": "OpenAI API Key is not configured. Would you like to configure it now?", + "ollama.baseUrl.missing": "Ollama Base URL is not configured. Would you like to configure it now?", "diff.simplification.warning": "Diff simplification is enabled. This may affect the accuracy of AI-generated commit messages. For more accurate commit messages, consider disabling this feature.", "command.execution.failed": "Command execution failed", "scm.not.detected": "No supported version control system detected", @@ -14,9 +14,9 @@ "generate.commit.failed": "Failed to generate commit message: {0}", "get.models.failed": "Failed to get model list", "openai.config.required": "OpenAI API configuration is required to use this feature. Would you like to configure it now?", - "openai.baseurl.prompt": "Enter OpenAI API URL", - "openai.baseurl.placeholder": "e.g., https://api.openai.com/v1", - "openai.apikey.prompt": "Enter OpenAI API Key", + "openai.baseUrl.prompt": "Enter OpenAI API URL", + "openai.baseUrl.placeholder": "e.g., https://api.openai.com/v1", + "openai.apiKey.prompt": "Enter OpenAI API Key", "ai.model.picker.title": "Select AI Model", "ai.model.picker.placeholder": "Select AI model for generating commit messages", "model.update.success": "AI model settings updated to: {0} - {1}", diff --git a/i18n/zh-cn.json b/i18n/zh-cn.json index c8a0ad6..d9d1623 100644 --- a/i18n/zh-cn.json +++ b/i18n/zh-cn.json @@ -1,6 +1,6 @@ { - "openai.apikey.missing": "OpenAI API Key 未配置。是否现在配置?", - "ollama.baseurl.missing": "Ollama Base URL 未配置。是否现在配置?", + "openai.apiKey.missing": "OpenAI API Key 未配置。是否现在配置?", + "ollama.baseUrl.missing": "Ollama Base URL 未配置。是否现在配置?", "diff.simplification.warning": "Diff 简化功能已启用。这可能会影响 AI 生成提交信息的准确性。如需获取更准确的提交信息,建议禁用此功能。", "command.execution.failed": "执行命令失败", "scm.not.detected": "未检测到支持的版本控制系统", @@ -14,9 +14,9 @@ "generate.commit.failed": "生成提交信息失败: {0}", "get.models.failed": "获取模型列表失败", "openai.config.required": "需要配置 OpenAI API 信息才能使用该功能,是否现在配置?", - "openai.baseurl.prompt": "请输入 OpenAI API 地址", - "openai.baseurl.placeholder": "例如: https://api.openai.com/v1", - "openai.apikey.prompt": "请输入 OpenAI API Key", + "openai.baseUrl.prompt": "请输入 OpenAI API 地址", + "openai.baseUrl.placeholder": "例如: https://api.openai.com/v1", + "openai.apiKey.prompt": "请输入 OpenAI API Key", "ai.model.picker.title": "选择 AI 模型", "ai.model.picker.placeholder": "选择用于生成提交信息的 AI 模型", "model.update.success": "已更新 AI 模型设置为: {0} - {1}",