mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-05-20 00:26:58 +00:00
Add translations
This commit is contained in:
parent
a7b7768d22
commit
49a01151df
@ -1750,9 +1750,9 @@ export const Group = ({
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
alignItems: 'center',
|
||||
display: 'flex',
|
||||
width: '100%',
|
||||
alignItems: 'center',
|
||||
}}
|
||||
>
|
||||
<ListItemAvatar>
|
||||
@ -1766,12 +1766,18 @@ export const Group = ({
|
||||
{(direct?.name || direct?.address)?.charAt(0)}
|
||||
</Avatar>
|
||||
</ListItemAvatar>
|
||||
|
||||
<ListItemText
|
||||
primary={direct?.name || direct?.address}
|
||||
secondary={
|
||||
!direct?.timestamp
|
||||
? 'no messages'
|
||||
: `last message: ${formatEmailDate(direct?.timestamp)}`
|
||||
? t('core:message.generic.no_messages', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
})
|
||||
: t('group:last_message_date', {
|
||||
date: formatEmailDate(direct?.timestamp),
|
||||
postProcess: 'capitalizeFirst',
|
||||
})
|
||||
}
|
||||
primaryTypographyProps={{
|
||||
style: {
|
||||
@ -1815,6 +1821,7 @@ export const Group = ({
|
||||
</List>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
@ -1835,7 +1842,9 @@ export const Group = ({
|
||||
color: theme.palette.text.primary,
|
||||
}}
|
||||
/>
|
||||
New Chat
|
||||
{t('core:action.new.chat', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
})}
|
||||
</CustomButton>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -44,6 +44,7 @@
|
||||
"login": "login",
|
||||
"logout": "logout",
|
||||
"new": {
|
||||
"chat": "chat",
|
||||
"post": "new post",
|
||||
"thread": "new thread"
|
||||
},
|
||||
@ -185,6 +186,7 @@
|
||||
"name_unavailable": "{{ name }} is unavailable",
|
||||
"no_data_image": "no data for image",
|
||||
"no_description": "no description",
|
||||
"no_messages": "no messages",
|
||||
"no_minting_details": "cannot view minting details on the gateway",
|
||||
"no_notifications": "no new notifications",
|
||||
"no_pinned_changes": "you currently do not have any changes to your pinned apps",
|
||||
|
@ -59,6 +59,7 @@
|
||||
"join_link": "join group link",
|
||||
"join_requests": "join requests",
|
||||
"last_message": "last message",
|
||||
"last_message_date": "last message: {{date }}",
|
||||
"latest_mails": "latest Q-Mails",
|
||||
"message": {
|
||||
"generic": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user