mirror of
https://github.com/yeongpin/cursor-free-vip.git
synced 2025-08-02 20:47:35 +08:00
Update configuration paths for update.yml and add new translation key for 'create_block_file_failed' in English, Simplified Chinese, and Traditional Chinese locales.
This commit is contained in:
parent
1c1174fa6c
commit
b6bf62f841
@ -50,7 +50,7 @@ def setup_config(translator=None):
|
|||||||
'machine_id_path': os.path.join(appdata, "Cursor", "machineId"),
|
'machine_id_path': os.path.join(appdata, "Cursor", "machineId"),
|
||||||
'cursor_path': os.path.join(localappdata, "Programs", "Cursor", "resources", "app"),
|
'cursor_path': os.path.join(localappdata, "Programs", "Cursor", "resources", "app"),
|
||||||
'updater_path': os.path.join(localappdata, "cursor-updater"),
|
'updater_path': os.path.join(localappdata, "cursor-updater"),
|
||||||
'update_yml_path': os.path.join(localappdata, "Programs", "Cursor", "resources", "app", "update.yml")
|
'update_yml_path': os.path.join(localappdata, "Programs", "Cursor", "resources", "update.yml")
|
||||||
}
|
}
|
||||||
elif sys.platform == "darwin":
|
elif sys.platform == "darwin":
|
||||||
default_config['MacPaths'] = {
|
default_config['MacPaths'] = {
|
||||||
|
@ -293,7 +293,8 @@
|
|||||||
"update_yml_not_found": "update.yml file not found",
|
"update_yml_not_found": "update.yml file not found",
|
||||||
"clear_update_yml_failed": "Failed to clear update.yml file: {error}",
|
"clear_update_yml_failed": "Failed to clear update.yml file: {error}",
|
||||||
"unsupported_os": "Unsupported OS: {system}",
|
"unsupported_os": "Unsupported OS: {system}",
|
||||||
"remove_directory_failed": "Failed to remove directory: {error}"
|
"remove_directory_failed": "Failed to remove directory: {error}",
|
||||||
|
"create_block_file_failed": "Failed to create block file: {error}"
|
||||||
},
|
},
|
||||||
"updater": {
|
"updater": {
|
||||||
"checking": "Checking for updates...",
|
"checking": "Checking for updates...",
|
||||||
|
@ -288,7 +288,8 @@
|
|||||||
"update_yml_not_found": "update.yml 文件未找到",
|
"update_yml_not_found": "update.yml 文件未找到",
|
||||||
"clear_update_yml_failed": "清空 update.yml 文件失败: {error}",
|
"clear_update_yml_failed": "清空 update.yml 文件失败: {error}",
|
||||||
"unsupported_os": "不支持的操作系统: {system}",
|
"unsupported_os": "不支持的操作系统: {system}",
|
||||||
"remove_directory_failed": "删除目录失败: {error}"
|
"remove_directory_failed": "删除目录失败: {error}",
|
||||||
|
"create_block_file_failed": "创建阻止文件失败: {error}"
|
||||||
},
|
},
|
||||||
"updater": {
|
"updater": {
|
||||||
"checking": "检查更新...",
|
"checking": "检查更新...",
|
||||||
|
@ -267,7 +267,8 @@
|
|||||||
"update_yml_not_found": "update.yml 文件未找到",
|
"update_yml_not_found": "update.yml 文件未找到",
|
||||||
"clear_update_yml_failed": "清空 update.yml 文件失败: {error}",
|
"clear_update_yml_failed": "清空 update.yml 文件失败: {error}",
|
||||||
"unsupported_os": "不支持的操作系统: {system}",
|
"unsupported_os": "不支持的操作系统: {system}",
|
||||||
"remove_directory_failed": "刪除目錄失败: {error}"
|
"remove_directory_failed": "刪除目錄失败: {error}",
|
||||||
|
"create_block_file_failed": "創建阻止文件失败: {error}"
|
||||||
},
|
},
|
||||||
"updater": {
|
"updater": {
|
||||||
"checking": "檢查更新...",
|
"checking": "檢查更新...",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user