Update translations

This commit is contained in:
Nicola Benaglia 2025-05-17 10:22:37 +02:00
parent c849854f58
commit 628786165a
4 changed files with 29 additions and 8 deletions

View File

@ -170,8 +170,17 @@ export const CreateCommonSecret = ({
{
...response,
type: 'created-common-secret',
label: `Published secret key for group ${groupId}: awaiting confirmation`,
labelDone: `Published secret key for group ${groupId}: success!`,
label: t('group:message.success.published_secret_key', {
group_id: groupId,
postProcess: 'capitalizeFirst',
}),
labelDone: t(
'group:message.success.published_secret_key_label',
{
group_id: groupId,
postProcess: 'capitalizeFirst',
}
),
done: false,
groupId,
},
@ -213,13 +222,15 @@ export const CreateCommonSecret = ({
variant="contained"
onClick={createCommonSecret}
>
Re-encrypt key
{t('auth:action.reencrypt_key', { postProcess: 'capitalizeFirst' })}
</LoadingButton>
{noSecretKey ? (
<Box>
<Typography>
There is no group secret key. Be the first admin to publish one!
{t('group:message.generic.group_no_secret_key', {
postProcess: 'capitalizeFirst',
})}
</Typography>
</Box>
) : isOwner &&
@ -228,14 +239,17 @@ export const CreateCommonSecret = ({
userInfo.name !== secretKeyDetails?.name ? (
<Box>
<Typography>
The latest group secret key was published by a non-owner. As the
owner of the group please re-encrypt the key as a safeguard
{t('group:message.generic.group_secret_key_no_owner', {
postProcess: 'capitalizeFirst',
})}
</Typography>
</Box>
) : isForceShowCreationKeyPopup ? null : (
<Box>
<Typography>
The group member list has changed. Please re-encrypt the secret key.
{t('group:message.generic.group_member_list_changed', {
postProcess: 'capitalizeFirst',
})}
</Typography>
</Box>
)}
@ -254,7 +268,7 @@ export const CreateCommonSecret = ({
}}
size="small"
>
Hide
{t('core:action.hide', { postProcess: 'capitalizeFirst' })}
</Button>
</Box>

View File

@ -18,6 +18,7 @@
"export_seedphrase": "export Seedphrase",
"publish_admin_secret_key": "publish admin secret key",
"publish_group_secret_key": "publish group secret key",
"reencrypt_key": "re-encrypt key",
"return_to_list": "return to list",
"setup_qortal_account": "set up your Qortal account"
},

View File

@ -30,6 +30,7 @@
"enter_name": "enter a name",
"export": "export",
"get_qort": "get QORT at Q-Trade",
"hide": "hide",
"import": "import",
"invite": "invite",
"join": "join",

View File

@ -64,6 +64,9 @@
"encryption_key": "the group's first common encryption key is in the process of creation. Please wait a few minutes for it to be retrieved by the network. Checking every 2 minutes...",
"group_invited_you": "{{group}} has invited you",
"group_key_created": "first group key created.",
"group_member_list_changed": "the group member list has changed. Please re-encrypt the secret key.",
"group_no_secret_key": "there is no group secret key. Be the first admin to publish one!",
"group_secret_key_no_owner": "the latest group secret key was published by a non-owner. As the owner of the group please re-encrypt the key as a safeguard.",
"invalid_content": "invalid content, sender, or timestamp in reaction data",
"invalid_data": "error loading content: Invalid Data",
"latest_promotion": "only the latest promotion from the week will be shown for your group.",
@ -126,6 +129,8 @@
"invitation_request": "accepted join request: awaiting confirmation",
"loading_threads": "loading threads... please wait.",
"post_creation": "successfully created post. It may take some time for the publish to propagate",
"published_secret_key": "published secret key for group {{ group_id }}: awaiting confirmation",
"published_secret_key_label": "published secret key for group {{ group_id }}: success!",
"registered_name": "successfully registered. It may take a couple of minutes for the changes to propagate",
"registered_name_label": "registered name: awaiting confirmation. This may take a couple minutes.",
"registered_name_success": "registered name: success!",