-
Notifications
You must be signed in to change notification settings - Fork 500
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
66 changed files
with
8,656 additions
and
5,955 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export default { | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
import i18n, { changeLanguage } from 'i18next'; | ||
import { initReactI18next } from 'react-i18next'; | ||
import { resources } from './resources'; | ||
import { getUserLanguage } from '../utils'; | ||
import i18n, { changeLanguage } from 'i18next' | ||
import { initReactI18next } from 'react-i18next' | ||
import { getUserLanguage } from '../utils' | ||
import { resources } from './resources' | ||
|
||
i18n.use(initReactI18next).init({ | ||
resources, | ||
interpolation: { | ||
escapeValue: false // not needed for react as it escapes by default | ||
} | ||
}).then(() => { | ||
changeLanguage(getUserLanguage()); | ||
}); | ||
i18n | ||
.use(initReactI18next) | ||
.init({ | ||
resources, | ||
interpolation: { | ||
escapeValue: false, // not needed for react as it escapes by default | ||
}, | ||
}) | ||
.then(() => { | ||
changeLanguage(getUserLanguage()) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import i18n, { changeLanguage } from 'i18next'; | ||
import { resources } from './resources'; | ||
import { getUserLanguage } from '../utils'; | ||
import i18n, { changeLanguage } from 'i18next' | ||
import { getUserLanguage } from '../utils' | ||
import { resources } from './resources' | ||
|
||
i18n.init({ | ||
resources | ||
}).then(() => { | ||
changeLanguage(getUserLanguage()); | ||
}); | ||
i18n | ||
.init({ | ||
resources, | ||
}) | ||
.then(() => { | ||
changeLanguage(getUserLanguage()) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.