Collect decryption failure translations together (#12436)
* Collect decryption failure translations together They are not specific to threads. * Revert changes to non-english languages
This commit is contained in:
parent
0e65a5aae6
commit
d402b52e06
3 changed files with 11 additions and 7 deletions
|
@ -22,8 +22,8 @@ import { IBodyProps } from "./IBodyProps";
|
|||
|
||||
function getErrorMessage(mxEvent?: MatrixEvent): string {
|
||||
return mxEvent?.isEncryptedDisabledForUnverifiedDevices
|
||||
? _t("timeline|decryption_failure_blocked")
|
||||
: _t("threads|unable_to_decrypt");
|
||||
? _t("timeline|decryption_failure|blocked")
|
||||
: _t("timeline|decryption_failure|unable_to_decrypt");
|
||||
}
|
||||
|
||||
// A placeholder element for messages that could not be decrypted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue