Browse Source

add String Language

Marino Faggiana 8 years ago
parent
commit
f976cb080b
2 changed files with 4 additions and 0 deletions
  1. 3 0
      iOSClient/Create/CCCreateCloud.swift
  2. 1 0
      iOSClient/en.lproj/Localizable.strings

+ 3 - 0
iOSClient/Create/CCCreateCloud.swift

@@ -336,7 +336,10 @@ class CreateFormUploadAssets: XLFormViewController, CCMoveDelegate {
             // reload cell
             if fileName != nil {
                 if newValue as! String != formRow.value as! String {
+                    
                     self.reloadFormRow(formRow)
+                    
+                    appDelegate.messageNotification("_info_", description: "_forbidden_characters_", visible: true, delay: TimeInterval(dismissAfterSecond), type: TWMessageBarMessageType.info)
                 }
             }
             self.reloadFormRow(previewFileName)

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

@@ -481,6 +481,7 @@
 "_rename_filename_"                 = "Rename file name";
 "_filename_"                        = "File name";
 "_preview_filename_"                = "Example preview file name";
+"_forbidden_characters_"            = "Invalid character in the file name";
 
 // -----------------------------------------------------------------------------------------------------------