瀏覽代碼

new error

Marino Faggiana 8 年之前
父節點
當前提交
909161929a
共有 1 個文件被更改,包括 2 次插入1 次删除
  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;
         }