vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods.

This commit is contained in:
Stefan Ceriu
2021-09-28 08:40:01 +03:00
committed by Stefan Ceriu
parent 21a71abedb
commit 7b75dec011
77 changed files with 1099 additions and 1108 deletions

View File

@@ -44,7 +44,7 @@
mxSession = theMXSession;
roomId = theRoomId;
_alertController = [UIAlertController alertControllerWithTitle:NSLocalizedStringFromTable(@"widget_picker_title", @"Vector", nil)
_alertController = [UIAlertController alertControllerWithTitle:[VectorL10n widgetPickerTitle]
message:nil
preferredStyle:UIAlertControllerStyleAlert];
}
@@ -80,7 +80,7 @@
// Link to the integration manager
if (RiotSettings.shared.roomInfoScreenShowIntegrations)
{
alertAction = [UIAlertAction actionWithTitle:NSLocalizedStringFromTable(@"widget_picker_manage_integrations", @"Vector", nil)
alertAction = [UIAlertAction actionWithTitle:[VectorL10n widgetPickerManageIntegrations]
style:UIAlertActionStyleDefault
handler:^(UIAlertAction * _Nonnull action)
{
@@ -95,7 +95,7 @@
}
// Cancel
alertAction = [UIAlertAction actionWithTitle:[NSBundle mxk_localizedStringForKey:@"cancel"]
alertAction = [UIAlertAction actionWithTitle:[MatrixKitL10n cancel]
style:UIAlertActionStyleCancel
handler:nil];
[self.alertController addAction:alertAction];