Skip to content
This repository was archived by the owner on Jan 16, 2021. It is now read-only.

Commit 5cd9faf

Browse files
committed
Merge pull request #145 from ParsePlatform/nlutsenko.localization
Fixed localization not working when installed as a dynamic framework.
2 parents 1a6f669 + bcf8dad commit 5cd9faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ParseUI/Classes/Internal/PFLocalization.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424

2525
#undef NSLocalizedString
2626
#define NSLocalizedString(key, comment) \
27-
[[NSBundle mainBundle] localizedStringForKey:key value:nil table:@"ParseUI"]
27+
[[NSBundle bundleForClass:[self class]] localizedStringForKey:key value:nil table:@"ParseUI"]
2828

2929
#endif

0 commit comments

Comments
 (0)