[BotteomNavigation] Migrated to MDFi18n.
MODIFY
components/BottomNavigation/src/MDCBottomNavigationBar.m
components/BottomNavigation/src/MDCBottomNavigationBar.m
#import "MDCBottomNavigationBar.h"
#import "MaterialMath.h"
-#import "MaterialRTL.h"
#import "MaterialShadowLayer.h"
+#import "MDFInternationalization.h"
#import "private/MaterialBottomNavigationStrings.h"
#import "private/MaterialBottomNavigationStrings_table.h"
#import "private/MDCBottomNavigationItemView.h"
@@ -160,7 +160,7 @@ static NSString *const kMDCBottomNavigationBarTitleString = @"title";
}
- (void)layoutItemViews {
- UIUserInterfaceLayoutDirection layoutDirection = self.mdc_effectiveUserInterfaceLayoutDirection;
+ UIUserInterfaceLayoutDirection layoutDirection = self.mdf_effectiveUserInterfaceLayoutDirection;
NSInteger numItems = self.items.count;
if (numItems == 0) {
return;

MODIFY
components/BottomNavigation/src/private/MDCBottomNavigationItemView.m
components/BottomNavigation/src/private/MDCBottomNavigationItemView.m
#import "MDCBottomNavigationItemView.h"
-#import "MaterialRTL.h"
#import "MaterialBottomNavigationStrings.h"
#import "MaterialBottomNavigationStrings_table.h"
#import "MDCBottomNavigationItemBadge.h"
+#import "MDFInternationalization.h"
static const CGFloat kMDCBottomNavigationItemViewCircleLayerOffset = -6.f;
static const CGFloat kMDCBottomNavigationItemViewCircleLayerDimension = 36.f;
@@ -146,7 +146,7 @@ static NSString *const kMDCBottomNavigationItemViewTabString = @"tab";
}
self.label.textAlignment = NSTextAlignmentCenter;
} else {
- UIUserInterfaceLayoutDirection layoutDirection = self.mdc_effectiveUserInterfaceLayoutDirection;
+ UIUserInterfaceLayoutDirection layoutDirection = self.mdf_effectiveUserInterfaceLayoutDirection;
if (layoutDirection == UIUserInterfaceLayoutDirectionLeftToRight) {
CGPoint iconImageViewCenter =
CGPointMake(CGRectGetMidX(self.bounds) - CGRectGetWidth(self.bounds) * 0.2f,

[BotteomNavigation] Migrated to MDFi18n. (#2306)