Skip to content

Commit

Permalink
Release 4.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
王洋洋 committed Jun 21, 2022
1 parent 023ea2d commit 018c20a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SensorsAnalyticsSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "SensorsAnalyticsSDK"
s.version = "4.3.3"
s.version = "4.3.4"
s.summary = "The official iOS SDK of Sensors Analytics."
s.homepage = "http://www.sensorsdata.cn"
s.source = { :git => 'https://github.com/sensorsdata/sa-sdk-ios.git', :tag => "v#{s.version}" }
Expand Down
4 changes: 2 additions & 2 deletions SensorsAnalyticsSDK/Core/SAConstants.m
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,15 @@ void sensorsdata_dispatch_safe_sync(dispatch_queue_t queue,DISPATCH_NOESCAPE dis
dispatch_once(&onceToken, ^{
// 获取语言资源的 Bundle
NSBundle *sensorsBundle = [NSBundle bundleWithPath:[[NSBundle bundleForClass:[SensorsAnalyticsSDK class]] pathForResource:@"SensorsAnalyticsSDK" ofType:@"bundle"]];
NSString *path = [sensorsBundle pathForResource:@"sa_language" ofType:@"lproj"];
NSString *path = [sensorsBundle pathForResource:@"zh-Hans" ofType:@"lproj"];
if (path) {
languageBundle = [NSBundle bundleWithPath:path];
}
});

NSString *result = value;
if (languageBundle) {
result = [languageBundle localizedStringForKey:key value:value table:@"SALocalizable"];
result = [languageBundle localizedStringForKey:key value:value table:nil];
}
return result;
}
Expand Down
2 changes: 1 addition & 1 deletion SensorsAnalyticsSDK/Core/SensorsAnalyticsSDK.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#import "SAUserDefaultsStorePlugin.h"
#import "SASessionProperty.h"

#define VERSION @"4.3.3"
#define VERSION @"4.3.4"

void *SensorsAnalyticsQueueTag = &SensorsAnalyticsQueueTag;

Expand Down

0 comments on commit 018c20a

Please sign in to comment.