mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-01 16:06:59 +00:00
Show the proper app name in feedback activity
This commit is contained in:
parent
3d23e36b59
commit
1f902b4389
@ -20,8 +20,10 @@
|
||||
}
|
||||
|
||||
- (NSString *)activityTitle {
|
||||
NSString *appName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"];
|
||||
|
||||
NSString *appName = [[[NSBundle mainBundle] localizedInfoDictionary] objectForKey:@"CFBundleDisplayName"];
|
||||
if (!appName)
|
||||
appName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"] ?: BITHockeyLocalizedString(@"HockeyFeedbackActivityAppPlaceholder");
|
||||
|
||||
return [NSString stringWithFormat:BITHockeyLocalizedString(@"HockeyFeedbackActivityButtonTitle"), appName];
|
||||
}
|
||||
|
||||
|
@ -188,6 +188,9 @@
|
||||
/* Activity Sharing Button Title, App Name will be inserted */
|
||||
"HockeyFeedbackActivityButtonTitle" = "%@ Feedback";
|
||||
|
||||
/* if there can no app name be found, use this instead for HockeyFeedbackActivityButtonTitle */
|
||||
"HockeyFeedbackActivityAppPlaceholder" = "App";
|
||||
|
||||
|
||||
/* Compose Message */
|
||||
|
||||
|
@ -185,6 +185,9 @@
|
||||
/* Activity Sharing Button Title, App Name will be inserted */
|
||||
"HockeyFeedbackActivityButtonTitle" = "%@ Feedback";
|
||||
|
||||
/* if there can no app name be found, use this instead for HockeyFeedbackActivityButtonTitle */
|
||||
"HockeyFeedbackActivityAppPlaceholder" = "App";
|
||||
|
||||
|
||||
/* Compose Message */
|
||||
|
||||
|
@ -186,6 +186,9 @@
|
||||
/* Activity Sharing Button Title, App Name will be inserted */
|
||||
"HockeyFeedbackActivityButtonTitle" = "%@ Feedback";
|
||||
|
||||
/* if there can no app name be found, use this instead for HockeyFeedbackActivityButtonTitle */
|
||||
"HockeyFeedbackActivityAppPlaceholder" = "App";
|
||||
|
||||
|
||||
/* Compose Message */
|
||||
|
||||
|
@ -186,6 +186,9 @@
|
||||
/* Activity Sharing Button Title, App Name will be inserted */
|
||||
"HockeyFeedbackActivityButtonTitle" = "%@ Feedback";
|
||||
|
||||
/* if there can no app name be found, use this instead for HockeyFeedbackActivityButtonTitle */
|
||||
"HockeyFeedbackActivityAppPlaceholder" = "App";
|
||||
|
||||
|
||||
/* Compose Message */
|
||||
|
||||
|
@ -186,6 +186,9 @@
|
||||
/* Activity Sharing Button Title, App Name will be inserted */
|
||||
"HockeyFeedbackActivityButtonTitle" = "%@ Feedback";
|
||||
|
||||
/* if there can no app name be found, use this instead for HockeyFeedbackActivityButtonTitle */
|
||||
"HockeyFeedbackActivityAppPlaceholder" = "App";
|
||||
|
||||
|
||||
/* Compose Message */
|
||||
|
||||
|
@ -186,6 +186,9 @@
|
||||
/* Activity Sharing Button Title, App Name will be inserted */
|
||||
"HockeyFeedbackActivityButtonTitle" = "%@ Feedback";
|
||||
|
||||
/* if there can no app name be found, use this instead for HockeyFeedbackActivityButtonTitle */
|
||||
"HockeyFeedbackActivityAppPlaceholder" = "App";
|
||||
|
||||
|
||||
/* Compose Message */
|
||||
|
||||
|
@ -186,6 +186,9 @@
|
||||
/* Activity Sharing Button Title, App Name will be inserted */
|
||||
"HockeyFeedbackActivityButtonTitle" = "%@ Feedback";
|
||||
|
||||
/* if there can no app name be found, use this instead for HockeyFeedbackActivityButtonTitle */
|
||||
"HockeyFeedbackActivityAppPlaceholder" = "App";
|
||||
|
||||
|
||||
/* Compose Message */
|
||||
|
||||
|
@ -186,6 +186,9 @@
|
||||
/* Activity Sharing Button Title, App Name will be inserted */
|
||||
"HockeyFeedbackActivityButtonTitle" = "%@ Feedback";
|
||||
|
||||
/* if there can no app name be found, use this instead for HockeyFeedbackActivityButtonTitle */
|
||||
"HockeyFeedbackActivityAppPlaceholder" = "App";
|
||||
|
||||
|
||||
/* Compose Message */
|
||||
|
||||
|
@ -186,6 +186,9 @@
|
||||
/* Activity Sharing Button Title, App Name will be inserted */
|
||||
"HockeyFeedbackActivityButtonTitle" = "%@ Feedback";
|
||||
|
||||
/* if there can no app name be found, use this instead for HockeyFeedbackActivityButtonTitle */
|
||||
"HockeyFeedbackActivityAppPlaceholder" = "App";
|
||||
|
||||
|
||||
/* Compose Message */
|
||||
|
||||
|
@ -186,6 +186,9 @@
|
||||
/* Activity Sharing Button Title, App Name will be inserted */
|
||||
"HockeyFeedbackActivityButtonTitle" = "%@ Feedback";
|
||||
|
||||
/* if there can no app name be found, use this instead for HockeyFeedbackActivityButtonTitle */
|
||||
"HockeyFeedbackActivityAppPlaceholder" = "App";
|
||||
|
||||
|
||||
/* Compose Message */
|
||||
|
||||
|
@ -186,6 +186,9 @@
|
||||
/* Activity Sharing Button Title, App Name will be inserted */
|
||||
"HockeyFeedbackActivityButtonTitle" = "%@ Feedback";
|
||||
|
||||
/* if there can no app name be found, use this instead for HockeyFeedbackActivityButtonTitle */
|
||||
"HockeyFeedbackActivityAppPlaceholder" = "App";
|
||||
|
||||
|
||||
/* Compose Message */
|
||||
|
||||
|
@ -186,6 +186,9 @@
|
||||
/* Activity Sharing Button Title, App Name will be inserted */
|
||||
"HockeyFeedbackActivityButtonTitle" = "%@ Feedback";
|
||||
|
||||
/* if there can no app name be found, use this instead for HockeyFeedbackActivityButtonTitle */
|
||||
"HockeyFeedbackActivityAppPlaceholder" = "App";
|
||||
|
||||
|
||||
/* Compose Message */
|
||||
|
||||
|
@ -186,6 +186,9 @@
|
||||
/* Activity Sharing Button Title, App Name will be inserted */
|
||||
"HockeyFeedbackActivityButtonTitle" = "%@ Feedback";
|
||||
|
||||
/* if there can no app name be found, use this instead for HockeyFeedbackActivityButtonTitle */
|
||||
"HockeyFeedbackActivityAppPlaceholder" = "App";
|
||||
|
||||
|
||||
/* Compose Message */
|
||||
|
||||
|
@ -186,6 +186,9 @@
|
||||
/* Activity Sharing Button Title, App Name will be inserted */
|
||||
"HockeyFeedbackActivityButtonTitle" = "%@ Feedback";
|
||||
|
||||
/* if there can no app name be found, use this instead for HockeyFeedbackActivityButtonTitle */
|
||||
"HockeyFeedbackActivityAppPlaceholder" = "App";
|
||||
|
||||
|
||||
/* Compose Message */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user