diff --git a/src/MigrateRingAccountsWC.mm b/src/MigrateRingAccountsWC.mm index ffbbec55261ed08e131af2d16110e5aeab4d94e7..d94a9340dce7e1a7717c80b9270924e13c46c2e8 100644 --- a/src/MigrateRingAccountsWC.mm +++ b/src/MigrateRingAccountsWC.mm @@ -96,11 +96,11 @@ QMetaObject::Connection stateChanged; NSDictionary *attrs = @{ NSFontAttributeName:[NSFont boldSystemFontOfSize:fontSize] }; - auto registredName = accountInfo.registeredName; - if(!registredName.isEmpty()) { + auto registeredName = accountInfo.registeredName; + if(!registeredName.isEmpty()) { [infoMessage appendAttributedString:[[NSAttributedString alloc] initWithString:NSLocalizedString(@"Registered name: ",@"Text shown to the user") attributes:attrs]]; - [infoMessage appendAttributedString:[[NSAttributedString alloc] initWithString:registredName.toNSString() attributes:attrs]]; + [infoMessage appendAttributedString:[[NSAttributedString alloc] initWithString:registeredName.toNSString() attributes:attrs]]; } else if(!accountInfo.profileInfo.uri.isEmpty()) { [infoMessage appendAttributedString:[[NSAttributedString alloc] initWithString:NSLocalizedString(@"ID: ",@"Text shown to the user") attributes:attrs]];