diff options
| -rw-r--r-- | locales/help_docs/en.yml | 3 | ||||
| -rw-r--r-- | locales/help_docs/zh-CN.yml | 1 | ||||
| -rw-r--r-- | src/bin/jv.rs | 11 |
3 files changed, 13 insertions, 2 deletions
diff --git a/locales/help_docs/en.yml b/locales/help_docs/en.yml index 8efc970..4bf312e 100644 --- a/locales/help_docs/en.yml +++ b/locales/help_docs/en.yml @@ -827,7 +827,7 @@ jv: Now in structural change mode: %{moved_items}%{lost_items}%{erased_items}%{created_items} **Tip**: Use `jv align` to align moved, lost, and erased changes, - Use `jv track` to track created changes + Use `jv track` to track created changes content_modifies_display: | Viewing sheet %{sheet_name} (%{h}h %{m}min %{s}secs ago). @@ -838,6 +838,7 @@ jv: **Tip**: Use `jv track` to track your changes no_changes: | + In sheet %{sheet_name}, status based on %{h} hours %{m} minutes %{s} seconds ago Your workspace is synchronized with upstream, you can proceed with structural and content editing based on this state! created_item: | diff --git a/locales/help_docs/zh-CN.yml b/locales/help_docs/zh-CN.yml index 757acd6..156761e 100644 --- a/locales/help_docs/zh-CN.yml +++ b/locales/help_docs/zh-CN.yml @@ -830,6 +830,7 @@ jv: **提示**:使用 `jv track` 追踪您的变更 no_changes: | + 所在表 %{sheet_name},状态基于 %{h} 小时 %{m} 分钟 %{s} 秒前 您的工作区与上游保持同步,可基于该状态进行结构、内容的编辑! created_item: | diff --git a/src/bin/jv.rs b/src/bin/jv.rs index dd00b7e..cf0c720 100644 --- a/src/bin/jv.rs +++ b/src/bin/jv.rs @@ -1966,7 +1966,16 @@ async fn jv_status(_args: StatusArgs) { .trim() ); } else { - println!("{}", md(t!("jv.success.status.no_changes"))); + println!( + "{}", + md(t!( + "jv.success.status.no_changes", + sheet_name = sheet_name, + h = h, + m = m, + s = s + )) + ); } } |
