diff --git a/Session/Meta/Translations/ar.lproj/Localizable.strings b/Session/Meta/Translations/ar.lproj/Localizable.strings index c507d041c..6989c4593 100644 --- a/Session/Meta/Translations/ar.lproj/Localizable.strings +++ b/Session/Meta/Translations/ar.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/be.lproj/Localizable.strings b/Session/Meta/Translations/be.lproj/Localizable.strings index de0535e43..83b01ceb4 100644 --- a/Session/Meta/Translations/be.lproj/Localizable.strings +++ b/Session/Meta/Translations/be.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/bg.lproj/Localizable.strings b/Session/Meta/Translations/bg.lproj/Localizable.strings index cf0f7f94a..f4586baac 100644 --- a/Session/Meta/Translations/bg.lproj/Localizable.strings +++ b/Session/Meta/Translations/bg.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/bn.lproj/Localizable.strings b/Session/Meta/Translations/bn.lproj/Localizable.strings index 09cc209eb..4324c2375 100644 --- a/Session/Meta/Translations/bn.lproj/Localizable.strings +++ b/Session/Meta/Translations/bn.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/cs.lproj/Localizable.strings b/Session/Meta/Translations/cs.lproj/Localizable.strings index 22dbae5a2..e481c4778 100644 --- a/Session/Meta/Translations/cs.lproj/Localizable.strings +++ b/Session/Meta/Translations/cs.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/da.lproj/Localizable.strings b/Session/Meta/Translations/da.lproj/Localizable.strings index 84363521d..4fa4cedc6 100644 --- a/Session/Meta/Translations/da.lproj/Localizable.strings +++ b/Session/Meta/Translations/da.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/de.lproj/Localizable.strings b/Session/Meta/Translations/de.lproj/Localizable.strings index b48bb9c26..3702beb2e 100644 --- a/Session/Meta/Translations/de.lproj/Localizable.strings +++ b/Session/Meta/Translations/de.lproj/Localizable.strings @@ -1100,6 +1100,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/el.lproj/Localizable.strings b/Session/Meta/Translations/el.lproj/Localizable.strings index 3517b8759..9e32149da 100644 --- a/Session/Meta/Translations/el.lproj/Localizable.strings +++ b/Session/Meta/Translations/el.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/en.lproj/Localizable.strings b/Session/Meta/Translations/en.lproj/Localizable.strings index 513c0d881..4452cd696 100644 --- a/Session/Meta/Translations/en.lproj/Localizable.strings +++ b/Session/Meta/Translations/en.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/eo.lproj/Localizable.strings b/Session/Meta/Translations/eo.lproj/Localizable.strings index 76f1bb9b4..3c46be0df 100644 --- a/Session/Meta/Translations/eo.lproj/Localizable.strings +++ b/Session/Meta/Translations/eo.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/es-ES.lproj/Localizable.strings b/Session/Meta/Translations/es-ES.lproj/Localizable.strings index a3c76b172..d6a1152b4 100644 --- a/Session/Meta/Translations/es-ES.lproj/Localizable.strings +++ b/Session/Meta/Translations/es-ES.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/fa.lproj/Localizable.strings b/Session/Meta/Translations/fa.lproj/Localizable.strings index d5c530e12..3430a3f0a 100644 --- a/Session/Meta/Translations/fa.lproj/Localizable.strings +++ b/Session/Meta/Translations/fa.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/fi.lproj/Localizable.strings b/Session/Meta/Translations/fi.lproj/Localizable.strings index 8d45051a0..659706fe3 100644 --- a/Session/Meta/Translations/fi.lproj/Localizable.strings +++ b/Session/Meta/Translations/fi.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/fil.lproj/Localizable.strings b/Session/Meta/Translations/fil.lproj/Localizable.strings index 13ff25e71..dc789ced3 100644 --- a/Session/Meta/Translations/fil.lproj/Localizable.strings +++ b/Session/Meta/Translations/fil.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/fr.lproj/Localizable.strings b/Session/Meta/Translations/fr.lproj/Localizable.strings index c9be2726b..d7e007457 100644 --- a/Session/Meta/Translations/fr.lproj/Localizable.strings +++ b/Session/Meta/Translations/fr.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/hi.lproj/Localizable.strings b/Session/Meta/Translations/hi.lproj/Localizable.strings index 83cff08a1..d5e027f69 100644 --- a/Session/Meta/Translations/hi.lproj/Localizable.strings +++ b/Session/Meta/Translations/hi.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/hr.lproj/Localizable.strings b/Session/Meta/Translations/hr.lproj/Localizable.strings index ddf41089f..ddd4ba60e 100644 --- a/Session/Meta/Translations/hr.lproj/Localizable.strings +++ b/Session/Meta/Translations/hr.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/hu.lproj/Localizable.strings b/Session/Meta/Translations/hu.lproj/Localizable.strings index 7ac433606..db883c4f6 100644 --- a/Session/Meta/Translations/hu.lproj/Localizable.strings +++ b/Session/Meta/Translations/hu.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/id.lproj/Localizable.strings b/Session/Meta/Translations/id.lproj/Localizable.strings index 1b961f37c..cfe1b6572 100644 --- a/Session/Meta/Translations/id.lproj/Localizable.strings +++ b/Session/Meta/Translations/id.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/it.lproj/Localizable.strings b/Session/Meta/Translations/it.lproj/Localizable.strings index 4d925e121..69410ce7b 100644 --- a/Session/Meta/Translations/it.lproj/Localizable.strings +++ b/Session/Meta/Translations/it.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/ja.lproj/Localizable.strings b/Session/Meta/Translations/ja.lproj/Localizable.strings index bb84a1851..c05b4a34d 100644 --- a/Session/Meta/Translations/ja.lproj/Localizable.strings +++ b/Session/Meta/Translations/ja.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/ko.lproj/Localizable.strings b/Session/Meta/Translations/ko.lproj/Localizable.strings index 660cbaa6b..7aac42b37 100644 --- a/Session/Meta/Translations/ko.lproj/Localizable.strings +++ b/Session/Meta/Translations/ko.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/ku.lproj/Localizable.strings b/Session/Meta/Translations/ku.lproj/Localizable.strings index d1a1c6a78..0ec81f7ce 100644 --- a/Session/Meta/Translations/ku.lproj/Localizable.strings +++ b/Session/Meta/Translations/ku.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/lt.lproj/Localizable.strings b/Session/Meta/Translations/lt.lproj/Localizable.strings index 6e9e7d97c..730f4deda 100644 --- a/Session/Meta/Translations/lt.lproj/Localizable.strings +++ b/Session/Meta/Translations/lt.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/lv.lproj/Localizable.strings b/Session/Meta/Translations/lv.lproj/Localizable.strings index 2abc8ddc3..e68be458f 100644 --- a/Session/Meta/Translations/lv.lproj/Localizable.strings +++ b/Session/Meta/Translations/lv.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/ne-NP.lproj/Localizable.strings b/Session/Meta/Translations/ne-NP.lproj/Localizable.strings index 930a318f7..44e6e1d7f 100644 --- a/Session/Meta/Translations/ne-NP.lproj/Localizable.strings +++ b/Session/Meta/Translations/ne-NP.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/nl.lproj/Localizable.strings b/Session/Meta/Translations/nl.lproj/Localizable.strings index dc9efc54d..38441e5fe 100644 --- a/Session/Meta/Translations/nl.lproj/Localizable.strings +++ b/Session/Meta/Translations/nl.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/no.lproj/Localizable.strings b/Session/Meta/Translations/no.lproj/Localizable.strings index 91f60cb7f..b66529461 100644 --- a/Session/Meta/Translations/no.lproj/Localizable.strings +++ b/Session/Meta/Translations/no.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/pl.lproj/Localizable.strings b/Session/Meta/Translations/pl.lproj/Localizable.strings index 0bb699b83..db2682ded 100644 --- a/Session/Meta/Translations/pl.lproj/Localizable.strings +++ b/Session/Meta/Translations/pl.lproj/Localizable.strings @@ -1100,6 +1100,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/pt-BR.lproj/Localizable.strings b/Session/Meta/Translations/pt-BR.lproj/Localizable.strings index e1feda689..dd6a2ed04 100644 --- a/Session/Meta/Translations/pt-BR.lproj/Localizable.strings +++ b/Session/Meta/Translations/pt-BR.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/pt-PT.lproj/Localizable.strings b/Session/Meta/Translations/pt-PT.lproj/Localizable.strings index 1bb8d5184..4fa0d429e 100644 --- a/Session/Meta/Translations/pt-PT.lproj/Localizable.strings +++ b/Session/Meta/Translations/pt-PT.lproj/Localizable.strings @@ -1105,6 +1105,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/ro.lproj/Localizable.strings b/Session/Meta/Translations/ro.lproj/Localizable.strings index 813057bcf..bd92002b3 100644 --- a/Session/Meta/Translations/ro.lproj/Localizable.strings +++ b/Session/Meta/Translations/ro.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/ru.lproj/Localizable.strings b/Session/Meta/Translations/ru.lproj/Localizable.strings index 29998f69f..c2705035e 100644 --- a/Session/Meta/Translations/ru.lproj/Localizable.strings +++ b/Session/Meta/Translations/ru.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/si-LK.lproj/Localizable.strings b/Session/Meta/Translations/si-LK.lproj/Localizable.strings index af9b27f14..a7a274ef9 100644 --- a/Session/Meta/Translations/si-LK.lproj/Localizable.strings +++ b/Session/Meta/Translations/si-LK.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/sk.lproj/Localizable.strings b/Session/Meta/Translations/sk.lproj/Localizable.strings index cd07efcaa..7fa70fdad 100644 --- a/Session/Meta/Translations/sk.lproj/Localizable.strings +++ b/Session/Meta/Translations/sk.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/sl.lproj/Localizable.strings b/Session/Meta/Translations/sl.lproj/Localizable.strings index 0dcecf222..9323df3de 100644 --- a/Session/Meta/Translations/sl.lproj/Localizable.strings +++ b/Session/Meta/Translations/sl.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/sv-SE.lproj/Localizable.strings b/Session/Meta/Translations/sv-SE.lproj/Localizable.strings index d3745a188..8491a0fb8 100644 --- a/Session/Meta/Translations/sv-SE.lproj/Localizable.strings +++ b/Session/Meta/Translations/sv-SE.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/th.lproj/Localizable.strings b/Session/Meta/Translations/th.lproj/Localizable.strings index 54565ea70..d6b26738f 100644 --- a/Session/Meta/Translations/th.lproj/Localizable.strings +++ b/Session/Meta/Translations/th.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/tr.lproj/Localizable.strings b/Session/Meta/Translations/tr.lproj/Localizable.strings index 09c533ff1..574234299 100644 --- a/Session/Meta/Translations/tr.lproj/Localizable.strings +++ b/Session/Meta/Translations/tr.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/uk.lproj/Localizable.strings b/Session/Meta/Translations/uk.lproj/Localizable.strings index 1452ce1d2..7427da0bc 100644 --- a/Session/Meta/Translations/uk.lproj/Localizable.strings +++ b/Session/Meta/Translations/uk.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/vi.lproj/Localizable.strings b/Session/Meta/Translations/vi.lproj/Localizable.strings index 58f272fe9..202785dfd 100644 --- a/Session/Meta/Translations/vi.lproj/Localizable.strings +++ b/Session/Meta/Translations/vi.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/zh-CN.lproj/Localizable.strings b/Session/Meta/Translations/zh-CN.lproj/Localizable.strings index f667db3e0..072c303a5 100644 --- a/Session/Meta/Translations/zh-CN.lproj/Localizable.strings +++ b/Session/Meta/Translations/zh-CN.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Meta/Translations/zh-TW.lproj/Localizable.strings b/Session/Meta/Translations/zh-TW.lproj/Localizable.strings index b3dd26b5e..c42c712a3 100644 --- a/Session/Meta/Translations/zh-TW.lproj/Localizable.strings +++ b/Session/Meta/Translations/zh-TW.lproj/Localizable.strings @@ -1099,6 +1099,7 @@ The point that a message will disappear in a disappearing message update message "qrView" = "View QR"; "recoveryPasswordView" = "View Password"; "yes" = "Yes"; +"qrNotRecoveryPassword" = "This QR code does not contain a Recovery Password"; //Settings "view" = "View"; diff --git a/Session/Onboarding/LoadAccountScreen.swift b/Session/Onboarding/LoadAccountScreen.swift index 2225bc360..d696e017d 100644 --- a/Session/Onboarding/LoadAccountScreen.swift +++ b/Session/Onboarding/LoadAccountScreen.swift @@ -50,9 +50,9 @@ struct LoadAccountScreen: View { } } - private func continueWithSeed(seed: Data, onError: (() -> ())?) { + private func continueWithSeed(seed: Data, from source: Onboarding.SeedSource, onError: (() -> ())?) { if (seed.count != 16) { - errorString = "recoveryPasswordErrorMessageGeneric".localized() + errorString = source.genericErrorMessage DispatchQueue.main.asyncAfter(deadline: .now() + 1) { onError?() } @@ -75,7 +75,7 @@ struct LoadAccountScreen: View { func continueWithhexEncodedSeed(onError: (() -> ())?) { let seed = Data(hex: hexEncodedSeed) - continueWithSeed(seed: seed, onError: onError) + continueWithSeed(seed: seed, from: .qrCode, onError: onError) } func continueWithMnemonic() { @@ -85,21 +85,14 @@ struct LoadAccountScreen: View { hexEncodedSeed = try Mnemonic.decode(mnemonic: mnemonic) } catch { if let decodingError = error as? Mnemonic.DecodingError { - switch decodingError { - case .inputTooShort: - errorString = "recoveryPasswordErrorMessageShort".localized() - case .invalidWord: - errorString = "recoveryPasswordErrorMessageIncorrect".localized() - default: - errorString = "recoveryPasswordErrorMessageGeneric".localized() - } + errorString = decodingError.errorDescription } else { errorString = "recoveryPasswordErrorMessageGeneric".localized() } return } let seed = Data(hex: hexEncodedSeed) - continueWithSeed(seed: seed, onError: nil) + continueWithSeed(seed: seed, from: .mnemonic, onError: nil) } } diff --git a/Session/Onboarding/Onboarding.swift b/Session/Onboarding/Onboarding.swift index 441ffb36b..b6c71363b 100644 --- a/Session/Onboarding/Onboarding.swift +++ b/Session/Onboarding/Onboarding.swift @@ -58,6 +58,20 @@ enum Onboarding { .eraseToAnyPublisher() } + enum SeedSource { + case qrCode + case mnemonic + + var genericErrorMessage: String { + switch self { + case .qrCode: + "qrNotRecoveryPassword".localized() + case .mnemonic: + "recoveryPasswordErrorMessageGeneric".localized() + } + } + } + enum State: CustomStringConvertible { case newUser case missingName diff --git a/SessionUtilitiesKit/Crypto/Mnemonic.swift b/SessionUtilitiesKit/Crypto/Mnemonic.swift index a9dbcfd0c..53bc31069 100644 --- a/SessionUtilitiesKit/Crypto/Mnemonic.swift +++ b/SessionUtilitiesKit/Crypto/Mnemonic.swift @@ -68,13 +68,14 @@ public enum Mnemonic { public enum DecodingError : LocalizedError { case generic, inputTooShort, missingLastWord, invalidWord, verificationFailed - public var errorDescription: String? { + public var errorDescription: String { switch self { - case .generic: return "RECOVERY_PHASE_ERROR_GENERIC".localized() - case .inputTooShort: return "RECOVERY_PHASE_ERROR_LENGTH".localized() - case .missingLastWord: return "RECOVERY_PHASE_ERROR_LAST_WORD".localized() - case .invalidWord: return "RECOVERY_PHASE_ERROR_INVALID_WORD".localized() - case .verificationFailed: return "RECOVERY_PHASE_ERROR_FAILED".localized() + case .inputTooShort: + return "recoveryPasswordErrorMessageShort".localized() + case .invalidWord: + return "recoveryPasswordErrorMessageIncorrect".localized() + default: + return "recoveryPasswordErrorMessageGeneric".localized() } } }