Browse Source

new error

Marino Faggiana 8 years ago
parent
commit
909161929a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      iOSClient/AppDelegate.m

+ 2 - 1
iOSClient/AppDelegate.m

@@ -1063,7 +1063,8 @@
         NSUInteger count = [TableMetadata MR_countOfEntitiesWithPredicate:[NSPredicate predicateWithFormat:@"(account == %@) AND (sessionSelector == %@) AND ((sessionTaskIdentifier == %i) OR (sessionTaskIdentifierPlist == %i))", app.activeAccount, selectorUploadAutomaticAll,taskIdentifierError, taskIdentifierError]];
         
         if (count >= 10) {
-            [app messageNotification:@"Troppi errori, invio sospeso scrivere messaggio" description:@"" visible:YES delay:dismissAfterSecond type:TWMessageBarMessageTypeError];
+            
+            [app messageNotification:@"_error_" description:NSLocalizedStringFromTable(@"_too_errors_uploadautomatic_all_", @"Error", nil) visible:YES delay:dismissAfterSecond type:TWMessageBarMessageTypeError];
             
             return;
         }