simplify stage label for session connection
This commit is contained in:
1 parent
e37c22b259
commit
e416dd5f78
2 files changed
+26
-1
No files matched your search
@@ -1008,6 +1008,29 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Connecting..." : {
|
||||||
|
"extractionState" : "manual",
|
||||||
|
"localizations" : {
|
||||||
|
"zh-Hans" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "正在连接…"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zh-Hant" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "正在連線..."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zh-HK" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "正在連線..."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Connection Error" : {
|
"Connection Error" : {
|
||||||
"extractionState" : "manual",
|
"extractionState" : "manual",
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
|
|||||||
@@ -504,7 +504,8 @@
|
|||||||
|
|
||||||
_stageLabel = [[UILabel alloc] init];
|
_stageLabel = [[UILabel alloc] init];
|
||||||
[_stageLabel setUserInteractionEnabled:NO];
|
[_stageLabel setUserInteractionEnabled:NO];
|
||||||
[_stageLabel setText:[NSString stringWithFormat:@"Starting %@...", self.streamConfig.appName]];
|
// [_stageLabel setText:[NSString stringWithFormat:@"Starting %@...", self.streamConfig.appName]];
|
||||||
|
[_stageLabel setText: [LocalizationHelper localizedStringForKey:@"Connecting..."]];
|
||||||
[_stageLabel sizeToFit];
|
[_stageLabel sizeToFit];
|
||||||
_stageLabel.textAlignment = NSTextAlignmentCenter;
|
_stageLabel.textAlignment = NSTextAlignmentCenter;
|
||||||
_stageLabel.textColor = [UIColor whiteColor];
|
_stageLabel.textColor = [UIColor whiteColor];
|
||||||
@@ -1068,6 +1069,7 @@
|
|||||||
|
|
||||||
- (void) stageStarting:(const char*)stageName {
|
- (void) stageStarting:(const char*)stageName {
|
||||||
Log(LOG_I, @"Starting %s", stageName);
|
Log(LOG_I, @"Starting %s", stageName);
|
||||||
|
return;
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
NSString* lowerCase = [NSString stringWithFormat:@"%s ...", stageName];
|
NSString* lowerCase = [NSString stringWithFormat:@"%s ...", stageName];
|
||||||
NSString* titleCase = [[[lowerCase substringToIndex:1] uppercaseString] stringByAppendingString:[lowerCase substringFromIndex:1]];
|
NSString* titleCase = [[[lowerCase substringToIndex:1] uppercaseString] stringByAppendingString:[lowerCase substringFromIndex:1]];
|
||||||
|
|||||||
Reference in new issue
Block a user