Show note on language change and offer reload

This commit is contained in:
Michael Shamoon
2022-05-25 16:06:59 -07:00
parent e72766a5bf
commit 0fa717fe11
6 changed files with 69 additions and 22 deletions

View File

@@ -22,7 +22,7 @@
<option *ngFor="let lang of displayLanguageOptions" [ngValue]="lang.code">{{lang.name}}<span *ngIf="lang.code && currentLocale != 'en-US'"> - {{lang.englishName}}</span></option>
</select>
<small class="form-text text-muted" i18n>You need to reload the page after applying a new language.</small>
<small *ngIf="displayLanguageIsDirty" class="form-text text-primary" i18n>You need to reload the page after applying a new language.</small>
</div>
</div>