fix: 翻译合并完毕,去掉以前版本的字典,只使用上一版
This commit is contained in:
parent
20d593d067
commit
f906fa5b29
|
@ -511,7 +511,7 @@ a point that's discussed later in this page.
|
|||
|
||||
<h3 class="no-toc">Impure pipes</h3>
|
||||
|
||||
### 非纯管道
|
||||
<h3 class="no-toc">非纯管道</h3>
|
||||
|
||||
Angular executes an *impure pipe* during every component change detection cycle.
|
||||
An impure pipe is called often, as often as every keystroke or mouse-move.
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
#!/usr/bin/env ts-node
|
||||
import { dirs } from '../dirs';
|
||||
import { gatherFromDirectory } from '../extractor';
|
||||
import { translateDirectory } from '../translate';
|
||||
|
||||
gatherFromDirectory(dirs.aio + '../../content-1/', dirs.here + 'dict-1.json');
|
||||
gatherFromDirectory(dirs.aio + '../../content-2/', dirs.here + 'dict-2.json');
|
||||
gatherFromDirectory(dirs.aio + '../../content-3/', dirs.here + 'dict-3.json');
|
||||
gatherFromDirectory(dirs.content, dirs.here + 'dict-latest.json');
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -5,7 +5,7 @@ import { dirs } from './dirs';
|
|||
import { listMarkdownFiles } from './extractor';
|
||||
import { indentOf, normalizeLines, repeat } from './utils';
|
||||
|
||||
export const dict = require('./dict-2.json') as DictEntry[];
|
||||
export const dict = require('./dict-latest.json') as DictEntry[];
|
||||
|
||||
export function lookup(english: string, filename: RegExp = /.*/): DictEntry[] {
|
||||
const entries = dict
|
||||
|
|
Loading…
Reference in New Issue