web: Capitalize language display names, code owner fix (#19119)

* web: Capitalize locale display names.

* Fix broad code owner.
This commit is contained in:
Teffen Ellis
2025-12-30 18:04:36 -05:00
committed by GitHub
parent c108877a85
commit e5852b46cb
4 changed files with 7 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ packages/tsconfig @goauthentik/frontend
# Web
web/ @goauthentik/frontend
# Locale
locale/ @goauthentik/backend @goauthentik/frontend
/locale/ @goauthentik/backend @goauthentik/frontend
web/xliff/ @goauthentik/backend @goauthentik/frontend
# Docs
website/ @goauthentik/docs

View File

@@ -156,7 +156,7 @@ export class AKLocaleSelect extends WithLocale(WithCapabilitiesConfig(AKElement)
part="select"
id="locale-selector"
@change=${this.#localeChangeListener}
class="pf-c-form-control"
class="pf-c-form-control ak-m-capitalize"
name="locale"
>
${renderLocaleDisplayNames(entries, activeLocaleTag)}

View File

@@ -226,7 +226,7 @@ ${prompt.initialValue}</textarea
: null;
return html`<select
class="pf-c-form-control"
class="pf-c-form-control ak-m-capitalize"
id=${fieldId}
name="${prompt.fieldKey}"
aria-label=${msg("Select language", {

View File

@@ -57,6 +57,10 @@
}
}
.ak-m-capitalize {
text-transform: capitalize;
}
::placeholder {
font-style: italic;
}