1010#import " EaseCallManager+Private.h"
1111#import < Masonry/Masonry.h>
1212#import " UIImage+Ext.h"
13+ #import " EaseCallLocalizable.h"
1314
1415@interface EaseCallBaseViewController ()
1516
@@ -145,7 +146,7 @@ - (void)setubSubViews
145146 self.hangupLabel .font = [UIFont systemFontOfSize: 11 ];
146147 self.hangupLabel .textColor = [UIColor whiteColor ];
147148 self.hangupLabel .textAlignment = NSTextAlignmentCenter;
148- self.hangupLabel .text = @" 挂断 " ;
149+ self.hangupLabel .text = EaseCallLocalizableString ( @" Huangup " , nil ) ;
149150 [self .contentView addSubview: self .hangupLabel];
150151 [self .hangupLabel mas_makeConstraints: ^(MASConstraintMaker *make) {
151152 make.top .equalTo (self.hangupButton .mas_bottom ).with .offset (5 );
@@ -156,7 +157,7 @@ - (void)setubSubViews
156157 self.acceptLabel .font = [UIFont systemFontOfSize: 11 ];
157158 self.acceptLabel .textColor = [UIColor whiteColor ];
158159 self.acceptLabel .textAlignment = NSTextAlignmentCenter;
159- self.acceptLabel .text = @" 接听 " ;
160+ self.acceptLabel .text = EaseCallLocalizableString ( @" Answer " , nil ) ;
160161 [self .contentView addSubview: self .acceptLabel];
161162 [self .acceptLabel mas_makeConstraints: ^(MASConstraintMaker *make) {
162163 make.top .equalTo (self.answerButton .mas_bottom ).with .offset (5 );
@@ -167,7 +168,7 @@ - (void)setubSubViews
167168 self.microphoneLabel .font = [UIFont systemFontOfSize: 11 ];
168169 self.microphoneLabel .textColor = [UIColor whiteColor ];
169170 self.microphoneLabel .textAlignment = NSTextAlignmentCenter;
170- self.microphoneLabel .text = @" 静音 " ;
171+ self.microphoneLabel .text = EaseCallLocalizableString ( @" Mute " , nil ) ;
171172 [self .contentView addSubview: self .microphoneLabel];
172173 [self .microphoneLabel mas_makeConstraints: ^(MASConstraintMaker *make) {
173174 make.top .equalTo (self.microphoneButton .mas_bottom ).with .offset (5 );
@@ -178,7 +179,7 @@ - (void)setubSubViews
178179 self.speakerLabel .font = [UIFont systemFontOfSize: 11 ];
179180 self.speakerLabel .textColor = [UIColor whiteColor ];
180181 self.speakerLabel .textAlignment = NSTextAlignmentCenter;
181- self.speakerLabel .text = @" 免提 " ;
182+ self.speakerLabel .text = EaseCallLocalizableString ( @" Hands-free " , nil ) ;
182183 [self .contentView addSubview: self .speakerLabel];
183184 [self .speakerLabel mas_makeConstraints: ^(MASConstraintMaker *make) {
184185 make.top .equalTo (self.speakerButton .mas_bottom ).with .offset (5 );
@@ -189,7 +190,7 @@ - (void)setubSubViews
189190 self.enableCameraLabel .font = [UIFont systemFontOfSize: 11 ];
190191 self.enableCameraLabel .textColor = [UIColor whiteColor ];
191192 self.enableCameraLabel .textAlignment = NSTextAlignmentCenter;
192- self.enableCameraLabel .text = @" 摄像头 " ;
193+ self.enableCameraLabel .text = EaseCallLocalizableString ( @" Camera " , nil ) ;
193194 [self .contentView addSubview: self .enableCameraLabel];
194195 [self .enableCameraLabel mas_makeConstraints: ^(MASConstraintMaker *make) {
195196 make.top .equalTo (self.enableCameraButton .mas_bottom ).with .offset (5 );
@@ -200,7 +201,7 @@ - (void)setubSubViews
200201 self.switchCameraLabel .font = [UIFont systemFontOfSize: 11 ];
201202 self.switchCameraLabel .textColor = [UIColor whiteColor ];
202203 self.switchCameraLabel .textAlignment = NSTextAlignmentCenter;
203- self.switchCameraLabel .text = @" 切换摄像头 " ;
204+ self.switchCameraLabel .text = EaseCallLocalizableString ( @" SwitchCamera " , nil ) ;
204205 [self .contentView addSubview: self .switchCameraLabel];
205206 [self .switchCameraLabel mas_makeConstraints: ^(MASConstraintMaker *make) {
206207 make.top .equalTo (self.switchCameraButton .mas_bottom ).with .offset (5 );
0 commit comments