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

@@ -16,6 +16,8 @@
#import "MatrixContactsDataSource.h"
#import "Riot-Swift.h"
@implementation MatrixContactsDataSource
- (instancetype)init
@@ -31,11 +33,11 @@
{
if (section == filteredLocalContactsSection)
{
return NSLocalizedStringFromTable(@"contacts_address_book_section", @"Vector", nil);
return [VectorL10n contactsAddressBookSection];
}
else
{
return NSLocalizedStringFromTable(@"call_transfer_contacts_all", @"Vector", nil);
return [VectorL10n callTransferContactsAll];
}
}