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 83db774313
commit 04bc95a85c
77 changed files with 1099 additions and 1108 deletions
+3 -3
View File
@@ -64,7 +64,7 @@
{
[super viewWillAppear:animated];
[AppDelegate theDelegate].masterTabBarController.navigationItem.title = NSLocalizedStringFromTable(@"title_rooms", @"Vector", nil);
[AppDelegate theDelegate].masterTabBarController.navigationItem.title = [VectorL10n titleRooms];
[AppDelegate theDelegate].masterTabBarController.tabBar.tintColor = ThemeService.shared.theme.tintColor;
if ([self.dataSource isKindOfClass:RecentsDataSource.class])
@@ -128,8 +128,8 @@
- (void)updateEmptyView
{
[self.emptyView fillWith:[self emptyViewArtwork]
title:NSLocalizedStringFromTable(@"rooms_empty_view_title", @"Vector", nil)
informationText:NSLocalizedStringFromTable(@"rooms_empty_view_information", @"Vector", nil)];
title:[VectorL10n roomsEmptyViewTitle]
informationText:[VectorL10n roomsEmptyViewInformation]];
}
- (UIImage*)emptyViewArtwork