Skip to content

Commit

Permalink
Add localize files to resource_bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
tattn committed Jan 10, 2019
1 parent 8953f22 commit ea4f55b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AppFeedback.podspec
Expand Up @@ -21,7 +21,7 @@ Pod::Spec.new do |s|
s.source_files = "AppFeedback/*.{h,m}"
s.public_header_files = 'AppFeedback/AppFeedback.h'
s.resource_bundles = {
'AppFeedbackResource' => ['AppFeedback/Images.xcassets', 'AppFeedback/**/*.{xib,storyboard}']
'AppFeedbackResource' => ['AppFeedback/Images.xcassets', 'AppFeedback/**/*.{xib,storyboard,lproj}']
}

s.requires_arc = true
Expand Down
2 changes: 1 addition & 1 deletion AppFeedback/AppFeedbackInternal.h
Expand Up @@ -36,7 +36,7 @@
#define RGBA(r, g, b, a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)/255.0]

#define AppFeedbackLocalizedString(key, comment) \
[[NSBundle bundleForClass:[AppFeedback class]] localizedStringForKey:(key) value:@"" table:nil]
[AppFeedback.frameworkBundle localizedStringForKey:(key) value:@"" table:nil]

@interface AppFeedback()

Expand Down

0 comments on commit ea4f55b

Please sign in to comment.