]> Untitled Git - lemmy-ui.git/commitdiff
Fix aria-label for language select
authorJames Whitmarsh <james@liftedcare.com>
Mon, 5 Jun 2023 21:06:54 +0000 (22:06 +0100)
committerJames Whitmarsh <james@liftedcare.com>
Mon, 5 Jun 2023 21:06:54 +0000 (22:06 +0100)
src/shared/components/common/language-select.tsx

index a63c4db38d4a5e209aeab0a35b1e10537eea8fb6..48e589454695aa7b48ae93e59b4aac6ed4c66702 100644 (file)
@@ -107,7 +107,7 @@ export class LanguageSelect extends Component<LanguageSelectProps, any> {
         )}
         id={this.id}
         onChange={linkEvent(this, this.handleLanguageChange)}
-        aria-label="action"
+        aria-label={i18n.t("language_select_placeholder")}
         multiple={this.props.multiple}
         disabled={this.props.disabled}
       >