mirror of
https://github.com/cryptomator/cryptomator.git
synced 2024-11-30 15:30:25 +00:00
Apply suggestions from code review
Co-authored-by: Tobias Hagemann <tobias.hagemann@skymatic.de>
This commit is contained in:
parent
f84eef5639
commit
44d19bdefe
@ -75,7 +75,7 @@ public class ReceiveKeyController implements FxController {
|
||||
try {
|
||||
switch (response.statusCode()) {
|
||||
case 200 -> retrievalSucceeded(response);
|
||||
case 402 -> hubLicenseExceeded();
|
||||
case 402 -> licenseExceeded();
|
||||
case 403 -> accessNotGranted();
|
||||
case 404 -> needsDeviceRegistration();
|
||||
default -> throw new IOException("Unexpected response " + response.statusCode());
|
||||
@ -95,7 +95,7 @@ public class ReceiveKeyController implements FxController {
|
||||
}
|
||||
}
|
||||
|
||||
private void hubLicenseExceeded() {
|
||||
private void licenseExceeded() {
|
||||
window.setScene(licenseExceededScene.get());
|
||||
}
|
||||
|
||||
|
@ -154,7 +154,7 @@ 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.
|
||||
### License Exceeded
|
||||
hub.licenseExceeded.message=License exceeded
|
||||
hub.licenseExceeded.description=Cryptomator Hub has more vault users than the license permits. To enable unlock and other management functions again, please contact your hub administrator to upgrade the license or remove users from vaults.
|
||||
hub.licenseExceeded.description=Cryptomator Hub has given access to more users than its license permits. Please contact your Hub admin to upgrade the license or a vault admin to remove users from vaults.
|
||||
|
||||
|
||||
# Lock
|
||||
|
Loading…
Reference in New Issue
Block a user