G-Earth/Extensions/G-Translator_1.0.2/decompiled/extension/translator.fxml
Administrator 368b92d87a G-Earth 1.5.4 beta 22 - Initial release
Komplettes G-Earth Paket inkl. JRE, Extensions und Tools.

Extensions:
- G-BuildTools, G-Click Ultimate, G-Loader, G-Manipulate
- G-Presets, G-Translator, G-Trigger, G-itemViewer
- Market Utils, Packet Info Explorer, Plants
- RandomRoomVisitor, RoomLogger, Sanbovir Photo Inspector
- SpyFriends, WallAligner, XabboScripter, xabbo
2026-03-16 09:45:04 +01:00

93 lines
6.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<TabPane prefHeight="335.0" prefWidth="445.0" tabClosingPolicy="UNAVAILABLE" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="extension.TranslatorExtension">
<tabs>
<Tab text="Translator">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="191.0" prefWidth="478.0">
<children>
<Button fx:id="isActiveBtn" layoutX="53.0" layoutY="145.0" mnemonicParsing="false" onAction="#startStop" prefHeight="28.0" prefWidth="332.0" text="Start" />
<ComboBox fx:id="sourceLang" layoutX="256.0" layoutY="44.0" prefHeight="31.0" prefWidth="127.0" />
<ComboBox fx:id="myLang" layoutX="53.0" layoutY="44.0" prefHeight="31.0" prefWidth="127.0" />
<Label layoutX="59.0" layoutY="24.0" text="Your Language" />
<Label layoutX="265.0" layoutY="24.0" text="Source language" />
</children>
</AnchorPane>
</content>
</Tab>
<Tab text="Options">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
<children>
<Pane layoutX="230.0" layoutY="22.0" prefHeight="125.0" prefWidth="184.0" style="-fx-border-width: 1px; -fx-border-color: #888; -fx-border-radius: 5px;">
<children>
<CheckBox fx:id="showOriginal" layoutX="14.0" layoutY="92.0" mnemonicParsing="false" selected="true" text="Show original" textOverrun="WORD_ELLIPSIS" />
<CheckBox fx:id="translateOutgoing" layoutX="14.0" layoutY="16.0" mnemonicParsing="false" selected="true" text="Translate outgoing" textOverrun="WORD_ELLIPSIS" />
<CheckBox fx:id="translateIncoming" layoutX="14.0" layoutY="42.0" mnemonicParsing="false" selected="true" text="Translate incoming" textOverrun="WORD_ELLIPSIS" />
<CheckBox fx:id="translateWired" layoutX="14.0" layoutY="67.0" mnemonicParsing="false" selected="true" text="Translate wired" textOverrun="WORD_ELLIPSIS" />
<Label layoutX="19.0" layoutY="-9.0" styleClass="themed-background" text="Room chat" />
</children></Pane>
<Pane layoutX="25.0" layoutY="22.0" prefHeight="74.0" prefWidth="184.0" style="-fx-border-width: 1px; -fx-border-color: #888; -fx-border-radius: 5px;">
<children>
<CheckBox fx:id="translateChatOut" layoutX="14.0" layoutY="16.0" mnemonicParsing="false" selected="true" text="Translate outgoing" textOverrun="WORD_ELLIPSIS" />
<CheckBox fx:id="translateChatIn" layoutX="14.0" layoutY="42.0" mnemonicParsing="false" selected="true" text="Translate incoming" textOverrun="WORD_ELLIPSIS" />
<Label layoutX="17.0" layoutY="-9.0" styleClass="themed-background" text="Private chat &amp; invitations" />
</children>
</Pane>
<Pane layoutX="25.0" layoutY="118.0" prefHeight="74.0" prefWidth="184.0" style="-fx-border-width: 1px; -fx-border-color: #888; -fx-border-radius: 5px;">
<children>
<CheckBox fx:id="translateRoomInfo" layoutX="14.0" layoutY="16.0" mnemonicParsing="false" selected="true" text="Translate room info" textOverrun="WORD_ELLIPSIS" />
<CheckBox fx:id="translateNavigator" disable="true" layoutX="14.0" layoutY="42.0" mnemonicParsing="false" text="Translate navigator" textOverrun="WORD_ELLIPSIS" />
<Label layoutX="17.0" layoutY="-9.0" styleClass="themed-background" text="Room info" />
</children>
</Pane>
</children></AnchorPane>
</content>
</Tab>
<Tab text="API">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="300.0" prefWidth="200.0">
<children>
<RadioButton fx:id="rdArgos" layoutX="23.0" layoutY="25.0" mnemonicParsing="false" selected="true" text="Argos Open Tech">
<toggleGroup>
<ToggleGroup fx:id="tglAPI" />
</toggleGroup></RadioButton>
<RadioButton fx:id="rdMicrosoft" layoutX="23.0" layoutY="57.0" mnemonicParsing="false" text="Microsoft Translator" toggleGroup="$tglAPI" />
<RadioButton fx:id="rdVertex" layoutX="23.0" layoutY="89.0" mnemonicParsing="false" text="Google Vertex (Gemini)" toggleGroup="$tglAPI" />
<Pane fx:id="apiMicrosoftInfo" disable="true" layoutX="42.0" layoutY="115.0" prefHeight="72.0" prefWidth="228.0">
<children>
<TextField fx:id="apiMicrosoftKey" layoutX="61.0" layoutY="6.0" />
<Label layoutX="10.0" layoutY="10.0" text="API key:" />
<TextField fx:id="apiMicrosoftRegion" layoutX="61.0" layoutY="40.0" text="global" />
<Label layoutX="10.0" layoutY="44.0" text="Region:" />
</children>
</Pane>
<Pane fx:id="apiVertexInfo" disable="true" layoutX="42.0" layoutY="188.0" prefHeight="104.0" prefWidth="355.0">
<children>
<Label layoutX="10.0" layoutY="10.0" text="API key:" />
<TextField fx:id="apiVertexKey" layoutX="88.0" layoutY="6.0" prefWidth="250.0" />
<Label layoutX="10.0" layoutY="40.0" text="Project:" />
<TextField fx:id="apiVertexProject" layoutX="88.0" layoutY="36.0" prefWidth="250.0" />
<Label layoutX="10.0" layoutY="70.0" text="Location:" />
<TextField fx:id="apiVertexLocation" layoutX="88.0" layoutY="66.0" prefWidth="110.0" text="us-central1" />
<Label layoutX="210.0" layoutY="70.0" text="Model:" />
<TextField fx:id="apiVertexModel" layoutX="255.0" layoutY="66.0" prefWidth="83.0" text="gemini-2.5-pro" />
</children>
</Pane>
<Label layoutX="170.0" layoutY="57.0" text="-&gt; 2M free characters per month, fast" textFill="#000000ad" />
<Label layoutX="170.0" layoutY="25.0" text="-&gt; Doesn't have Finnish &amp; Dutch, free but slow" textFill="#000000ad" />
<Label layoutX="170.0" layoutY="89.0" text="-&gt; Vertex Gemini (paid), configurable" textFill="#000000ad" />
</children></AnchorPane>
</content>
</Tab>
</tabs>
<padding>
<Insets bottom="7.0" />
</padding>
</TabPane>