Fix comment for i18n-js import

This commit is contained in:
Sebastian Serth
2023-10-03 11:52:56 +02:00
parent e7e8798f8e
commit 6b5aa853ee

View File

@ -64,7 +64,7 @@ import { I18n } from "i18n-js";
import locales from "../../tmp/locales.json";
// Fetch user locale from html#lang.
// This value is being set on `app/views/layouts/application.html.erb` and
// This value is being set on `app/views/layouts/application.html.slim` and
// is inferred from `ACCEPT-LANGUAGE` header.
const userLocale = document.documentElement.lang;