Create more action_* common strings (#11438)

This commit is contained in:
Michael Telatynski 2023-08-23 11:57:22 +01:00 committed by GitHub
parent e79b03a2df
commit d5cacff6c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
202 changed files with 2046 additions and 2105 deletions

View file

@ -387,7 +387,7 @@ export const UserOptionsSection: React.FC<{
)}
</div>
),
button: _t("Ignore"),
button: _t("action|ignore"),
});
const [confirmed] = await finished;
@ -407,7 +407,7 @@ export const UserOptionsSection: React.FC<{
kind="link"
className={classNames("mx_UserInfo_field", { mx_UserInfo_destructive: !isIgnored })}
>
{isIgnored ? _t("Unignore") : _t("Ignore")}
{isIgnored ? _t("Unignore") : _t("action|ignore")}
</AccessibleButton>
);
@ -1483,7 +1483,7 @@ const BasicUserInfo: React.FC<{
}
}}
>
{_t("Verify")}
{_t("action|verify")}
</AccessibleButton>
</div>
);
@ -1716,7 +1716,7 @@ const UserInfo: React.FC<IProps> = ({ user, room, onClose, phase = RightPanelPha
if (phase === RightPanelPhases.EncryptionPanel) {
const verificationRequest = (props as React.ComponentProps<typeof EncryptionPanel>).verificationRequest;
if (verificationRequest && verificationRequest.pending) {
closeLabel = _t("Cancel");
closeLabel = _t("action|cancel");
}
}