Skip to content

Commit

Permalink
Typo (#28281)
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert authored Dec 23, 2024
1 parent f0e4d86 commit eff08d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class AccountService {

// After retrieve the account info, the language will be changed to
// the user's preferred language configured in the account setting
// unless user have choosed other language in the current session
// unless user have chosen other language in the current session
if (!this.stateStorageService.getLocale()) {
this.translateService.use(account.langKey);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class TranslationModule {

constructor() {
this.translateService.setDefaultLang('<%= nativeLanguage %>');
// if user have changed language and navigates away from the application and back to the application then use previously choosed language
// if user have changed language and navigates away from the application and back to the application then use previously chosen language
const langKey = this.stateStorageService.getLocale() ?? '<%= nativeLanguage %>';
this.translateService.use(langKey);
}
Expand Down

0 comments on commit eff08d2

Please sign in to comment.