All files / constants languages.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51                                                                                                     
// SPDX-FileCopyrightText: 2024-2026 Hack23 AB
// SPDX-License-Identifier: Apache-2.0
 
/**
 * @module Constants/Languages
 * @description Barrel re-export for all language constants.
 *
 * Bounded contexts:
 * - **language-core** — Codes, flags, names, presets, utility functions
 * - **language-ui** — UI strings (titles, descriptions, labels, accessibility)
 * - **language-articles** — Article-type title generators and body-text strings
 */
 
export {
  ALL_LANGUAGES,
  LANGUAGE_PRESETS,
  LANGUAGE_FLAGS,
  LANGUAGE_NAMES,
  getLocalizedString,
  isSupportedLanguage,
  getTextDirection,
} from './language-core.js';
 
export {
  PAGE_TITLES,
  PAGE_DESCRIPTIONS,
  SECTION_HEADINGS,
  NO_ARTICLES_MESSAGES,
  SKIP_LINK_TEXTS,
  ARTICLE_TYPE_LABELS,
  READ_TIME_LABELS,
  BACK_TO_NEWS_LABELS,
  ARTICLE_NAV_LABELS,
} from './language-ui.js';
 
export {
  WEEK_AHEAD_TITLES,
  MONTH_AHEAD_TITLES,
  WEEKLY_REVIEW_TITLES,
  MONTHLY_REVIEW_TITLES,
  MOTIONS_TITLES,
  BREAKING_NEWS_TITLES,
  COMMITTEE_REPORTS_TITLES,
  PROPOSITIONS_TITLES,
  PROPOSITIONS_STRINGS,
  EDITORIAL_STRINGS,
  MOTIONS_STRINGS,
  WEEK_AHEAD_STRINGS,
  BREAKING_STRINGS,
} from './language-articles.js';