i18n defaults
This commit is contained in:
parent
180b72398e
commit
4f17cbba9f
4
packages/i18n/dist/lib/translate.js
vendored
4
packages/i18n/dist/lib/translate.js
vendored
File diff suppressed because one or more lines are too long
@ -2,7 +2,7 @@ import * as path from 'path'
|
||||
import pMap from 'p-map'
|
||||
import { globBase } from '@polymech/commons'
|
||||
|
||||
import { targets,parse as parseOptions } from '../options.js'
|
||||
import { targets, parse as parseOptions } from '../options.js'
|
||||
import { IOptions } from '../types.js'
|
||||
import { translateMarkup } from './translate_markup.js'
|
||||
import { translateJSON } from './translate_json.js'
|
||||
@ -61,7 +61,7 @@ export const translate = async (opts: IOptions) => {
|
||||
opts.srcLang,
|
||||
lang,
|
||||
{
|
||||
free_api: true,
|
||||
free_api: false,
|
||||
auth_key: opts.api_key,
|
||||
formality: opts.formality as any
|
||||
} as any, opts, "")
|
||||
|
||||
@ -11,6 +11,9 @@
|
||||
},
|
||||
{
|
||||
"path": "../tasks"
|
||||
},
|
||||
{
|
||||
"path": "../i18n"
|
||||
}
|
||||
],
|
||||
"settings": {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user