Skip to content

Commit 13b0c6b

Browse files
correct maltese language key (#5702)
1 parent 9b5c50e commit 13b0c6b

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

FirebaseMessaging/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# unreleased
22
- [changed] Use UNNotificationRequest to schedule local notification for local timezone notification for iOS 10 and above. This should also fix the issue that '%' was not properly shown in title and body. (#5667)
3+
- [fixed] Fixed Maltese language key for language targeting. (#5702)
34

45
# 2020-05 -- v4.4.1
56
- [changed] Updated NSError with a failure reason to give more details on the error. (#5511)

FirebaseMessaging/Sources/FIRMessaging.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ + (NSDictionary *)firebaselocalesMap {
10701070
// Malay
10711071
@"ms" : @[ @"ms_MY" ],
10721072
// Maltese
1073-
@"ms" : @[ @"mt_MT" ],
1073+
@"mt" : @[ @"mt_MT" ],
10741074
// Polish
10751075
@"pl" : @[ @"pl", @"pl_PL", @"pl-PL" ],
10761076
// Romanian

FirebaseMessaging/Sources/NSError+FIRMessaging.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
#import <Foundation/Foundation.h>
1818

19-
#import <FirebaseMessaging/FIRMessaging.h>
20-
2119
NS_ASSUME_NONNULL_BEGIN
2220

2321
FOUNDATION_EXPORT NSString *const kFIRMessagingDomain;

0 commit comments

Comments
 (0)