mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-08-19 13:46:04 +00:00
on 409 repsonse of registerDevice-request, show setupFailed with adjusted message
This commit is contained in:
@@ -57,15 +57,6 @@
|
||||
<TextField fx:id="deviceNameField" HBox.hgrow="ALWAYS"/>
|
||||
</HBox>
|
||||
<HBox alignment="TOP_RIGHT">
|
||||
<Label text="%hub.register.occupiedMsg" textAlignment="RIGHT" alignment="CENTER_RIGHT" visible="${controller.deviceNameAlreadyExists}" managed="${controller.deviceNameAlreadyExists}" graphicTextGap="6">
|
||||
<padding>
|
||||
<Insets top="6"/>
|
||||
</padding>
|
||||
<graphic>
|
||||
<FontAwesome5IconView glyph="TIMES" styleClass="glyph-icon-red"/>
|
||||
</graphic>
|
||||
</Label>
|
||||
|
||||
<Label text="%hub.register.invalidAccountKeyLabel" textAlignment="RIGHT" alignment="CENTER_RIGHT" visible="${controller.invalidSetupCode}" managed="${controller.invalidSetupCode}" graphicTextGap="6">
|
||||
<padding>
|
||||
<Insets top="6"/>
|
||||
|
||||
@@ -38,7 +38,8 @@
|
||||
<Insets bottom="6" top="6"/>
|
||||
</padding>
|
||||
</Label>
|
||||
<Label text="%hub.registerFailed.description" wrapText="true"/>
|
||||
<Label text="%hub.registerFailed.description.generic" wrapText="true" visible="${controller.genericError}" managed="${controller.genericError}"/>
|
||||
<Label text="%hub.registerFailed.description.deviceAlreadyExists" wrapText="true" visible="${controller.deviceAlreadyExisting}" managed="${controller.deviceAlreadyExisting}"/>
|
||||
|
||||
<Region VBox.vgrow="ALWAYS" minHeight="18"/>
|
||||
<ButtonBar buttonMinWidth="120" buttonOrder="+C">
|
||||
|
||||
@@ -158,14 +158,15 @@ hub.register.message=New Device
|
||||
hub.register.description=This is the first Hub access from this device. Please authorize it using your Account Key.
|
||||
hub.register.nameLabel=Device Name
|
||||
hub.register.invalidAccountKeyLabel=Invalid Account Key
|
||||
hub.register.occupiedMsg=Name already in use
|
||||
hub.register.occupiedMsg=Device already registered by another user
|
||||
hub.register.registerBtn=Confirm
|
||||
### Registration Success
|
||||
hub.registerSuccess.message=Device named
|
||||
hub.registerSuccess.description=To access the vault, your device needs to be authorized by the vault owner.
|
||||
### Registration Failed
|
||||
hub.registerFailed.message=Device naming failed
|
||||
hub.registerFailed.description=An error was thrown in the naming process. For more details, look into the application log.
|
||||
hub.registerFailed.description.generic=An error was thrown in the naming process. For more details, look into the application log.
|
||||
hub.registerFailed.description.deviceAlreadyExists=This device is already registered for a different user. Try to change the user account or use a different device.
|
||||
### Unauthorized
|
||||
hub.unauthorized.message=Access denied
|
||||
hub.unauthorized.description=Your device has not yet been authorized to access this vault. Ask the vault owner to authorize it.
|
||||
|
||||
Reference in New Issue
Block a user