fix: 修改翻译脚本
This commit is contained in:
parent
9342e862f5
commit
34b8180183
|
@ -1,7 +1,8 @@
|
|||
#!/usr/bin/env ts-node
|
||||
|
||||
import { dirs } from '../dirs';
|
||||
import * as path from 'path';
|
||||
import { translateFile } from '../translate';
|
||||
|
||||
const filename = 'guide/reactive-forms.md';
|
||||
translateFile(__dirname + '/../../../../../angular/aio/content/' + filename, dirs.content + filename);
|
||||
const filename = path.join(dirs.content, process.argv[2]);
|
||||
translateFile(filename, filename);
|
||||
|
|
Loading…
Reference in New Issue