diff --git a/pass.xcodeproj/project.pbxproj b/pass.xcodeproj/project.pbxproj index 4ef076a..1818e56 100644 --- a/pass.xcodeproj/project.pbxproj +++ b/pass.xcodeproj/project.pbxproj @@ -27,6 +27,8 @@ 30BF5EC821EA8FB5000E4154 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 30BF5ECA21EA8FB5000E4154 /* Localizable.strings */; }; 30BF5ECF21EA90D1000E4154 /* String.swift in Sources */ = {isa = PBXBuildFile; fileRef = 30BF5ECE21EA90D1000E4154 /* String.swift */; }; 30BF5ED721ED2434000E4154 /* Localizable.stringsdict in Resources */ = {isa = PBXBuildFile; fileRef = 30BF5ED521ED2434000E4154 /* Localizable.stringsdict */; }; + 30C25DBD21F3599E00BB27BB /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 30C25DBF21F3599E00BB27BB /* InfoPlist.strings */; }; + 30C25DC021F35A6900BB27BB /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 30C25DC221F35A6900BB27BB /* InfoPlist.strings */; }; 30FD2F78214D9E0E005E0A92 /* ParserTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 30FD2F77214D9E0E005E0A92 /* ParserTest.swift */; }; 61326CDA7A73757FB68DCB04 /* Pods_passKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DAB3F5541E51ADC8C6B56642 /* Pods_passKit.framework */; }; A20691F41F2A3D0E0096483D /* SecurePasteboard.swift in Sources */ = {isa = PBXBuildFile; fileRef = A20691F31F2A3D0E0096483D /* SecurePasteboard.swift */; }; @@ -210,6 +212,9 @@ 30BF5EC921EA8FB5000E4154 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = ""; }; 30BF5ECE21EA90D1000E4154 /* String.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = String.swift; path = Localization/String.swift; sourceTree = ""; }; 30BF5ED621ED2434000E4154 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = en; path = en.lproj/Localizable.stringsdict; sourceTree = ""; }; + 30C25DA921F34D2800BB27BB /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Main.strings; sourceTree = ""; }; + 30C25DBE21F3599E00BB27BB /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 30C25DC121F35A6900BB27BB /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 30FD2F77214D9E0E005E0A92 /* ParserTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ParserTest.swift; sourceTree = ""; }; 31C3033E8868D05B2C55C8B1 /* Pods-passExtension.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-passExtension.debug.xcconfig"; path = "Pods/Target Support Files/Pods-passExtension/Pods-passExtension.debug.xcconfig"; sourceTree = ""; }; 3A5620D17DF5E86B61761D0E /* Pods_pass.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_pass.framework; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -528,6 +533,7 @@ A2367B9F1EF0387000C8FE8B /* Assets.xcassets */, A26700351EEC475600176B8A /* passProcessor.js */, A26700281EEC466A00176B8A /* MainInterface.storyboard */, + 30C25DC221F35A6900BB27BB /* InfoPlist.strings */, ); path = passExtension; sourceTree = ""; @@ -706,6 +712,7 @@ DC917BDA1E2E8231000FDF54 /* Main.storyboard */, 30BF5ECA21EA8FB5000E4154 /* Localizable.strings */, 30BF5ED521ED2434000E4154 /* Localizable.stringsdict */, + 30C25DBF21F3599E00BB27BB /* InfoPlist.strings */, ); path = pass; sourceTree = ""; @@ -997,6 +1004,7 @@ buildActionMask = 2147483647; files = ( A26700371EEC475600176B8A /* passProcessor.js in Resources */, + 30C25DC021F35A6900BB27BB /* InfoPlist.strings in Resources */, A2367BA01EF0387000C8FE8B /* Assets.xcassets in Resources */, A267002A1EEC466A00176B8A /* MainInterface.storyboard in Resources */, ); @@ -1016,6 +1024,7 @@ DC917BE11E2E8231000FDF54 /* LaunchScreen.storyboard in Resources */, DC037CBC1E4DD47B00609409 /* TextFieldTableViewCell.xib in Resources */, 30BF5EC821EA8FB5000E4154 /* Localizable.strings in Resources */, + 30C25DBD21F3599E00BB27BB /* InfoPlist.strings in Resources */, DCFB77A31E500D9C008DE471 /* PasswordDetailTitleTableViewCell.xib in Resources */, DC917BDE1E2E8231000FDF54 /* Assets.xcassets in Resources */, 30BF5ED721ED2434000E4154 /* Localizable.stringsdict in Resources */, @@ -1336,6 +1345,22 @@ name = Localizable.stringsdict; sourceTree = ""; }; + 30C25DBF21F3599E00BB27BB /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 30C25DBE21F3599E00BB27BB /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 30C25DC221F35A6900BB27BB /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 30C25DC121F35A6900BB27BB /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; A239F59A2158C08C00576CBF /* MainInterface.storyboard */ = { isa = PBXVariantGroup; children = ( @@ -1356,6 +1381,7 @@ isa = PBXVariantGroup; children = ( DC917BDB1E2E8231000FDF54 /* Base */, + 30C25DA921F34D2800BB27BB /* en */, ); name = Main.storyboard; sourceTree = ""; diff --git a/pass/Info.plist b/pass/Info.plist index a37a847..ed67070 100644 --- a/pass/Info.plist +++ b/pass/Info.plist @@ -34,9 +34,9 @@ LSRequiresIPhoneOS NSCameraUsageDescription - We need to access your camera for scanning QR code. + We need to access your camera for scanning QR codes. NSFaceIDUsageDescription - Enable access to Face ID to unlock Pass + Enable access to Face ID to unlock Pass. UIApplicationShortcutItems diff --git a/pass/en.lproj/InfoPlist.strings b/pass/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..67c98dc --- /dev/null +++ b/pass/en.lproj/InfoPlist.strings @@ -0,0 +1,10 @@ +/* + Localizable.strings + pass + + Created by Danny Moesch on 19.01.19. + Copyright © 2019 Bob Sun. All rights reserved. + */ + +"NSCameraUsageDescription" = "We need to access your camera for scanning QR codes."; +"NSFaceIDUsageDescription" = "Enable access to Face ID to unlock Pass."; diff --git a/pass/en.lproj/Main.strings b/pass/en.lproj/Main.strings new file mode 100644 index 0000000..7b5537f --- /dev/null +++ b/pass/en.lproj/Main.strings @@ -0,0 +1,240 @@ + +/* Class = "UITableViewSection"; headerTitle = "ASCII-ARMOR ENCRYPTED PRIVATE KEY"; ObjectID = "0RP-Jn-j5G"; */ +"0RP-Jn-j5G.headerTitle" = "ASCII-ARMOR ENCRYPTED PRIVATE KEY"; + +/* Class = "UILabel"; text = "Not Set"; ObjectID = "2qr-d7-0SK"; */ +"2qr-d7-0SK.text" = "Not Set"; + +/* Class = "UITextField"; placeholder = "Private Key URL"; ObjectID = "4iJ-oB-R1f"; */ +"4iJ-oB-R1f.placeholder" = "Private Key URL"; + +/* Class = "UITabBarItem"; title = "Settings"; ObjectID = "6Xa-be-Z8g"; */ +"6Xa-be-Z8g.title" = "Settings"; + +/* Class = "UILabel"; text = "Not Set"; ObjectID = "7lc-Vh-G9W"; */ +"7lc-Vh-G9W.text" = "Not Set"; + +/* Class = "UILabel"; text = "Git Signature"; ObjectID = "87a-xY-AbR"; */ +"87a-xY-AbR.text" = "Git Signature"; + +/* Class = "UILabel"; text = "Bob Sun"; ObjectID = "8Dc-U9-AVf"; */ +"8Dc-U9-AVf.text" = "Bob Sun"; + +/* Class = "UIBarButtonItem"; title = "Back"; ObjectID = "9yM-Mg-Cg8"; */ +"9yM-Mg-Cg8.title" = "Back"; + +/* Class = "UILabel"; text = "Private Key URL"; ObjectID = "C2w-dd-roS"; */ +"C2w-dd-roS.text" = "Private Key URL"; + +/* Class = "UINavigationItem"; title = "Password Store"; ObjectID = "Cio-ZG-zCS"; */ +"Cio-ZG-zCS.title" = "Password Store"; + +/* Class = "UITableViewSection"; headerTitle = "SECURITY"; ObjectID = "Cx7-e4-wCO"; */ +"Cx7-e4-wCO.headerTitle" = "SECURITY"; + +/* Class = "UINavigationItem"; title = "SSH Key"; ObjectID = "DrT-Wk-L5K"; */ +"DrT-Wk-L5K.title" = "SSH Key"; + +/* Class = "UITextField"; placeholder = "Git Repository URL"; ObjectID = "EVT-VU-sCi"; */ +"EVT-VU-sCi.placeholder" = "Git Repository URL"; + +/* Class = "UILabel"; text = "Title"; ObjectID = "Eu3-i0-M5v"; */ +"Eu3-i0-M5v.text" = "Title"; + +/* Class = "UILabel"; text = "SSH Key"; ObjectID = "Ezz-76-a53"; */ +"Ezz-76-a53.text" = "SSH Key"; + +/* Class = "UILabel"; text = "2017/04/04"; ObjectID = "GLC-qL-55P"; */ +"GLC-qL-55P.text" = "2017/04/04"; + +/* Class = "UILabel"; text = "Off"; ObjectID = "HXb-ZX-HUv"; */ +"HXb-ZX-HUv.text" = "Off"; + +/* Class = "UIBarButtonItem"; title = "About"; ObjectID = "HhH-eq-XdK"; */ +"HhH-eq-XdK.title" = "About"; + +/* Class = "UINavigationItem"; title = "Edit Password"; ObjectID = "Hj9-Iq-kId"; */ +"Hj9-Iq-kId.title" = "Edit Password"; + +/* Class = "UINavigationItem"; title = "Scan OTP QR Codes"; ObjectID = "Hlb-5I-bfE"; */ +"Hlb-5I-bfE.title" = "Scan OTP QR Codes"; + +/* Class = "UILabel"; text = "Name"; ObjectID = "Hlb-Zh-ega"; */ +"Hlb-Zh-ega.text" = "Name"; + +/* Class = "UINavigationItem"; title = "Scan QR Code"; ObjectID = "JIs-3z-Tmr"; */ +"JIs-3z-Tmr.title" = "Scan QR Code"; + +/* Class = "UILabel"; text = "Encrypt in ASCII-Armored"; ObjectID = "Jwg-mt-woS"; */ +"Jwg-mt-woS.text" = "Encrypt in ASCII-Armored"; + +/* Class = "UILabel"; text = "Erase All Password Store Data"; ObjectID = "K2K-Bx-g7Z"; */ +"K2K-Bx-g7Z.text" = "Erase All Password Store Data"; + +/* Class = "UINavigationItem"; title = "Add Password"; ObjectID = "KOg-Gn-Buk"; */ +"KOg-Gn-Buk.title" = "Add Password"; + +/* Class = "UILabel"; text = "Edit password for baidu.com using Pass for iOS."; ObjectID = "L1p-Dm-Mnh"; */ +"L1p-Dm-Mnh.text" = "Edit password for baidu.com using Pass for iOS."; + +/* Class = "UILabel"; text = "Password"; ObjectID = "LfQ-Af-j2O"; */ +"LfQ-Af-j2O.text" = "Password"; + +/* Class = "UILabel"; text = "ASCII-Armor Keys"; ObjectID = "M32-yr-IfE"; */ +"M32-yr-IfE.text" = "ASCII-Armor Keys"; + +/* Class = "UILabel"; text = "Advanced"; ObjectID = "MKj-d0-8q3"; */ +"MKj-d0-8q3.text" = "Advanced"; + +/* Class = "UITableViewSection"; headerTitle = "ASCII-Armor Encrypted Public Key"; ObjectID = "MZz-mp-v5N"; */ +"MZz-mp-v5N.headerTitle" = "ASCII-Armor Encrypted Public Key"; + +/* Class = "UILabel"; text = "Not Set"; ObjectID = "Myq-fV-riz"; */ +"Myq-fV-riz.text" = "Not Set"; + +/* Class = "UIBarButtonItem"; title = "Back"; ObjectID = "New-sD-9Z1"; */ +"New-sD-9Z1.title" = "Back"; + +/* Class = "UINavigationItem"; title = "About"; ObjectID = "Pel-JD-Z5x"; */ +"Pel-JD-Z5x.title" = "About"; + +/* Class = "UILabel"; text = "Private Key URL"; ObjectID = "Qht-RC-Yeg"; */ +"Qht-RC-Yeg.text" = "Private Key URL"; + +/* Class = "UILabel"; text = "PGP Key"; ObjectID = "RR9-xr-9ko"; */ +"RR9-xr-9ko.text" = "PGP Key"; + +/* Class = "UILabel"; text = "Passcode Lock"; ObjectID = "RaZ-6t-0CU"; */ +"RaZ-6t-0CU.text" = "Passcode Lock"; + +/* Class = "UITextField"; placeholder = "Public Key URL"; ObjectID = "Rb8-zs-TGa"; */ +"Rb8-zs-TGa.placeholder" = "Public Key URL"; + +/* Class = "UILabel"; text = "✓"; ObjectID = "Scc-5J-bu1"; */ +"Scc-5J-bu1.text" = "✓"; + +/* Class = "UITextField"; placeholder = "Username"; ObjectID = "TMg-Gk-7nG"; */ +"TMg-Gk-7nG.placeholder" = "Username"; + +/* Class = "UILabel"; text = "scanner output"; ObjectID = "U8O-Md-w8e"; */ +"U8O-Md-w8e.text" = "scanner output"; + +/* Class = "UITableViewSection"; headerTitle = "Branch Name"; ObjectID = "Uoy-58-5ug"; */ +"Uoy-58-5ug.headerTitle" = "Branch Name"; + +/* Class = "UINavigationItem"; title = "PGP Key"; ObjectID = "V4w-cf-d9g"; */ +"V4w-cf-d9g.title" = "PGP Key"; + +/* Class = "UITextField"; placeholder = "Branch Name"; ObjectID = "VVI-gJ-e37"; */ +"VVI-gJ-e37.placeholder" = "Branch Name"; + +/* Class = "UINavigationItem"; title = "Settings"; ObjectID = "WH4-7R-4TQ"; */ +"WH4-7R-4TQ.title" = "Settings"; + +/* Class = "UITabBarItem"; title = "Settings"; ObjectID = "YLZ-cr-akY"; */ +"YLZ-cr-akY.title" = "Settings"; + +/* Class = "UITextField"; placeholder = "email"; ObjectID = "YY9-za-MNV"; */ +"YY9-za-MNV.placeholder" = "email"; + +/* Class = "UINavigationItem"; title = "General"; ObjectID = "aAM-Iw-iBA"; */ +"aAM-Iw-iBA.title" = "General"; + +/* Class = "UINavigationItem"; title = "Recent Commit Log"; ObjectID = "aRM-mj-MAt"; */ +"aRM-mj-MAt.title" = "Recent Commit Log"; + +/* Class = "UITableViewSection"; headerTitle = "PasswordStore Data"; ObjectID = "aVR-FE-jMg"; */ +"aVR-FE-jMg.headerTitle" = "PasswordStore Data"; + +/* Class = "UINavigationItem"; title = "Raw Password"; ObjectID = "c13-zM-tLf"; */ +"c13-zM-tLf.title" = "Raw Password"; + +/* Class = "UITextField"; placeholder = "Private Key URL"; ObjectID = "cGJ-1g-Ztc"; */ +"cGJ-1g-Ztc.placeholder" = "Private Key URL"; + +/* Class = "UILabel"; text = "ASCII-Armor Keys"; ObjectID = "cMp-Iy-NUj"; */ +"cMp-Iy-NUj.text" = "ASCII-Armor Keys"; + +/* Class = "UILabel"; text = "ASCII-Armor Keys"; ObjectID = "cd7-0l-AZW"; */ +"cd7-0l-AZW.text" = "ASCII-Armor Keys"; + +/* Class = "UINavigationItem"; title = "About Repository"; ObjectID = "cjL-hB-P6y"; */ +"cjL-hB-P6y.title" = "About Repository"; + +/* Class = "UILabel"; text = "General"; ObjectID = "dOt-Rj-vWD"; */ +"dOt-Rj-vWD.text" = "General"; + +/* Class = "UILabel"; text = "Public Key URL"; ObjectID = "dWi-eh-7Eq"; */ +"dWi-eh-7Eq.text" = "Public Key URL"; + +/* Class = "UINavigationItem"; title = "Open Source Components"; ObjectID = "duN-f7-Rak"; */ +"duN-f7-Rak.title" = "Open Source Components"; + +/* Class = "UINavigationItem"; title = "PGP Key"; ObjectID = "eK3-bb-419"; */ +"eK3-bb-419.title" = "PGP Key"; + +/* Class = "UITableViewSection"; headerTitle = "Username"; ObjectID = "fRu-A2-SCk"; */ +"fRu-A2-SCk.headerTitle" = "Username"; + +/* Class = "UITextField"; placeholder = "name"; ObjectID = "fa8-Vc-w8F"; */ +"fa8-Vc-w8F.placeholder" = "name"; + +/* Class = "UITabBarItem"; title = "Passwords"; ObjectID = "gNg-YT-cGW"; */ +"gNg-YT-cGW.title" = "Passwords"; + +/* Class = "UINavigationItem"; title = "SSH Key"; ObjectID = "gNq-BH-pj8"; */ +"gNq-BH-pj8.title" = "SSH Key"; + +/* Class = "UILabel"; text = "Password Repository"; ObjectID = "gWn-ib-STb"; */ +"gWn-ib-STb.text" = "Password Repository"; + +/* Class = "UINavigationItem"; title = "Git Server"; ObjectID = "gXX-yl-9oj"; */ +"gXX-yl-9oj.title" = "Git Server"; + +/* Class = "UITableViewSection"; headerTitle = "Authentication Method"; ObjectID = "h0N-tI-shZ"; */ +"h0N-tI-shZ.headerTitle" = "Authentication Method"; + +/* Class = "UILabel"; text = "ASCII-Armor Keys"; ObjectID = "i78-t7-fP9"; */ +"i78-t7-fP9.text" = "ASCII-Armor Keys"; + +/* Class = "UITableViewSection"; headerTitle = "Git Configuration"; ObjectID = "ihT-OG-HTv"; */ +"ihT-OG-HTv.headerTitle" = "Git Configuration"; + +/* Class = "UILabel"; text = "scanner output"; ObjectID = "lOI-p4-BGb"; */ +"lOI-p4-BGb.text" = "scanner output"; + +/* Class = "UILabel"; text = "Email"; ObjectID = "m25-Qy-XwU"; */ +"m25-Qy-XwU.text" = "Email"; + +/* Class = "UIViewController"; title = "Raw Password"; ObjectID = "mlB-OK-hLo"; */ +"mlB-OK-hLo.title" = "Raw Password"; + +/* Class = "UINavigationItem"; title = "Special Thanks"; ObjectID = "oKe-r8-1EF"; */ +"oKe-r8-1EF.title" = "Special Thanks"; + +/* Class = "UILabel"; text = "About"; ObjectID = "oqz-Hr-RAl"; */ +"oqz-Hr-RAl.text" = "About"; + +/* Class = "UINavigationItem"; title = "Git Signature"; ObjectID = "pPi-jd-x5U"; */ +"pPi-jd-x5U.title" = "Git Signature"; + +/* Class = "UITableViewSection"; headerTitle = "Git Repository URL"; ObjectID = "pbe-W6-w4V"; */ +"pbe-W6-w4V.headerTitle" = "Git Repository URL"; + +/* Class = "UIBarButtonItem"; title = "Clone"; ObjectID = "sgQ-zB-rxv"; */ +"sgQ-zB-rxv.title" = "Clone"; + +/* Class = "UITableViewSection"; headerTitle = "ASCII-ARMOR ENCRYPTED PRIVATE KEY"; ObjectID = "sxk-Yb-Y3x"; */ +"sxk-Yb-Y3x.headerTitle" = "ASCII-ARMOR ENCRYPTED PRIVATE KEY"; + +/* Class = "UINavigationItem"; title = "Advanced"; ObjectID = "tc7-wf-hG7"; */ +"tc7-wf-hG7.title" = "Advanced"; + +/* Class = "UITableViewSection"; headerTitle = "GPG Configuration"; ObjectID = "ugP-R2-9M7"; */ +"ugP-R2-9M7.headerTitle" = "GPG Configuration"; + +/* Class = "UILabel"; text = "✓"; ObjectID = "wbx-rk-i8H"; */ +"wbx-rk-i8H.text" = "✓"; + +/* Class = "UILabel"; text = "Discard All Local Changes"; ObjectID = "zrl-v3-fxg"; */ +"zrl-v3-fxg.text" = "Discard All Local Changes"; diff --git a/passExtension/Info.plist b/passExtension/Info.plist index 3c326ed..b5a0536 100644 --- a/passExtension/Info.plist +++ b/passExtension/Info.plist @@ -45,6 +45,6 @@ com.apple.ui-services NSFaceIDUsageDescription - Enable access to Face ID to unlock Pass + Enable access to Face ID to unlock Pass. diff --git a/passExtension/en.lproj/InfoPlist.strings b/passExtension/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..d33f718 --- /dev/null +++ b/passExtension/en.lproj/InfoPlist.strings @@ -0,0 +1,9 @@ +/* + Localizable.strings + pass + + Created by Danny Moesch on 19.01.19. + Copyright © 2019 Bob Sun. All rights reserved. + */ + +"NSFaceIDUsageDescription" = "Enable access to Face ID to unlock Pass.";