mirror of
https://github.com/goauthentik/authentik
synced 2026-04-25 17:15:26 +02:00
web: Capitalize language display names, code owner fix (#19119)
* web: Capitalize locale display names. * Fix broad code owner.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)}
|
||||
|
||||
@@ -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", {
|
||||
|
||||
@@ -57,6 +57,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.ak-m-capitalize {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
::placeholder {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user