diff --git a/Riot/Assets/en.lproj/Vector.strings b/Riot/Assets/en.lproj/Vector.strings index 988174db6..890408ecf 100644 --- a/Riot/Assets/en.lproj/Vector.strings +++ b/Riot/Assets/en.lproj/Vector.strings @@ -987,4 +987,4 @@ // Generic errors -"error_no_identity_server" = "Add an identity server in your settings to invite by email."; +"error_invite_3pid_with_no_identity_server" = "Add an identity server in your settings to invite by email."; diff --git a/Riot/Generated/Strings.swift b/Riot/Generated/Strings.swift index 261a6821f..ddba8359e 100644 --- a/Riot/Generated/Strings.swift +++ b/Riot/Generated/Strings.swift @@ -995,8 +995,8 @@ internal enum VectorL10n { return VectorL10n.tr("Vector", "encrypted_room_message_reply_to_placeholder") } /// Add an identity server in your settings to invite by email. - internal static var errorNoIdentityServer: String { - return VectorL10n.tr("Vector", "error_no_identity_server") + internal static var errorInvite3pidWithNoIdentityServer: String { + return VectorL10n.tr("Vector", "error_invite_3pid_with_no_identity_server") } /// VoIP conference added by %@ internal static func eventFormatterJitsiWidgetAdded(_ p1: String) -> String { diff --git a/Riot/Modules/Room/Members/RoomParticipantsViewController.m b/Riot/Modules/Room/Members/RoomParticipantsViewController.m index 8e4132a84..84b9836e0 100644 --- a/Riot/Modules/Room/Members/RoomParticipantsViewController.m +++ b/Riot/Modules/Room/Members/RoomParticipantsViewController.m @@ -1651,7 +1651,7 @@ if ([error.domain isEqualToString:kMXRestClientErrorDomain] && error.code == MXRestClientErrorMissingIdentityServer) { - NSString *message = [NSBundle mxk_localizedStringForKey:@"error_no_identity_server"]; + NSString *message = [NSBundle mxk_localizedStringForKey:@"error_invite_3pid_with_no_identity_server"]; [[AppDelegate theDelegate] showAlertWithTitle:message message:nil]; } else diff --git a/Riot/Modules/Room/RoomViewController.m b/Riot/Modules/Room/RoomViewController.m index 226b69600..8b00b3441 100644 --- a/Riot/Modules/Room/RoomViewController.m +++ b/Riot/Modules/Room/RoomViewController.m @@ -5011,7 +5011,7 @@ if ([error.domain isEqualToString:kMXRestClientErrorDomain] && error.code == MXRestClientErrorMissingIdentityServer) { - NSString *message = [NSBundle mxk_localizedStringForKey:@"error_no_identity_server"]; + NSString *message = [NSBundle mxk_localizedStringForKey:@"error_invite_3pid_with_no_identity_server"]; [[AppDelegate theDelegate] showAlertWithTitle:message message:nil]; } else