[Dev] Localization: Fix function name (#2345)

This commit is contained in:
Alexander Zinchuk 2023-01-28 02:15:18 +01:00
parent 68f28b9405
commit f3a78c828f

View File

@ -445,7 +445,7 @@ addActionHandler('uploadContactProfilePhoto', async (global, actions, payload):
if (file && !isSuggest) {
actions.showNotification({
message: langProvider.getTranslation('UserInfo.SetCustomPhoto.SuccessPhotoText', getUserFirstOrLastName(user)),
message: langProvider.translate('UserInfo.SetCustomPhoto.SuccessPhotoText', getUserFirstOrLastName(user)),
});
}
});