add Bulgarian language, update dependencies

This commit is contained in:
Amruth Pillai
2022-08-11 20:21:19 +02:00
parent 32bb7354a4
commit ef240b2110
9 changed files with 473 additions and 454 deletions

View File

@ -6,6 +6,7 @@ export type Language = {
export const languages: Language[] = [
{ code: 'ar', name: 'Arabic', localName: 'اَلْعَرَبِيَّةُ' },
{ code: 'bg', name: 'Bulgarian', localName: 'български' },
{ code: 'bn', name: 'Bengali', localName: 'বাংলা' },
{ code: 'cs', name: 'Czech', localName: 'čeština' },
{ code: 'da', name: 'Danish', localName: 'Dansk' },

View File

@ -5,6 +5,7 @@ const i18nConfig = {
defaultLocale: 'en',
locales: [
'ar',
'bg',
'bn',
'cs',
'da',

View File

@ -9,19 +9,19 @@
},
"dependencies": {
"@beam-australia/react-env": "^3.1.1",
"@date-io/dayjs": "^2.14.0",
"@date-io/dayjs": "^2.15.0",
"@emotion/css": "^11.10.0",
"@emotion/react": "^11.10.0",
"@emotion/styled": "^11.10.0",
"@hookform/resolvers": "2.9.7",
"@monaco-editor/react": "^4.4.5",
"@mui/icons-material": "^5.8.4",
"@mui/lab": "^5.0.0-alpha.93",
"@mui/material": "^5.9.3",
"@mui/system": "^5.9.3",
"@mui/x-date-pickers": "5.0.0-beta.3",
"@next/env": "^12.2.3",
"@reduxjs/toolkit": "^1.8.3",
"@mui/lab": "^5.0.0-alpha.94",
"@mui/material": "^5.10.0",
"@mui/system": "^5.10.0",
"@mui/x-date-pickers": "5.0.0-beta.5",
"@next/env": "^12.2.4",
"@reduxjs/toolkit": "^1.8.4",
"axios": "^0.27.2",
"clsx": "^1.2.1",
"dayjs": "^1.11.4",
@ -29,13 +29,13 @@
"joi": "^17.6.0",
"lodash": "^4.17.21",
"md5-hex": "^4.0.0",
"monaco-editor": "^0.33.0",
"monaco-editor": "^0.34.0",
"nanoid": "^3.3.4",
"next": "12.2.3",
"next": "12.2.4",
"next-i18next": "^11.3.0",
"react": "18.2.0",
"react-beautiful-dnd": "^13.1.0",
"react-colorful": "^5.5.1",
"react-colorful": "^5.6.0",
"react-dnd": "16.0.1",
"react-dnd-html5-backend": "16.0.1",
"react-dom": "18.2.0",
@ -61,8 +61,8 @@
"@tailwindcss/typography": "^0.5.4",
"@types/downloadjs": "^1.4.3",
"@types/lodash": "^4.14.182",
"@types/node": "18.6.3",
"@types/react": "18.0.15",
"@types/node": "18.7.1",
"@types/react": "18.0.17",
"@types/react-beautiful-dnd": "^13.1.2",
"@types/react-redux": "^7.1.24",
"@types/tailwindcss": "^3.0.11",
@ -71,12 +71,12 @@
"autoprefixer": "^10.4.8",
"csstype": "^3.1.0",
"eslint": "^8.21.0",
"eslint-config-next": "12.2.3",
"next-sitemap": "^3.1.16",
"postcss": "^8.4.14",
"eslint-config-next": "12.2.4",
"next-sitemap": "^3.1.17",
"postcss": "^8.4.16",
"prettier": "^2.7.1",
"sass": "^1.54.2",
"tailwindcss": "^3.1.7",
"sass": "^1.54.4",
"tailwindcss": "^3.1.8",
"typescript": "^4.7.4"
}
}

View File

@ -13,6 +13,7 @@ const DateWrapper: React.FC<React.PropsWithChildren<unknown>> = ({ children }) =
// Locales
require('dayjs/locale/ar');
require('dayjs/locale/bg');
require('dayjs/locale/bn');
require('dayjs/locale/cs');
require('dayjs/locale/da');