From a8002aeba436ceae1c9b373fa134015d694a0e84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=88=AA=E5=AE=87?= <3364451258@qq.com> Date: Fri, 1 May 2026 23:00:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(undo):=20=E6=B7=BB=E5=8A=A0=E6=92=A4?= =?UTF-8?q?=E9=94=80/=E9=87=8D=E5=81=9A=E7=9A=84=E4=B8=AD=E8=8B=B1?= =?UTF-8?q?=E6=96=87=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- po/en_US.po | 16 ++++++++++++++++ po/messages.pot | 16 ++++++++++++++++ po/zh_CN.po | 16 ++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/po/en_US.po b/po/en_US.po index 26b4803..4d985e1 100644 --- a/po/en_US.po +++ b/po/en_US.po @@ -56,6 +56,14 @@ msgstr "Move Down" msgid "Clean Invalid" msgstr "Clean Invalid" +#: src/ui/main_window.c +msgid "Undo" +msgstr "Undo" + +#: src/ui/main_window.c +msgid "Redo" +msgstr "Redo" + #: src/ui/main_window.c msgid "OK" msgstr "OK" @@ -364,6 +372,14 @@ msgstr "Are you sure you want to continue?" msgid "Cleanup completed! Removed %d invalid or duplicate paths." msgstr "Cleanup completed! Removed %d invalid or duplicate paths." +#: src/controller/callbacks_nav.c +msgid "Undo completed" +msgstr "Undo completed" + +#: src/controller/callbacks_nav.c +msgid "Redo completed" +msgstr "Redo completed" + #: src/controller/callbacks_basic.c msgid "New Environment Variable" msgstr "New Environment Variable" diff --git a/po/messages.pot b/po/messages.pot index f4a4370..b5acaa8 100644 --- a/po/messages.pot +++ b/po/messages.pot @@ -57,6 +57,14 @@ msgstr "" msgid "Clean Invalid" msgstr "" +#: src/ui/main_window.c +msgid "Undo" +msgstr "" + +#: src/ui/main_window.c +msgid "Redo" +msgstr "" + #: src/ui/main_window.c msgid "OK" msgstr "" @@ -104,3 +112,11 @@ msgstr "" #: src/ui/dialogs.c msgid "English" msgstr "" + +#: src/controller/callbacks_nav.c +msgid "Undo completed" +msgstr "" + +#: src/controller/callbacks_nav.c +msgid "Redo completed" +msgstr "" diff --git a/po/zh_CN.po b/po/zh_CN.po index c551280..5a693dd 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -56,6 +56,14 @@ msgstr "下移" msgid "Clean Invalid" msgstr "一键清理" +#: src/ui/main_window.c +msgid "Undo" +msgstr "撤销" + +#: src/ui/main_window.c +msgid "Redo" +msgstr "重做" + #: src/ui/main_window.c msgid "OK" msgstr "确定" @@ -364,6 +372,14 @@ msgstr "确定要继续吗?" msgid "Cleanup completed! Removed %d invalid or duplicate paths." msgstr "清理完成!共移除了 %d 个无效或重复路径。" +#: src/controller/callbacks_nav.c +msgid "Undo completed" +msgstr "已撤销" + +#: src/controller/callbacks_nav.c +msgid "Redo completed" +msgstr "已重做" + #: src/controller/callbacks_basic.c msgid "New Environment Variable" msgstr "新建环境变量"