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
@@ -103,7 +103,7 @@
if ([ShareExtensionManager sharedManager].userAccount)
{
self.titleLabel.text = [NSString stringWithFormat:NSLocalizedStringFromTable(@"send_to", @"Vector", nil), @""];
self.titleLabel.text = [VectorL10n sendTo:@""];
[self configureSegmentedViewController];
}
else
@@ -119,7 +119,7 @@
{
self.segmentedViewController = [SegmentedViewController segmentedViewController];
NSArray *titles = @[NSLocalizedStringFromTable(@"title_rooms", @"Vector", nil) , NSLocalizedStringFromTable(@"title_people", @"Vector", nil)];
NSArray *titles = @[[VectorL10n titleRooms], [VectorL10n titlePeople]];
void (^failureBlock)(void) = ^void() {
[self dismissViewControllerAnimated:YES completion:^{