Align common_* strings with Element X project in Localazy (#11434)
This commit is contained in:
committed by
GitHub
parent
1a49a38f04
commit
c40141cc4f
@@ -54,7 +54,7 @@ export const AddPrivilegedUsers: React.FC<AddPrivilegedUsersProps> = ({ room, de
|
||||
// `RoomPowerLevels` event should exist, but technically it is not guaranteed.
|
||||
if (powerLevelEvent === null) {
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: _t("Error"),
|
||||
title: _t("common|error"),
|
||||
description: _t("Failed to change power level"),
|
||||
});
|
||||
|
||||
@@ -67,7 +67,7 @@ export const AddPrivilegedUsers: React.FC<AddPrivilegedUsersProps> = ({ room, de
|
||||
setPowerLevel(defaultUserLevel);
|
||||
} catch (error) {
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: _t("Error"),
|
||||
title: _t("common|error"),
|
||||
description: _t("Failed to change power level"),
|
||||
});
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user