فهرست منبع

Apply suggestions from code review

Co-authored-by: Tobias Hagemann <tobias.hagemann@skymatic.de>
Armin Schrenk 2 سال پیش
والد
کامیت
8087fcecfb
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      src/main/resources/fxml/recoverykey_recover.fxml
  2. 2 2
      src/main/resources/i18n/strings.properties

+ 1 - 1
src/main/resources/fxml/recoverykey_recover.fxml

@@ -33,7 +33,7 @@
 					<FontAwesome5IconView glyph="ANCHOR"/>
 				</graphic>
 			</Label>
-			<Label text="%recoveryKey.recover.validKey" graphicTextGap="6" contentDisplay="LEFT" visible="${(!textarea.text.empty) &amp;&amp; controller.recoveryKeyCorrect}">
+			<Label text="%recoveryKey.recover.correctKey" graphicTextGap="6" contentDisplay="LEFT" visible="${(!textarea.text.empty) &amp;&amp; controller.recoveryKeyCorrect}">
 				<graphic>
 					<FontAwesome5IconView glyph="CHECK"/>
 				</graphic>

+ 2 - 2
src/main/resources/i18n/strings.properties

@@ -447,9 +447,9 @@ recoveryKey.display.StorageHints=Keep it somewhere very secure, e.g.:\n • Stor
 ### Enter Recovery Key
 recoveryKey.recover.title=Reset Password
 recoveryKey.recover.prompt=Enter your recovery key for "%s":
-recoveryKey.recover.validKey=This is the valid recovery key
+recoveryKey.recover.correctKey=This recovery key is correct
 recoveryKey.recover.wrongKey=This recovery key belongs to a different vault
-recoveryKey.recover.invalidKey=This is not a valid recovery key
+recoveryKey.recover.invalidKey=This recovery key is not valid
 recoveryKey.printout.heading=Cryptomator Recovery Key\n"%s"\n
 ### Reset Password
 recoveryKey.recover.resetBtn=Reset