Skip to content

Commit

Permalink
/issues/4899 - Fixed various localization issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanceriu committed Oct 8, 2021
1 parent 5486d8e commit 7da4c70
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Riot/Modules/Authentication/AuthenticationViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ - (void)showClearDataAfterSoftLogoutConfirmation
}

alert = [UIAlertController alertControllerWithTitle:[VectorL10n authSoftlogoutClearDataSignOutTitle]
message:[VectorL10n authSoftlogoutClearDataSignOutMsg]
message:[VectorL10n authSoftlogoutClearDataSignOutMsg]
preferredStyle:UIAlertControllerStyleAlert];


Expand Down
2 changes: 1 addition & 1 deletion Riot/Modules/Room/RoomViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -5144,7 +5144,7 @@ - (void)eventDidChangeSentState:(NSNotification *)notif
}

currentAlert = [UIAlertController alertControllerWithTitle:[VectorL10n unknownDevicesAlertTitle]
message:[VectorL10n unknownDevicesAlertTitle]
message:[VectorL10n unknownDevicesAlert]
preferredStyle:UIAlertControllerStyleAlert];

[currentAlert addAction:[UIAlertAction actionWithTitle:[VectorL10n unknownDevicesVerify]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ - (void)presentPasswordRequiredAlertWithSubmitHandler:(void (^)(NSString *passwo

__weak typeof(self) weakSelf = self;

[alert addAction:[UIAlertAction actionWithTitle:[MatrixKitL10n cancel]
[alert addAction:[UIAlertAction actionWithTitle:[MatrixKitL10n submit]
style:UIAlertActionStyleDefault
handler:^(UIAlertAction * action) {
UITextField *textField = alert.textFields.firstObject;
Expand Down
2 changes: 1 addition & 1 deletion Riot/Modules/Settings/SettingsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ - (void)showAuthenticationIfNeededForAdding:(MX3PIDMedium)medium withSession:(MX
title = [VectorL10n settingsAdd3pidPasswordTitleEmail];
}

NSString *message = [VectorL10n settingsAdd3pidInvalidPasswordMessage];
NSString *message = [VectorL10n settingsAdd3pidPasswordMessage];


[session.matrixRestClient add3PIDOnlyWithSessionId:@"" clientSecret:[MXTools generateSecret] authParams:nil success:^{
Expand Down
2 changes: 1 addition & 1 deletion Riot/Utils/Tools.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ + (NSString *)presenceText:(MXUser *)user

if (user.currentlyActive)
{
presenceText = [presenceText stringByAppendingString:[VectorL10n roomParticipantsNow]];
presenceText = [presenceText stringByAppendingString:[NSString stringWithFormat:@" %@",[VectorL10n roomParticipantsNow]]];
}
else if (-1 != user.lastActiveAgo && 0 < user.lastActiveAgo)
{
Expand Down

0 comments on commit 7da4c70

Please sign in to comment.