瀏覽代碼

Passphraser loc

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 年之前
父節點
當前提交
141282e811

+ 1 - 1
iOSClient/Settings/NCEndToEndInitialize.swift

@@ -196,7 +196,7 @@ class NCEndToEndInitialize: NSObject {
                 alertController.addAction(cancel)
                 alertController.addAction(cancel)
                 alertController.addTextField { textField -> Void in
                 alertController.addTextField { textField -> Void in
                     passphraseTextField = textField
                     passphraseTextField = textField
-                    passphraseTextField?.placeholder = "Enter passphrase (12 words)"
+                    passphraseTextField?.placeholder = NSLocalizedString("_enter_passphrase_", comment: "")
                 }
                 }
 
 
                 self.appDelegate.window?.rootViewController?.present(alertController, animated: true)
                 self.appDelegate.window?.rootViewController?.present(alertController, animated: true)

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

@@ -856,6 +856,8 @@
 "_video_not_streamed_"      = "The server does not allow video streaming, do you want to download it?";
 "_video_not_streamed_"      = "The server does not allow video streaming, do you want to download it?";
 "_scan_"                    = "Scan";
 "_scan_"                    = "Scan";
 "_in_"                      = "in";
 "_in_"                      = "in";
+"_enter_passphrase_"        = "Enter passphrase (12 words)";
+
 // Video
 // Video
 "_select_trace_"            = "Select the trace";
 "_select_trace_"            = "Select the trace";
 "_video_processing_"        = "Video processing";
 "_video_processing_"        = "Video processing";