Modular integrations UI: Clean i18n strings for modular

This commit is contained in:
manuroe 2017-09-14 17:52:21 +02:00
parent 6f8ff46751
commit ed50951c51
2 changed files with 2 additions and 2 deletions

View file

@ -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.";

View file

@ -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];
}
}
}