Files
authentik/web/src/locale-codes.ts
T
Teffen Ellis 342d9eb726 web: Locale selector UI fixes (#18972)
* Fix alignment, focus.

* Clean up.

* Tidy click area.

* Fix compatibility mode.

* Fix alignment.

* Fix issues surrounding labels, alignment, consistency.

* Update web/src/common/ui/locale/format.ts

Signed-off-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com>

* Tidy hover states.

* Tidy.

* Clean up parsing.

* Tidy comments, usage.

* Always use script naming over region.

* Remove unused.

* Spacing.

---------

Signed-off-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com>
2025-12-23 18:40:02 +00:00

54 lines
825 B
TypeScript

// Do not modify this file by hand!
// Re-generate this file by running lit-localize.
/**
* The locale code that templates in this source code are written in.
*/
export const sourceLocale = `en`;
/**
* The other locale codes that this application is localized into. Sorted
* lexicographically.
*/
export const targetLocales = [
`cs-CZ`,
`de-DE`,
`en-XA`,
`es-ES`,
`fi-FI`,
`fr-FR`,
`it-IT`,
`ja-JP`,
`ko-KR`,
`nl-NL`,
`pl-PL`,
`pt-BR`,
`ru-RU`,
`tr-TR`,
`zh-Hans`,
`zh-Hant`,
] as const;
/**
* All valid project locale codes. Sorted lexicographically.
*/
export const allLocales = [
`cs-CZ`,
`de-DE`,
`en`,
`en-XA`,
`es-ES`,
`fi-FI`,
`fr-FR`,
`it-IT`,
`ja-JP`,
`ko-KR`,
`nl-NL`,
`pl-PL`,
`pt-BR`,
`ru-RU`,
`tr-TR`,
`zh-Hans`,
`zh-Hant`,
] as const;