mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-17 10:11:27 +00:00
added comment to explain code that sets shorteningThreshold to 0
removed unnecessary introduction text
This commit is contained in:
@@ -73,7 +73,7 @@ public class CreateNewVaultExpertSettingsController implements FxController {
|
||||
int intValue = Integer.parseInt(newValue);
|
||||
shorteningThreshold.set(intValue);
|
||||
} catch (NumberFormatException e) {
|
||||
shorteningThreshold.set(0);
|
||||
shorteningThreshold.set(0); //the value is set to 0 to ensure that an invalid value assignment is detected during a NumberFormatException
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -25,15 +25,14 @@
|
||||
</padding>
|
||||
<children>
|
||||
<Region prefHeight="12" VBox.vgrow="NEVER"/>
|
||||
<Label text="%addvaultwizard.new.expertSettings.summary.introduction" wrapText="true"/>
|
||||
<Label fx:id="vaultNameLabel" alignment="CENTER_RIGHT" graphicTextGap="6" wrapText="true">
|
||||
<graphic>
|
||||
<FontAwesome5IconView styleClass="glyph-icon-muted" glyph="PENCIL"/>
|
||||
<FontAwesome5IconView styleClass="glyph-icon-muted" wrappingWidth="12" glyph="PENCIL"/>
|
||||
</graphic>
|
||||
</Label>
|
||||
<Label fx:id="vaultPathLabel" alignment="CENTER_RIGHT" graphicTextGap="6" wrapText="true">
|
||||
<graphic>
|
||||
<FontAwesome5IconView styleClass="glyph-icon-muted" glyph="HDD"/>
|
||||
<FontAwesome5IconView styleClass="glyph-icon-muted" wrappingWidth="12" glyph="HDD"/>
|
||||
</graphic>
|
||||
</Label>
|
||||
<Region prefHeight="12" VBox.vgrow="NEVER"/>
|
||||
|
||||
@@ -59,7 +59,6 @@ addvaultwizard.new.expertSettings.shorteningThreshold.message=Enter a value betw
|
||||
addvaultwizard.new.expertSettings.shorteningThreshold.tooltip=Open the documentation to learn more.
|
||||
addvaultwizard.new.expertSettings.shorteningThreshold.title=Maximum length of encrypted file names
|
||||
addvaultwizard.new.expertSettings.shorteningThreshold.valid=Valid
|
||||
addvaultwizard.new.expertSettings.summary.introduction=This is a quick summary of your vault information
|
||||
addvaultwizard.new.fileAlreadyExists=A file or directory with the vault name already exists
|
||||
addvaultwizard.new.locationDoesNotExist=A directory in the specified path does not exist or cannot be accessed
|
||||
addvaultwizard.new.locationIsNotWritable=No write access at the specified path
|
||||
|
||||
Reference in New Issue
Block a user