Skip to content
Permalink
Browse files

L10N - Summary segment display works now

  • Loading branch information...
LadyCailin committed Aug 7, 2019
1 parent b624e3f commit 231c27d899bee42ea87bd05f2a0e34c9e3d8fa12
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>

<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
<Form version="1.5" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
<NonVisualComponents>
<Component class="javax.swing.ButtonGroup" name="summaryEligibleForMachineTranslationButtonGroup">
</Component>
<Menu class="javax.swing.JMenuBar" name="topMenu">
<SubComponents>
<Menu class="javax.swing.JMenu" name="fileMenu">
@@ -281,15 +283,280 @@
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
<Group type="102" alignment="0" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Component id="summaryDataLabel" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="1161" max="32767" attributes="0"/>
</Group>
<Component id="summaryPanel" alignment="0" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
<Group type="102" alignment="0" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Component id="summaryDataLabel" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="summaryPanel" min="-2" max="-2" attributes="0"/>
<EmptySpace max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
</Layout>
<SubComponents>
<Component class="javax.swing.JLabel" name="summaryDataLabel">
<Properties>
<Property name="text" type="java.lang.String" value="Summary Data"/>
</Properties>
</Component>
<Container class="javax.swing.JPanel" name="summaryPanel">
<Properties>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<Border info="org.netbeans.modules.form.compat2.border.LineBorderInfo">
<LineBorder/>
</Border>
</Property>
</Properties>

<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="idLabel" min="-2" max="-2" attributes="0"/>
<Component id="summaryEnglishKeyLabel" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="summaryGlobalCommentLabel" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="summaryWordWrapCheckbox" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="57" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jScrollPane4" max="32767" attributes="0"/>
<Component id="summaryIdField" max="32767" attributes="0"/>
<Component id="summaryGlobalCommentField" alignment="0" max="32767" attributes="0"/>
</Group>
</Group>
<Group type="102" attributes="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<Component id="summaryIsUntraslatable" min="-2" max="-2" attributes="0"/>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Component id="summaryIsSuspectSegment" min="-2" max="-2" attributes="0"/>
</Group>
<Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/>
<Group type="102" alignment="0" attributes="0">
<Component id="summaryMachineTranslatableUncategorizedRadioButton" min="-2" max="-2" attributes="0"/>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Component id="summaryMachineTranslatableYes" min="-2" max="-2" attributes="0"/>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Component id="summaryMachineTranslatableNo" min="-2" max="-2" attributes="0"/>
</Group>
</Group>
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Component id="summaryAppearsOnPagesLabel" min="-2" max="-2" attributes="0"/>
<EmptySpace max="32767" attributes="0"/>
<Component id="jScrollPane5" min="-2" pref="1060" max="-2" attributes="0"/>
</Group>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="idLabel" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="summaryIdField" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jScrollPane4" min="-2" max="-2" attributes="0"/>
<Group type="102" attributes="0">
<Component id="summaryEnglishKeyLabel" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="15" max="-2" attributes="0"/>
<Component id="summaryWordWrapCheckbox" min="-2" max="-2" attributes="0"/>
</Group>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="1" attributes="0">
<Component id="summaryGlobalCommentField" min="-2" max="-2" attributes="0"/>
<Component id="summaryGlobalCommentLabel" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="summaryIsUntraslatable" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="summaryIsSuspectSegment" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="summaryMachineTranslatableUncategorizedRadioButton" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="summaryMachineTranslatableYes" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="summaryMachineTranslatableNo" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="summaryAppearsOnPagesLabel" min="-2" max="-2" attributes="0"/>
<Component id="jScrollPane5" min="-2" pref="54" max="-2" attributes="0"/>
</Group>
<EmptySpace max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
</Layout>
<SubComponents>
<Component class="javax.swing.JLabel" name="idLabel">
<Properties>
<Property name="text" type="java.lang.String" value="ID"/>
</Properties>
</Component>
<Component class="javax.swing.JTextField" name="summaryIdField">
<Properties>
<Property name="editable" type="boolean" value="false"/>
<Property name="toolTipText" type="java.lang.String" value="ID that uniquely distinguishes this string across time and locales"/>
</Properties>
</Component>
<Container class="javax.swing.JScrollPane" name="jScrollPane4">
<AuxValues>
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
</AuxValues>

