Bladeren bron

add string

Marino Faggiana 7 jaren geleden
bovenliggende
commit
a88541a068
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 1 1
      iOSClient/Settings/CCSettings.m
  2. 1 0
      iOSClient/Supporting Files/en.lproj/Localizable.strings

+ 1 - 1
iOSClient/Settings/CCSettings.m

@@ -493,7 +493,7 @@
         // Email Recipents
         NSArray *toRecipents;
     
-        messageBody = [NSString stringWithFormat:@"\n\n\n%@ Version %@ (%@)", [NCBrandOptions sharedInstance].brand, [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"], [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]];
+        messageBody = [NSString stringWithFormat:@"%@\n\n\n\n%@ Version %@ (%@) - iOS %@",NSLocalizedString(@"_in_english_", nil), [NCBrandOptions sharedInstance].brand, [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"], [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"], [[UIDevice currentDevice] systemVersion]];
         toRecipents = [NSArray arrayWithObject:[NCBrandOptions sharedInstance].mailMe];
     
         MFMailComposeViewController *mc = [[MFMailComposeViewController alloc] init];

+ 1 - 0
iOSClient/Supporting Files/en.lproj/Localizable.strings

@@ -116,6 +116,7 @@
 "_mail_sent_"               = "Email sent";
 "_mail_failure_"            = "Failed to send email: %@";
 "_information_req_"         = "Information request";
+"_in_english_"              = "Please, write us in English";
 "_credentials_"             = "Credentials";
 "_manage_account_"          = "Manage account";
 "_change_password_"         = "Change password";