You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under translate(text, options), it is better to leave a blank line for each feature description and put the explanation in brackets for smoother reading. The modified result is as follows:
text
Type: string, array
The text to be translated
options
Type: object
from? Type: string Default: auto
(The text language. Must be auto or one of the codes/names (not case sensitive) contained in src/languages.ts)
to Type: string Default: en
(The language in which the text should be translated. Must be one of the codes/names (not case sensitive) contained in src/languages.ts.)
tld Type: string 'com' | 'cn' <Default 'com'>
(cn is for China, com for others.)
proxy Type: AxiosProxyConfig
(proxy for request. )
Under translate(text, options), it is better to leave a blank line for each feature description and put the explanation in brackets for smoother reading. The modified result is as follows:
text
Type:
string
,array
The text to be translated
options
Type: object
from? Type:
string
Default: auto(The text language. Must be auto or one of the codes/names (not case sensitive) contained in src/languages.ts)
to Type:
string
Default: en(The language in which the text should be translated. Must be one of the codes/names (not case sensitive) contained in src/languages.ts.)
tld Type:
string
'com' | 'cn' <Default 'com'>(
cn
is for China,com
for others.)proxy Type:
AxiosProxyConfig
(proxy for request. )
config Type:
object
(config for axios)
(This is for homework requirements, thank you.)
The text was updated successfully, but these errors were encountered: