diff --git a/src/components/Chat/CreateCommonSecret.tsx b/src/components/Chat/CreateCommonSecret.tsx
index a9da82f..bfb7684 100644
--- a/src/components/Chat/CreateCommonSecret.tsx
+++ b/src/components/Chat/CreateCommonSecret.tsx
@@ -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' })}
{noSecretKey ? (
- There is no group secret key. Be the first admin to publish one!
+ {t('group:message.generic.group_no_secret_key', {
+ postProcess: 'capitalizeFirst',
+ })}
) : isOwner &&
@@ -228,14 +239,17 @@ export const CreateCommonSecret = ({
userInfo.name !== secretKeyDetails?.name ? (
- 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',
+ })}
) : isForceShowCreationKeyPopup ? null : (
- The group member list has changed. Please re-encrypt the secret key.
+ {t('group:message.generic.group_member_list_changed', {
+ postProcess: 'capitalizeFirst',
+ })}
)}
@@ -254,7 +268,7 @@ export const CreateCommonSecret = ({
}}
size="small"
>
- Hide
+ {t('core:action.hide', { postProcess: 'capitalizeFirst' })}
diff --git a/src/i18n/locales/en/auth.json b/src/i18n/locales/en/auth.json
index 8b9ef33..daf0c8d 100644
--- a/src/i18n/locales/en/auth.json
+++ b/src/i18n/locales/en/auth.json
@@ -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"
},
diff --git a/src/i18n/locales/en/core.json b/src/i18n/locales/en/core.json
index 948140a..bf54cee 100644
--- a/src/i18n/locales/en/core.json
+++ b/src/i18n/locales/en/core.json
@@ -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",
diff --git a/src/i18n/locales/en/group.json b/src/i18n/locales/en/group.json
index ceea5ac..c161605 100644
--- a/src/i18n/locales/en/group.json
+++ b/src/i18n/locales/en/group.json
@@ -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!",