diff --git a/src/shared/components/common/language-select.tsx b/src/shared/components/common/language-select.tsx index a82d6517..fac3216f 100644 --- a/src/shared/components/common/language-select.tsx +++ b/src/shared/components/common/language-select.tsx @@ -16,7 +16,7 @@ interface LanguageSelectProps { showSite?: boolean; iconVersion?: boolean; disabled?: boolean; - hideLanguageWarning?: boolean; + showLanguageWarning?: boolean; } export class LanguageSelect extends Component { @@ -50,7 +50,7 @@ export class LanguageSelect extends Component { this.selectBtn ) : (
- {this.props.multiple && !this.props.hideLanguageWarning && ( + {this.props.multiple && this.props.showLanguageWarning && (
{i18n.t("undetermined_language_warning")}
diff --git a/src/shared/components/community/community-form.tsx b/src/shared/components/community/community-form.tsx index 25fd82f3..372e66a6 100644 --- a/src/shared/components/community/community-form.tsx +++ b/src/shared/components/community/community-form.tsx @@ -265,7 +265,6 @@ export class CommunityForm extends Component< showSite selectedLanguageIds={this.state.form.discussion_languages} multiple={true} - hideLanguageWarning={true} onChange={this.handleDiscussionLanguageChange} />
diff --git a/src/shared/components/person/settings.tsx b/src/shared/components/person/settings.tsx index a40b9049..40878f37 100644 --- a/src/shared/components/person/settings.tsx +++ b/src/shared/components/person/settings.tsx @@ -604,6 +604,7 @@ export class Settings extends Component { siteLanguages={this.state.siteRes.discussion_languages} selectedLanguageIds={selectedLangs} multiple={true} + showLanguageWarning={true} showSite onChange={this.handleDiscussionLanguageChange} />