Migrate more strings to translation keys (#11680)
This commit is contained in:
parent
8014cebb20
commit
6af4335db1
101 changed files with 6739 additions and 5973 deletions
|
@ -23,7 +23,7 @@ import { IBodyProps } from "./IBodyProps";
|
|||
function getErrorMessage(mxEvent?: MatrixEvent): string {
|
||||
return mxEvent?.isEncryptedDisabledForUnverifiedDevices
|
||||
? _t("The sender has blocked you from receiving this message")
|
||||
: _t("Unable to decrypt message");
|
||||
: _t("threads|unable_to_decrypt");
|
||||
}
|
||||
|
||||
// A placeholder element for messages that could not be decrypted
|
||||
|
|
|
@ -155,7 +155,7 @@ export default class MKeyVerificationRequest extends React.Component<IProps> {
|
|||
} else if (request.phase === VerificationPhase.Cancelled) {
|
||||
stateLabel = this.cancelledLabel(request.cancellingUserId!);
|
||||
} else if (request.accepting) {
|
||||
stateLabel = _t("Accepting…");
|
||||
stateLabel = _t("encryption|verification|accepting");
|
||||
} else if (request.declining) {
|
||||
stateLabel = _t("Declining…");
|
||||
}
|
||||
|
|
|
@ -549,7 +549,7 @@ export default class MessageActionBar extends React.PureComponent<IMessageAction
|
|||
|
||||
// aria-live=off to not have this read out automatically as navigating around timeline, gets repetitive.
|
||||
return (
|
||||
<Toolbar className="mx_MessageActionBar" aria-label={_t("Message Actions")} aria-live="off">
|
||||
<Toolbar className="mx_MessageActionBar" aria-label={_t("timeline|mab|label")} aria-live="off">
|
||||
{toolbarOpts}
|
||||
</Toolbar>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue