Skip to content

Commit c84b0fd

Browse files
committed
update zh-tw translation
update readme
1 parent 46808a4 commit c84b0fd

3 files changed

Lines changed: 51 additions & 45 deletions

File tree

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# name_exchanger
22

3-
更换两个文件的名字。Exchange two files' name, write by aardio
3+
更换两个文件的名字。Exchange two files' name, re-write by C++.
44

55
## 直接拖入文件(1个或者2个均可,也可手写文件路径)
66
<!-- xxx -->
77
## Directly drag in files (1 or 2 can be selected, or write file path manually)
88
<!-- xxx -->
9-
## 使用说明
9+
## 使用说明/Instruction
1010

1111
拖入文件(夹)即可使用,软件自动常驻任务栏,悬停鼠标于菜单栏图标或点击「问号」图标可获得提示。
1212

@@ -16,13 +16,19 @@
1616

1717
------
1818

19-
拖入文件即可使用,軟體自動保持常駐,懸停鼠標於按鈕上或点击可獲得提示
19+
拖入資料(夾)即可使用,軟體自動常駐任務欄,懸停滑鼠於視窗圖示或點擊「問號」圖示可獲得提示
2020

21-
點擊🛠後可新增功能“右鍵選單-傳送到”,支持直接托拽文件使用
21+
點擊「迴紋針」圖示後將添加“右鍵選單-傳送到”,支持不打開直接使用。如果右鍵選單失效,請右鍵點擊「迴紋針」圖標
2222

23-
如果右鍵選單失效,請右鍵點擊🛠
23+
左上角的「圖釘」圖示可設置置頂與否
2424

25-
右下方⚓/🔱為置頂開關。
25+
------
26+
27+
Drag in files (or folders) to use, the software will automatically reside in the taskbar. Hover the mouse over the menu bar icon or click the "question mark" icon for tips.
28+
29+
Click the "paperclip" icon to add "Right-click menu - Send to", which supports direct use without opening. If the right-click menu fails, please right-click the "paperclip" icon.
30+
31+
The "pin" icon in the upper left corner can be set to be on top or not.
2632

2733
## ScreenShot
2834

res/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#define VERSION_INT 3, 0, 0, 0
2-
#define VERSION_STR "3.0.0"
1+
#define VERSION_INT 2026, 2, 22, 9999
2+
#define VERSION_STR "21.20.12"

src/i18n.cpp

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,78 +5,78 @@
55
// clang-format off
66

77
static const LocaleStrings kSimplifiedChinese = {
8-
/* windowTitle */ "FilenameExchanger",
9-
/* file1Label */ "文件一",
10-
/* file2Label */ "文件二",
11-
/* startButton */ "启动",
12-
/* pinTooltip */ "置顶开关",
8+
/* windowTitle */ "FilenameExchanger",
9+
/* file1Label */ "文件一",
10+
/* file2Label */ "文件二",
11+
/* startButton */ "启动",
12+
/* pinTooltip */ "置顶开关",
1313
/* aboutTooltip */ L"关于",
14-
/* adminTooltip */ "以管理员身份启动",
15-
/* sendToTooltip */ "单击可新增右键菜单「发送到」选项\n右键点击以删除",
14+
/* adminTooltip */ "以管理员身份启动",
15+
/* sendToTooltip */ "单击可新增右键菜单「发送到」选项\n右键点击以删除",
1616
/* aboutMessageW */ L"拖入文件即可使用,软件将常驻任务栏,\n悬停鼠标于按钮上可获得提示。\n\n软件包含以下功能\n○管理员身份启动\n○创建/删除「发送到」菜单快捷方式\n○置顶",
1717
/* trayTooltip */ L"FilenameExchanger\n左键显示/隐藏\n右键退出",
1818
/* shortcutCreated */ L"已创建",
1919
/* shortcutRemoved */ L"已删除",
2020
/* tipsTitle */ L"提示",
2121
/* errorTitle */ L"错误",
2222
/* warningTitle */ L"警告",
23-
/* resultSuccess */ "成功",
24-
/* resultNoExist */ "文件不存在",
25-
/* resultPermDenied */ "权限不足",
26-
/* resultAlreadyExists */ "目标文件已存在",
23+
/* resultSuccess */ "成功",
24+
/* resultNoExist */ "文件不存在",
25+
/* resultPermDenied */ "权限不足",
26+
/* resultAlreadyExists */"目标文件已存在",
2727
/* resultSameFile */ "两个路径指向同一文件",
2828
/* resultInvalidPath */ "无效路径",
2929
/* resultUnknown */ "未知错误",
3030
};
3131

