generaltranslation 7.2.0 → 7.3.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +1 -8
- package/dist/index.cjs.min.cjs +3 -3
- package/dist/index.cjs.min.cjs.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.esm.min.mjs +3 -3
- package/dist/index.esm.min.mjs.map +1 -1
- package/dist/internal.cjs.min.cjs +1 -1
- package/dist/internal.cjs.min.cjs.map +1 -1
- package/dist/internal.d.ts +2 -1
- package/dist/internal.esm.min.mjs +1 -1
- package/dist/internal.esm.min.mjs.map +1 -1
- package/dist/logging/errors.d.ts +1 -1
- package/dist/types-dir/enqueueEntries.d.ts +1 -0
- package/dist/types-dir/enqueueFiles.d.ts +1 -0
- package/dist/types-dir/entry.d.ts +2 -0
- package/dist/types.d.ts +4 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
@@ -243,9 +243,17 @@ export declare class GT {
|
|
243
243
|
_translate(source: JsxChildren, targetLocale: string, metadata?: Omit<EntryMetadata, 'dataFormat'> & {
|
244
244
|
dataFormat?: 'JSX';
|
245
245
|
}): Promise<TranslationResult | TranslationError>;
|
246
|
+
/**
|
247
|
+
* Translates the source content to the target locale.
|
248
|
+
* @deprecated Use the {@link translate} method instead.
|
249
|
+
*/
|
246
250
|
_translate(source: IcuMessage, targetLocale: string, metadata?: Omit<EntryMetadata, 'dataFormat'> & {
|
247
251
|
dataFormat?: 'ICU';
|
248
252
|
}): Promise<TranslationResult | TranslationError>;
|
253
|
+
/**
|
254
|
+
* Translates the source content to the target locale.
|
255
|
+
* @deprecated Use the {@link translate} method instead.
|
256
|
+
*/
|
249
257
|
_translate(source: I18nextMessage, targetLocale: string, metadata?: Omit<EntryMetadata, 'dataFormat'> & {
|
250
258
|
dataFormat?: 'I18NEXT';
|
251
259
|
}): Promise<TranslationResult | TranslationError>;
|