summaryrefslogtreecommitdiff
path: root/locales
diff options
context:
space:
mode:
Diffstat (limited to 'locales')
-rw-r--r--locales/help_docs/en.yml20
-rw-r--r--locales/help_docs/zh-CN.yml20
2 files changed, 40 insertions, 0 deletions
diff --git a/locales/help_docs/en.yml b/locales/help_docs/en.yml
index ab175ef..80facb0 100644
--- a/locales/help_docs/en.yml
+++ b/locales/help_docs/en.yml
@@ -943,6 +943,26 @@ jv:
jvii:
hints: |
[^S WRITE] [ESC EXIT]
+
+ errors:
+ no_file_path: "Error: No file path provided"
+ editor_error: "Editor error: %{error}"
+ file_error: "File error: %{error}"
+ file_not_found: "File does not exist: %{path}"
+ not_a_file: "Path is not a file: %{path}"
+ init_error: "Failed to initialize editor: %{error}"
+ raw_mode_error: "Failed to enable raw mode: %{error}"
+ alternate_screen_error: "Failed to enter alternate screen: %{error}"
+ save_error: "Failed to save file: %{error}"
+ render_error: "Render error: %{error}"
+
+ messages:
+ file_saved: "File saved successfully"
+ unsaved_changes: "Unsaved changes! Press Ctrl+S to save or Esc again to exit"
+ modified: " *"
+
+ status:
+ lines: " lines"
editor:
update_editor: |
diff --git a/locales/help_docs/zh-CN.yml b/locales/help_docs/zh-CN.yml
index 86051a0..3059283 100644
--- a/locales/help_docs/zh-CN.yml
+++ b/locales/help_docs/zh-CN.yml
@@ -943,6 +943,26 @@ jvii:
hints: |
[^S 保存] [ESC 退出]
+ errors:
+ no_file_path: "错误:未提供文件路径"
+ editor_error: "编辑器错误:%{error}"
+ file_error: "文件错误:%{error}"
+ file_not_found: "文件不存在:%{path}"
+ not_a_file: "路径不是文件:%{path}"
+ init_error: "初始化编辑器失败:%{error}"
+ raw_mode_error: "启用原始模式失败:%{error}"
+ alternate_screen_error: "进入备用屏幕失败:%{error}"
+ save_error: "保存文件失败:%{error}"
+ render_error: "渲染错误:%{error}"
+
+ messages:
+ file_saved: "文件保存成功"
+ unsaved_changes: "有未保存的修改!按 Ctrl+S 保存或再次按 Esc 退出"
+ modified: " *"
+
+ status:
+ lines: " 行"
+
editor:
update_editor: |
# 您正在使用编辑器模式追踪和提交文件