settings: translate bug reports notice

This commit is contained in:
Gautier Pelloux-Prayer 2016-01-26 14:04:08 +01:00
parent 1cf72dab89
commit 523715edb9
11 changed files with 6 additions and 4 deletions

View file

@ -796,11 +796,13 @@ static UICompositeViewDescription *compositeDescription = nil;
MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init];
picker.mailComposeDelegate = self;
[picker setSubject:@"<Please describe your problem>"];
[picker setSubject:NSLocalizedString(@"<Please describe your problem or you will be ignored>",
@"Email title for people wanting to send a bug report")];
[picker setToRecipients:[NSArray arrayWithObjects:@"linphone-iphone@belledonne-communications.com", nil]];
[picker setMessageBody:@"Here are information about an issue I had on my device.\nI was "
@"doing ...\nI expected Linphone to ...\nInstead, I got an "
@"unexpected result: ..."
[picker setMessageBody:NSLocalizedString(@"Here are information about an issue I had on my device.\nI was "
@"doing ...\nI expected Linphone to ...\nInstead, I got an "
@"unexpected result: ...",
@"Template email for people wanting to send a bug report")
isHTML:NO];
for (NSArray *attachment in attachments) {
if ([[NSFileManager defaultManager] fileExistsAtPath:attachment[0]]) {