mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Modular integrations UI: Clean i18n strings for modular
This commit is contained in:
parent
6f8ff46751
commit
ed50951c51
2 changed files with 2 additions and 2 deletions
|
@ -511,7 +511,6 @@
|
|||
"widget_creation_failure" = "Widget creation has failed";
|
||||
|
||||
// Widget Integration Manager
|
||||
"widget_integration_need_login" = "You need to be logged in.";
|
||||
"widget_integration_need_to_be_able_to_invite" = "You need to be able to invite users to do that.";
|
||||
"widget_integration_unable_to_create" = "Unable to create widget.";
|
||||
"widget_integration_failed_to_send_request" = "Failed to send request.";
|
||||
|
|
|
@ -389,7 +389,7 @@ NSString *kJavascriptSendResponseToModular = @"riotIOS.sendResponse('%@', %@);";
|
|||
typeof(self) self = weakSelf;
|
||||
if (self)
|
||||
{
|
||||
[self sendLocalisedError:@"widget_integration_failed_to_send_request" toEvent:eventData];
|
||||
[self sendLocalisedError:@"widget_integration_need_to_be_able_to_invite" toEvent:eventData];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
@ -712,6 +712,7 @@ NSString *kJavascriptSendResponseToModular = @"riotIOS.sendResponse('%@', %@);";
|
|||
else
|
||||
{
|
||||
NSLog(@"[IntegrationManagerVC] setBotPower. Power level must be positive integer.");
|
||||
[self sendLocalisedError:@"widget_integration_positive_power_level" toEvent:eventData];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue