Skip to content

Commit

Permalink
fix: { 反方向 => 反向 } , { 字符串 => 字串 }
Browse files Browse the repository at this point in the history
  • Loading branch information
bluelovers committed Jan 20, 2022
1 parent 956eb8e commit 5e3a545
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/static/synonym.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
剪下,剪切
剪貼簿,剪貼板,剪贴板
參數,参数,形參,形参
反向,反方向
支援,支持
合併,合並,合并
唯讀,只讀,只读
執行巨集,播放宏
字串,字符串
尋找,查找
巨集,宏
應用程式,应用程序,應用程序
Expand Down
1 change: 1 addition & 0 deletions lib/static/table.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
全局库|0x100000|0
初始屏幕|0x100000|50000
反方向|0x8100000|0
形參|0x100000|0
應用程序|0x100000|0
播放宏|0x100000|0
Expand Down
4 changes: 4 additions & 0 deletions test/__snapshots__/segment.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ exports[`segment 全局库 - 导入的项目引用了未知的全局库 1`] = `"

exports[`segment 剪貼板 - 從剪貼板粘貼 1`] = `"從剪貼簿貼上"`;

exports[`segment 反方向 - 反方向重複上一次尋找 1`] = `"反向重複上一次尋找"`;

exports[`segment 只讀 - action.ToggleReadOnlyAttribute.text=切換只讀特性 1`] = `"action.ToggleReadOnlyAttribute.text=切換唯讀特性"`;

exports[`segment 字符串 - 在活動編輯器中尋找字符串 1`] = `"在活動編輯器中尋找字串"`;

exports[`segment 宏 - 无法解析宏 ''{1}'' 的形参 ''{0}'' 1`] = `"無法解析巨集 ''{1}'' 的參數 ''{0}''"`;

exports[`segment 宏 - 查看、更改、录制、播放宏 1`] = `"查看、更改、錄製、執行巨集"`;
Expand Down
2 changes: 2 additions & 0 deletions test/segment.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ describe(`segment`, () =>
[`宏`, `查看、更改、录制、播放宏`],
[`形參`, `類型形參 ''{0}'' 不能直接實例化`],
[`應用程序`, `重新加載應用程序設定`],
[`字符串`, `在活動編輯器中尋找字符串`],
[`反方向`, `反方向重複上一次尋找`],

].forEach(text =>
{
Expand Down

0 comments on commit 5e3a545

Please sign in to comment.