@pie-players/pie-tool-sign-language 0.3.66 → 0.3.68

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.
@@ -1,9 +1,19 @@
1
+ import { I18nProvider } from '@pie-players/pie-players-shared/i18n/types';
1
2
  import { CatalogCard, CatalogCardPayload, MediaFragmentRange, MediaSource } from '@pie-players/pie-players-shared/types';
2
3
  /** Catalog type token for signed alternates. Matches QTI 3's `support` value. */
3
4
  export declare const SIGN_LANGUAGE_CATALOG_TYPE = "sign-language";
4
5
  /** ISO 639-3 code for American Sign Language, and QTI 3's `xml:lang` value. */
5
6
  export declare const AMERICAN_SIGN_LANGUAGE = "ase";
6
- export declare function describeSignLanguage(signLang?: string): string;
7
+ /**
8
+ * Name the signed language for an accessible label.
9
+ *
10
+ * `i18n` is optional, and absent resolves through `resolveInterfaceI18n` — the one
11
+ * implementation of the no-publisher fallback — rather than reaching for the
12
+ * default provider here. A caller that has a provider should pass it, so the label
13
+ * re-renders when the interface locale changes. An unrecognized code gets a
14
+ * labelled code rather than a lie.
15
+ */
16
+ export declare function describeSignLanguage(signLang?: string, i18n?: I18nProvider): string;
7
17
  /**
8
18
  * A validated signed alternate, flattened for rendering.
9
19
  *