Skip to content

Commit

Permalink
feat(dict): update dict
Browse files Browse the repository at this point in the history
  • Loading branch information
bluelovers committed Jul 7, 2024
1 parent e0d0ca0 commit 2347d4c
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/static/synonym.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ IP 位址,IP 地址
備用,后备
儲存,保存
儲存庫,仓库,倉庫
允許合併,允许合并
元件,組件
原始檔,源文件
原始碼,源代码
Expand Down Expand Up @@ -70,7 +71,12 @@ IP 位址,IP 地址
支援,支持
右鍵選單,上下文菜单,上下文选单,右键菜单
合併,合並,合并
合併具有,合并具有
合併列,合并列
合併行,连接行
合併拉取,合并拉取
合併數,合並數,合并数
合併由,合并由
啟用,激活
呼叫,调用
呼叫了,调用了
Expand Down
9 changes: 9 additions & 0 deletions lib/static/table.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
签出|0x1000|0
上下文菜单|0x100000|0
上下文选单|0x100000|0
不具有|0x1000|0
專案|0x100000|2000
為空|0x1000|0
主菜單|0x100000|0
布爾|0x100000|0
布爾值|0x100000|0
布爾類型|0x100000|0
位掩码|0x100000|0
允许合并|0x1000|0
内存|0x100000|500
内部版本|0x100000|0
内部版本号|0x100000|0
Expand All @@ -23,6 +25,11 @@
反方向|0x8100000|0
发送到|0x100000|0
变基|0x1000|0
合并具有|0x1000|0
合并列|0x100000|0
合併拉取|0x1000|0
合并数|0x101000|1000
合并由|0x1000|0
后台|0x100000|1000
後台|0x100000|1000
形參|0x100000|0
Expand All @@ -31,6 +38,7 @@
头文件|0x100000|0
头档案|0x100000|0
字節|0x100000|0
存在衝突|0x1000|0
导航栏|0x100000|0
常量|0x100000|0
應用程序|0x100000|2000
Expand All @@ -50,6 +58,7 @@
數組|0x100000|0
文本光标|0x100000|0
无后台|0x100000|1000
沒有效果|0x1000|0
雜註|0x100000|0
析构|0x1000|0
標籤頁|0x100000|0
Expand Down
22 changes: 22 additions & 0 deletions scripts/delete-cache.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/**
* Created by user on 2018/4/17/017.
*/

import * as path from 'path';
import * as fs from 'fs-extra';
import FastGlob from '@bluelovers/fast-glob/bluebird';
import { removeSync } from 'fs-extra';
import { __root, temp_root } from '../test/__root';
import { removeCache } from 'novel-segment-cli';

//let cache_file = path.join(ProjectConfig.temp_root, 'cache.db');

console.time(`[delete] cache`);

removeCache()
.tap(() => {

console.timeEnd(`[delete] cache`);

})
;
2 changes: 2 additions & 0 deletions test/__root.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ console.enabledColor = true;
export const __root = join(__dirname, '..');

export const isWin = process.platform === "win32";

export const temp_root = join(__root, 'test/temp');
30 changes: 30 additions & 0 deletions test/segment.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,36 @@ describe(`should include`, () => {
`javascript.validation.message.this.referenced.from.static.context=在 static 上下文中引用了 'this'`
],

[
`併`,
`action.Profiler.OpenMergedCalleesAction.description=在新页籤中开启选定的方法合并被呼叫方树`
],

[
`併`,
`ui.merged.calls.view.tab.title=方法合并被呼叫方`
],

[
`併`,
`property.Merges.title=合并数`
],

[
`併`,
`merge.columns=合并列`
],

[
`併`,
`支援您分配和合并拉取请求,`
],

[
`併`,
`二元运算符合并由逗号分隔的条件`
],

]).sort((a, b) => {
return _comp(a[0], b[0])
}).forEach(text => {
Expand Down

0 comments on commit 2347d4c

Please sign in to comment.