3232
static const LocaleStrings kTraditionalChinese = {
33-
/* windowTitle */ "FilenameExchanger",
34-
/* file1Label */ "檔案一",
35-
/* file2Label */ "檔案二",
36-
/* startButton */ "啟動",
37-
/* pinTooltip */ "置頂開關",
33+
/* windowTitle */ "FilenameExchanger",
34+
/* file1Label */ "檔案一",
35+
/* file2Label */ "檔案二",
36+
/* startButton */ "啟動",
37+
/* pinTooltip */ "置頂開關",
3838
/* aboutTooltip */ L"關於",
39-
/* adminTooltip */ "以系統管理員執行",
40-
/* sendToTooltip */ "點擊新增至右鍵選單「傳送到」選項\n點擊右鍵取消",
41-
/* aboutMessageW */ L"拖入檔案即可使用,軟件將常駐任務欄,\n懸停滑鼠於按鍵上可獲得提示。\n\n軟件包含以下功能\n系統管理員身份啟動\n○建立/刪除「傳送到」選單快捷方式\n○置頂",
39+
/* adminTooltip */ "以系統管理員執行",
40+
/* sendToTooltip */ "點擊新增至右鍵選單「傳送到」選項\n點擊右鍵取消",
41+
/* aboutMessageW */ L"拖入檔案即可使用,軟件將常駐任務欄,\n懸停滑鼠於按鍵上可獲得提示。\n\n軟件包含以下功能\n以系統管理員執行\n○建立/刪除「傳送到」選單快捷方式\n○置頂",
4242
/* trayTooltip */ L"FilenameExchanger\n左鍵顯示/隱藏\n右鍵退出",
4343
/* shortcutCreated */ L"已建立",
4444
/* shortcutRemoved */ L"已刪除",
4545
/* tipsTitle */ L"提示",
4646
/* errorTitle */ L"錯誤",
4747
/* warningTitle */ L"警告",
48-
/* resultSuccess */ "成功",
49-
/* resultNoExist */ "檔案不存在",
50-
/* resultPermDenied */ "權限不足",
51-
/* resultAlreadyExists */ "目標檔案已存在",
48+
/* resultSuccess */ "成功",
49+
/* resultNoExist */ "檔案不存在",
50+
/* resultPermDenied */ "權限不足",
51+
/* resultAlreadyExists */"目標檔案已存在",
5252
/* resultSameFile */ "兩個路徑指向同一檔案",
5353
/* resultInvalidPath */ "無效路徑",
5454
/* resultUnknown */ "未知錯誤",
5555
};
5656

5757
static const LocaleStrings kEnglish = {
58-
/* windowTitle */ "FilenameExchanger",
59-
/* file1Label */ "File 1",
60-
/* file2Label */ "File 2",
61-
/* startButton */ "Exchange",
62-
/* pinTooltip */ "Toggle Always on Top",
58+
/* windowTitle */ "FilenameExchanger",
59+
/* file1Label */ "File 1",
60+
/* file2Label */ "File 2",
61+
/* startButton */ "Exchange",
62+
/* pinTooltip */ "Toggle Always on Top",
6363
/* aboutTooltip */ L"About",
64-
/* adminTooltip */ "Run as Administrator",
65-
/* sendToTooltip */ "Click to add to 'Send To' context menu\nRight-click to remove",
64+
/* adminTooltip */ "Run as Administrator",
65+
/* sendToTooltip */ "Click to add to 'Send To' context menu\nRight-click to remove",
6666
/* aboutMessageW */ L"Drag and drop files to use.\nThe application stays in the system tray.\nHover over buttons for tooltips.\n\nFeatures:\n· Run as Administrator\n· Create/Remove 'Send To' shortcut\n· Always on Top",
6767
/* trayTooltip */ L"FilenameExchanger\nLeft-click: Show/Hide\nRight-click: Exit",
6868
/* shortcutCreated */ L"Shortcut created",
6969
/* shortcutRemoved */ L"Shortcut removed",
7070
/* tipsTitle */ L"Info",
7171
/* errorTitle */ L"Error",
7272
/* warningTitle */ L"Warning",
73-
/* resultSuccess */ "Success",
74-
/* resultNoExist */ "File does not exist",
75-
/* resultPermDenied */ "Permission denied",
76-
/* resultAlreadyExists */ "Target file already exists",
77-
/* resultSameFile */ "Both paths refer to the same file",
78-
/* resultInvalidPath */ "Invalid path (e.g. non-UTF-8)",
79-
/* resultUnknown */ "Unknown error",
73+
/* resultSuccess */ "Success",
74+
/* resultNoExist */ "File does not exist",
75+
/* resultPermDenied */ "Permission denied",
76+
/* resultAlreadyExists */"Target file already exists",
77+
/* resultSameFile */ "Both paths refer to the same file",
78+
/* resultInvalidPath */ "Invalid path (e.g. non-UTF-8)",
79+
/* resultUnknown */ "Unknown error",
8080
};
8181

8282
// clang-format on

0 commit comments

Comments
 (0)