Skip to content

Commit

Permalink
Merge branch 'main' into i18n-update
Browse files Browse the repository at this point in the history
Signed-off-by: Ciarán <[email protected]>
  • Loading branch information
bubonicfred authored Jun 16, 2024
2 parents f53bc0e + 557ef5e commit 34bc16e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .meteor/versions
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ [email protected]
[email protected]
[email protected]
[email protected]
universe:[email protected]
universe:[email protected]
universe:[email protected]
[email protected]
useraccounts:[email protected]
useraccounts:[email protected]
Expand Down
2 changes: 1 addition & 1 deletion imports/config/accounts.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { AccountsTemplates } from "meteor/useraccounts:core";
const availLanguages = getLocaleCodes();

for (const lang of availLanguages) {
T9n.map(lang, {
T9n.forEach(lang, {
custom: {
usernamePlaceholder: i18n.__("Accounts.usernamePlaceholder", {
_locale: lang,
Expand Down
1 change: 1 addition & 0 deletions imports/helpers/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ export class I18nHelper {
* preference.
* @returns {void}
*/

static async _persistLanguagePreference(localeCode) {
if (!(await Meteor.userAsync()) || (await Meteor.userAsync()).isDemoUser) {
return;
Expand Down

0 comments on commit 34bc16e

Please sign in to comment.