-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain>
- Loading branch information
1 parent
cdd33d5
commit 96f05eb
Showing
16 changed files
with
3,645 additions
and
252 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,6 @@ yarn-error.log* | |
|
||
# typescript | ||
*.tsbuildinfo | ||
|
||
# compiled locales | ||
# **/locale/*/*.js |
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 |
---|---|---|
|
@@ -4,4 +4,7 @@ | |
# production | ||
node_modules/ | ||
out/ | ||
build/ | ||
build/ | ||
|
||
# translation files | ||
**/locale/*/messages.js |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"next/babel", | ||
{ | ||
"preset-env": {}, | ||
"transform-runtime": {}, | ||
"styled-jsx": {}, | ||
"class-properties": {} | ||
} | ||
] | ||
], | ||
"plugins": ["macros"] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"locales": [ | ||
"en", | ||
"fr" | ||
], | ||
"sourceLocale": "en", | ||
"catalogs": [ | ||
{ | ||
"path": "<rootDir>/locale/{locale}/messages", | ||
"include": [ | ||
"<rootDir>/" | ||
], | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
] | ||
} |
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.