diff --git a/frontend/src/components/BottomBar.js b/frontend/src/components/BottomBar.js index 64108fc7..41295c12 100644 --- a/frontend/src/components/BottomBar.js +++ b/frontend/src/components/BottomBar.js @@ -14,6 +14,9 @@ import SmartToyIcon from '@mui/icons-material/SmartToy'; import PercentIcon from '@mui/icons-material/Percent'; import PriceChangeIcon from '@mui/icons-material/PriceChange'; +// Missing flags +import { CataloniaFlag, BasqueCountryFlag} from "./Icons"; + import { CommunityDialog, ExchangeSummaryDialog, @@ -312,8 +315,10 @@ bottomBarDesktop =()=>{
FR
RU
IT
+
PT
ZH
- CAT +
CA
+
EU
) } diff --git a/frontend/src/components/Icons/BasqueCountryFlag.tsx b/frontend/src/components/Icons/BasqueCountryFlag.tsx new file mode 100644 index 00000000..2cb028e1 --- /dev/null +++ b/frontend/src/components/Icons/BasqueCountryFlag.tsx @@ -0,0 +1,12 @@ +import React, { Component } from "react"; +import { SvgIcon } from "@mui/material" + +export default function BasqueCountryFlag(props) { + return ( + + + + + + ); + } \ No newline at end of file diff --git a/frontend/src/components/Icons/CataloniaFlag.tsx b/frontend/src/components/Icons/CataloniaFlag.tsx new file mode 100644 index 00000000..ef911d00 --- /dev/null +++ b/frontend/src/components/Icons/CataloniaFlag.tsx @@ -0,0 +1,11 @@ +import React, { Component } from "react"; +import { SvgIcon } from "@mui/material" + +export default function CataloniaFlag(props) { + return ( + + + + + ); + } \ No newline at end of file diff --git a/frontend/src/components/Icons/index.ts b/frontend/src/components/Icons/index.ts index dce24d8f..1fc0a7f7 100644 --- a/frontend/src/components/Icons/index.ts +++ b/frontend/src/components/Icons/index.ts @@ -14,3 +14,6 @@ export { default as SellSatsIcon } from "./SellSats"; export { default as SendReceiveIcon } from "./SendReceive"; export { default as ExportIcon } from "./Export"; +// Some Flags missing on react-flags +export { default as BasqueCountryFlag } from "./BasqueCountryFlag"; +export { default as CataloniaFlag } from "./CataloniaFlag"; \ No newline at end of file diff --git a/frontend/src/components/i18n.js b/frontend/src/components/i18n.js index 731cc01c..9fbb9ad5 100644 --- a/frontend/src/components/i18n.js +++ b/frontend/src/components/i18n.js @@ -12,6 +12,8 @@ import translationPL from "../locales/pl.json"; import translationFR from "../locales/fr.json"; import translationCA from "../locales/ca.json"; import translationIT from "../locales/it.json"; +import translationPT from "../locales/pt.json"; +import translationEU from "../locales/eu.json"; i18n .use(HttpApi) @@ -28,6 +30,8 @@ i18n fr: {translations: translationFR}, ca: {translations: translationCA}, it: {translations: translationIT}, + pt: {translations: translationPT}, + eu: {translations: translationEU}, }, fallbackLng: "en",