Skip to content

Commit

Permalink
Add devfund donation to coordinator summary accordion
Browse files Browse the repository at this point in the history
  • Loading branch information
Reckless-Satoshi committed Jan 19, 2024
1 parent 759e9f7 commit 876846a
Show file tree
Hide file tree
Showing 18 changed files with 31 additions and 0 deletions.
14 changes: 14 additions & 0 deletions frontend/src/components/Dialogs/Coordinator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ import {
Send,
Tag,
Web,
VolunteerActivism,
} from '@mui/icons-material';
import LinkIcon from '@mui/icons-material/Link';

Expand Down Expand Up @@ -542,6 +543,19 @@ const CoordinatorDialog = ({ open = false, onClose, network, shortAlias }: Props

<Divider />

<ListItem {...listItemProps}>
<ListItemIcon>
<VolunteerActivism />
</ListItemIcon>

<ListItemText
primary={`${coordinator?.badges?.donatesToDevFund}% of profits`}
secondary={t('Zaps voluntarily for development')}
/>
</ListItem>

<Divider />

<ListItem {...listItemProps}>
<ListItemIcon>
<Inventory />
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "Robots actius avui",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "Browser",
"Enable": "Activar",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "Dnešní aktivní roboti",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "Browser",
"Enable": "Povolit",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "Heute aktive Roboter",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "Browser",
"Enable": "Aktivieren",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "Today active robots",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "Browser",
"Enable": "Enable",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "Robots activos hoy",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "Browser",
"Enable": "Activar",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/eu.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "Robot aktiboak gaur",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "Browser",
"Enable": "Baimendu",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "Robots actifs aujourd'hui",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "Navigateur",
"Enable": "Activer",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "I robots attivi oggi",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "Browser",
"Enable": "Attiva",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "本日アクティブなロボット",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "ブラウザー",
"Enable": "有効化",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "Dziś aktywne roboty",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "Browser",
"Enable": "Włączyć",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "Robôs ativos hoje",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "Browser",
"Enable": "Ativar",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "Сегодня активных роботов",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "Браузер",
"Enable": "Включить",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "Aktiva robotar idag",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "Browser",
"Enable": "Aktivera",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/sw.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "Robots wenye shughuli leo",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "Kivinjari",
"Enable": "Washa",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "จำนวนโรบอทที่ใช้งานในวันนี้",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "Browser",
"Enable": "เปิดใช้งาน",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/zh-SI.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "今天活跃的机器人",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "浏览器",
"Enable": "开启",
Expand Down
1 change: 1 addition & 0 deletions frontend/static/locales/zh-TR.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"Today active robots": "今天活躍的機器人",
"Website": "Website",
"X": "X",
"Zaps voluntarily for development": "Zaps voluntarily for development",
"#24": "Phrases in components/Dialogs/EnableTelegram.tsx",
"Browser": "瀏覽器",
"Enable": "開啟",
Expand Down

0 comments on commit 876846a

Please sign in to comment.