From 84b004a421000c776f1009687562a47533d6cff7 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 27 Feb 2026 06:43:08 +0800 Subject: Add sheetedit command for editing sheet files --- resources/locales/jvn/cmds/sheetedit/en.yml | 22 ++++++++++++++++++++++ resources/locales/jvn/cmds/sheetedit/zh-CN.yml | 21 +++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 resources/locales/jvn/cmds/sheetedit/en.yml create mode 100644 resources/locales/jvn/cmds/sheetedit/zh-CN.yml (limited to 'resources') diff --git a/resources/locales/jvn/cmds/sheetedit/en.yml b/resources/locales/jvn/cmds/sheetedit/en.yml new file mode 100644 index 0000000..8a439d2 --- /dev/null +++ b/resources/locales/jvn/cmds/sheetedit/en.yml @@ -0,0 +1,22 @@ +sheetedit: + editor: | + # Editing `%{file_dir}` + + # Index format: + # Upstream: id/ver + # Local: ~id/ver + + # Forward format: + # Latest Version: "Mapping" => "ID/VER" + # RefSheet Version: "Mapping" => "ID/VER" => "ref" + # Specific Version: "Mapping" == "ID/VER" + # Or: "Mapping" => "ID/VER" == "VER" + + %{info} + + # TIPS: After editing, save file and exit editor. + # It will be automatically written to the original file. + + mapping: Mapping + index_source: Index + forward: Forward diff --git a/resources/locales/jvn/cmds/sheetedit/zh-CN.yml b/resources/locales/jvn/cmds/sheetedit/zh-CN.yml new file mode 100644 index 0000000..6352d36 --- /dev/null +++ b/resources/locales/jvn/cmds/sheetedit/zh-CN.yml @@ -0,0 +1,21 @@ +sheetedit: + editor: | + # 正在编辑 `%{file_dir}` + + # 索引源格式: + # 本地命名空间索引:~id/ver + # 上游命名空间索引: id/ver + + # 前方格式: + # 指向最新版本:"Mapping" => "ID/VER" + # 指向参考版本:"Mapping" => "ID/VER" => "ref" + # 指向指定版本:"Mapping" == "ID/VER" + # 或者:"Mapping" => "ID/VER" == "VER" + + %{info} + + # 完成编辑后,保存文件并退出编辑器,将会自动写入到原始文件 + + mapping: 映射地址 + index_source: 索引源 + forward: 前方 -- cgit