Преглед на файлове

Add new item for translate

Marino Faggiana преди 8 години
родител
ревизия
b57c2ea7d9
променени са 2 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. 3 3
      iOSClient/Notification/CCNotification.swift
  2. 1 0
      iOSClient/en.lproj/Localizable.strings

+ 3 - 3
iOSClient/Notification/CCNotification.swift

@@ -66,7 +66,7 @@ class CCNotification: UITableViewController, OCNetworkingDelegate {
         // No Action request
         if notification.actions.count == 0 {
             
-            let delete = UITableViewRowAction(style: .normal, title: NSLocalizedString("_delete_", comment: "")) { action, index in
+            let remove = UITableViewRowAction(style: .normal, title: NSLocalizedString("_remove_", comment: "")) { action, index in
 
                 tableView.setEditing(false, animated: true)
 
@@ -80,9 +80,9 @@ class CCNotification: UITableViewController, OCNetworkingDelegate {
                 self.appDelegate.addNetworkingOperationQueue(self.appDelegate.netQueue, delegate: self, metadataNet: metadataNet)
             }
             
-            delete.backgroundColor = CCConstant.GlobalConstants.kColor_cryptocloud
+            remove.backgroundColor = CCConstant.GlobalConstants.kColor_cryptocloud
  
-            return [delete]
+            return [remove]
  
         } else {
         // Action request

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

@@ -56,6 +56,7 @@
 "_create_folder_"           = "Create folder";
 "_close_"                   = "Close";
 "_postpone_"                = "Postpone";
+"_remove_"                  = "Remove";
 
 // App