|
@@ -3,18 +3,18 @@
|
|
|
<?import org.cryptomator.ui.controls.FontAwesome5IconView?>
|
|
|
<?import org.cryptomator.ui.controls.FormattedLabel?>
|
|
|
<?import javafx.geometry.Insets?>
|
|
|
+<?import javafx.scene.control.Button?>
|
|
|
<?import javafx.scene.control.Hyperlink?>
|
|
|
<?import javafx.scene.control.Label?>
|
|
|
<?import javafx.scene.control.TextArea?>
|
|
|
+<?import javafx.scene.image.Image?>
|
|
|
+<?import javafx.scene.image.ImageView?>
|
|
|
<?import javafx.scene.layout.HBox?>
|
|
|
+<?import javafx.scene.layout.Region?>
|
|
|
<?import javafx.scene.layout.StackPane?>
|
|
|
<?import javafx.scene.layout.VBox?>
|
|
|
<?import javafx.scene.shape.Circle?>
|
|
|
-<?import javafx.scene.image.ImageView?>
|
|
|
-<?import javafx.scene.image.Image?>
|
|
|
<?import javafx.scene.text.Text?>
|
|
|
-<?import javafx.scene.control.Button?>
|
|
|
-<?import javafx.scene.layout.Region?>
|
|
|
<VBox xmlns:fx="http://javafx.com/fxml"
|
|
|
xmlns="http://javafx.com/javafx"
|
|
|
fx:controller="org.cryptomator.ui.preferences.SupporterCertificateController"
|
|
@@ -25,24 +25,24 @@
|
|
|
<children>
|
|
|
<StackPane VBox.vgrow="NEVER" prefHeight="60" alignment="TOP_CENTER">
|
|
|
<VBox alignment="TOP_CENTER" visible="${controller.licenseHolder.validLicense}">
|
|
|
- <Text styleClass="label-extra-large" text="Thank you for supporting Cryptomator’s open-source development!" wrappingWidth="400" textAlignment="CENTER"/>
|
|
|
+ <Text styleClass="label-extra-large" text="%preferences.contribute.thankYou" wrappingWidth="400" textAlignment="CENTER"/>
|
|
|
<ImageView fitHeight="180">
|
|
|
- <Image url="@../img/supporter_cert_stemp.png"/>
|
|
|
+ <Image url="@../img/supporter_cert_stamp.png"/>
|
|
|
</ImageView>
|
|
|
<FormattedLabel format="%preferences.contribute.registeredFor" arg1="${controller.licenseHolder.licenseSubject}" wrapText="true"/>
|
|
|
<Region minHeight="12"/>
|
|
|
<HBox alignment="BOTTOM_CENTER" spacing="6">
|
|
|
- <Button fx:id="trashButton" onAction="#didClickRemoveCert">
|
|
|
+ <Button onAction="#didClickRemoveCert">
|
|
|
<graphic>
|
|
|
<FontAwesome5IconView glyph="TRASH"/>
|
|
|
</graphic>
|
|
|
</Button>
|
|
|
- <Button text="Donate" minWidth="100" onAction="#showDonate">
|
|
|
+ <Button text="%preferences.contribute.donate" minWidth="100" onAction="#showDonate">
|
|
|
<graphic>
|
|
|
<FontAwesome5IconView glyph="DONATE"/>
|
|
|
</graphic>
|
|
|
</Button>
|
|
|
- <Button text="Sponsors" minWidth="100" onAction="#showSponsors">
|
|
|
+ <Button text="%preferences.contribute.sponsors" minWidth="100" onAction="#showSponsors">
|
|
|
<graphic>
|
|
|
<FontAwesome5IconView glyph="SPONSORS"/>
|
|
|
</graphic>
|
|
@@ -50,14 +50,14 @@
|
|
|
</HBox>
|
|
|
</VBox>
|
|
|
<VBox spacing="12" visible="${!controller.licenseHolder.validLicense}">
|
|
|
- <HBox spacing="12" alignment="CENTER_LEFT" >
|
|
|
- <StackPane alignment="CENTER" HBox.hgrow="NEVER">
|
|
|
+ <HBox spacing="12" alignment="CENTER_LEFT">
|
|
|
+ <StackPane HBox.hgrow="NEVER">
|
|
|
<Circle styleClass="glyph-icon-primary" radius="24"/>
|
|
|
<FontAwesome5IconView styleClass="glyph-icon-white" glyph="HAND_HOLDING_HEART" glyphSize="24"/>
|
|
|
</StackPane>
|
|
|
<VBox HBox.hgrow="ALWAYS" spacing="6">
|
|
|
<Label text="%preferences.contribute.noCertificate" wrapText="true" VBox.vgrow="ALWAYS"/>
|
|
|
- <Hyperlink text="%preferences.contribute.getCertificate" onAction="#getSupporterCertificate" contentDisplay="LEFT">
|
|
|
+ <Hyperlink text="%preferences.contribute.getCertificate" onAction="#getSupporterCertificate">
|
|
|
<graphic>
|
|
|
<FontAwesome5IconView glyph="LINK"/>
|
|
|
</graphic>
|