<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
<SubComponents>
<Component class="javax.swing.JTextArea" name="summaryEnglishKeyField">
<Properties>
<Property name="editable" type="boolean" value="false"/>
<Property name="columns" type="int" value="20"/>
<Property name="lineWrap" type="boolean" value="true"/>
<Property name="rows" type="int" value="5"/>
<Property name="toolTipText" type="java.lang.String" value="Original English word/phrase"/>
<Property name="wrapStyleWord" type="boolean" value="true"/>
</Properties>
</Component>
</SubComponents>
</Container>
<Component class="javax.swing.JLabel" name="summaryEnglishKeyLabel">
<Properties>
<Property name="text" type="java.lang.String" value="English Key"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="summaryGlobalCommentLabel">
<Properties>
<Property name="text" type="java.lang.String" value="Global Comment (English)"/>
</Properties>
</Component>
<Component class="javax.swing.JTextField" name="summaryGlobalCommentField">
<Properties>
<Property name="toolTipText" type="java.lang.String" value="Note about this segment to editors of all locales (English only please)"/>
</Properties>
<Events>
<EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="summaryGlobalCommentFieldKeyReleased"/>
</Events>
</Component>
<Component class="javax.swing.JCheckBox" name="summaryIsUntraslatable">
<Properties>
<Property name="text" type="java.lang.String" value="Is Untranslatable"/>
<Property name="toolTipText" type="java.lang.String" value="If selected, this entire segment is not eligible for translation to any locale, for instance due to it being a technical string"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="summaryIsUntraslatableActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JCheckBox" name="summaryIsSuspectSegment">
<Properties>
<Property name="text" type="java.lang.String" value="Is Suspect Segment"/>
<Property name="toolTipText" type="java.lang.String" value="If there is an error in the original English segment or you don&apos;t think it should be in the database at all."/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="summaryIsSuspectSegmentActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JLabel" name="jLabel1">
<Properties>
<Property name="text" type="java.lang.String" value="Eligible For Machine Translation"/>
</Properties>
</Component>
<Component class="javax.swing.JRadioButton" name="summaryMachineTranslatableUncategorizedRadioButton">
<Properties>
<Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
<ComponentRef name="summaryEligibleForMachineTranslationButtonGroup"/>
</Property>
<Property name="text" type="java.lang.String" value="Uncategorized"/>
<Property name="toolTipText" type="java.lang.String" value="The default state for all segments"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="summaryMachineTranslatableUncategorizedRadioButtonActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JRadioButton" name="summaryMachineTranslatableYes">
<Properties>
<Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
<ComponentRef name="summaryEligibleForMachineTranslationButtonGroup"/>
</Property>
<Property name="text" type="java.lang.String" value="Yes"/>
<Property name="toolTipText" type="java.lang.String" value="In general, a machine translation will probably be correct"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="summaryMachineTranslatableYesActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JRadioButton" name="summaryMachineTranslatableNo">
<Properties>
<Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
<ComponentRef name="summaryEligibleForMachineTranslationButtonGroup"/>
</Property>
<Property name="text" type="java.lang.String" value="No"/>
<Property name="toolTipText" type="java.lang.String" value="There is some text in this segment that shouldn&apos;t be translated, and cannot be automatically translated"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="summaryMachineTranslatableNoActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JLabel" name="summaryAppearsOnPagesLabel">
<Properties>
<Property name="text" type="java.lang.String" value="Appears on Pages"/>
</Properties>
</Component>
<Container class="javax.swing.JScrollPane" name="jScrollPane5">
<AuxValues>
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
</AuxValues>

<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
<SubComponents>
<Component class="javax.swing.JList" name="summaryAppearsOnPagesList">
<Properties>
<Property name="selectionMode" type="int" value="0"/>
<Property name="toolTipText" type="java.lang.String" value="Pages this segment appears on. Double click to select the page in the pages list to see it in context."/>
</Properties>
<Events>
<EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="summaryAppearsOnPagesListMouseClicked"/>
</Events>
<AuxValues>
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="&lt;String&gt;"/>
</AuxValues>
</Component>
</SubComponents>
</Container>
<Component class="javax.swing.JCheckBox" name="summaryWordWrapCheckbox">
<Properties>
<Property name="selected" type="boolean" value="true"/>
<Property name="text" type="java.lang.String" value="Word Wrap"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="summaryWordWrapCheckboxActionPerformed"/>
</Events>
</Component>
</SubComponents>
</Container>
</SubComponents>
</Container>
<Component class="javax.swing.JLabel" name="segmentDetailsLabel">
<Properties>

0 comments on commit 231c27d

Please sign in to comment.
You can’t perform that action at this time.