From bb997e068193027ea652de4e31f4ee9441e3bfe9 Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Tue, 25 Feb 2025 19:34:15 +0800 Subject: [PATCH] fix: Standardize Notion connection error messages across locales --- src/renderer/src/i18n/locales/en-us.json | 8 ++++---- src/renderer/src/i18n/locales/ru-ru.json | 8 ++++---- src/renderer/src/i18n/locales/zh-cn.json | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/renderer/src/i18n/locales/en-us.json b/src/renderer/src/i18n/locales/en-us.json index 527894af64..e9985955f6 100644 --- a/src/renderer/src/i18n/locales/en-us.json +++ b/src/renderer/src/i18n/locales/en-us.json @@ -605,11 +605,11 @@ "notion.api_key_placeholder": "Enter Notion API Key", "notion.check": { "button": "Check", - "fail": "Connection failed, please check network and Api_key and Database_id", + "fail": "Connection failed, please check network and API key and Database ID", "success": "Connection successful", - "error": "Connection error, please check network configuration and Api_key and Database_id", - "empty_api_key": "Api_key is not configured", - "empty_database_id": "Database_id is not configured" + "error": "Connection error, please check network configuration and API key and Database ID", + "empty_api_key": "API key is not configured", + "empty_database_id": "Database ID is not configured" }, "notion.database_id": "Notion Database ID", "notion.database_id_placeholder": "Enter Notion Database ID", diff --git a/src/renderer/src/i18n/locales/ru-ru.json b/src/renderer/src/i18n/locales/ru-ru.json index fa825fecfa..0389ab8114 100644 --- a/src/renderer/src/i18n/locales/ru-ru.json +++ b/src/renderer/src/i18n/locales/ru-ru.json @@ -605,10 +605,10 @@ "notion.api_key_placeholder": "Введите ключ API Notion", "notion.check": { "button": "Проверить", - "empty_api_key": "Не настроен Api_key", - "empty_database_id": "Не настроен Database_id", - "error": "Аномалия в подключении, пожалуйста, проверьте настройки сети, а также правильность Api_key и Database_id", - "fail": "Не удалось подключиться, пожалуйста, проверьте сеть и правильность Api_key и Database_id", + "empty_api_key": "Не настроен API key", + "empty_database_id": "Не настроен Database ID", + "error": "Аномалия в подключении, пожалуйста, проверьте настройки сети, а также правильность API key и Database ID", + "fail": "Не удалось подключиться, пожалуйста, проверьте сеть и правильность API key и Database ID", "success": "Подключение успешно" }, "notion.database_id": "ID базы данных Notion", diff --git a/src/renderer/src/i18n/locales/zh-cn.json b/src/renderer/src/i18n/locales/zh-cn.json index d75439dd1e..7afb89d9a4 100644 --- a/src/renderer/src/i18n/locales/zh-cn.json +++ b/src/renderer/src/i18n/locales/zh-cn.json @@ -605,11 +605,11 @@ "notion.api_key_placeholder": "请输入Notion 密钥", "notion.check": { "button": "检查", - "fail": "连接失败,请检查网络及Api_key和Database_id是否正确", + "fail": "连接失败,请检查网络及 API key 和 Database ID 是否正确", "success": "连接成功", - "error": "连接异常,请检查网络及Api_key和Database_id是否正确", - "empty_api_key": "未配置Api_key", - "empty_database_id": "未配置Database_id" + "error": "连接异常,请检查网络及 API key 和 Database ID 是否正确", + "empty_api_key": "未配置 API key", + "empty_database_id": "未配置 Database ID" }, "notion.database_id": "Notion 数据库 ID", "notion.database_id_placeholder": "请输入Notion 数据库 ID",