angular-cn/aio/tools/translator/bin/translate-one.ts

8 lines
250 B
TypeScript

#!/usr/bin/env ts-node
import { dirs } from '../dirs';
import { translateFile } from '../translate';
const filename = 'guide/reactive-forms.md';
translateFile(__dirname + '/../../../../../angular/aio/content/' + filename, dirs.content + filename);