Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 757e839

Browse files
author
张国晔
committed
Update translations
1 parent c1fb0e9 commit 757e839

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Tweak.x

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#define REPORT_DICT \
2-
@"zh-Hans": @"举报"
2+
@"zh-Hans": @"举报…"
3+
4+
#define REPORT_DEFAULT @"Report…"
35

46
#import <MessageUI/MessageUI.h>
57

@@ -23,7 +25,7 @@
2325
%orig;
2426
NSString *title = @{REPORT_DICT}[[[NSLocale preferredLanguages] objectAtIndex:0]];
2527
if (!title)
26-
title = @"Report";
28+
title = REPORT_DEFAULT;
2729
UIMenuItem *report = [[UIMenuItem alloc] initWithTitle:title action:@selector(report:)];
2830
NSMutableArray *menuItems = [[UIMenuController sharedMenuController].menuItems mutableCopy];
2931
[menuItems addObject:report];

0 commit comments

Comments
 (0)