generaltranslation 7.3.0 → 7.4.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/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>;