16737129e0
for LanguageTool Page. Change-Id: Ib1255dd7a67eae7e9c1f2cf6da984ba614f3453a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158931 Tested-by: Jenkins Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
434 lines
19 KiB
XML
434 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!-- Generated with glade 3.40.0 -->
|
||
<interface domain="cui">
|
||
<requires lib="gtk+" version="3.20"/>
|
||
<object class="GtkBox" id="OptLangToolPage">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="hexpand">True</property>
|
||
<property name="vexpand">True</property>
|
||
<property name="border-width">6</property>
|
||
<property name="orientation">vertical</property>
|
||
<property name="spacing">12</property>
|
||
<child>
|
||
<object class="GtkFrame">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="label-xalign">0</property>
|
||
<property name="shadow-type">none</property>
|
||
<child>
|
||
<!-- n-columns=2 n-rows=3 -->
|
||
<object class="GtkGrid" id="grid0">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="margin-start">12</property>
|
||
<property name="margin-top">6</property>
|
||
<property name="row-spacing">6</property>
|
||
<property name="column-spacing">12</property>
|
||
<child>
|
||
<object class="GtkLabel" id="disclaimer">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="halign">start</property>
|
||
<property name="label" translatable="yes" context="langtoolconfigpage|disclaimer">If you enable this, the data will be sent to an external server.</property>
|
||
<property name="wrap">True</property>
|
||
<child internal-child="accessible">
|
||
<object class="AtkObject" id="disclaimer-atkobject">
|
||
<property name="AtkObject::accessible-role">static</property>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">1</property>
|
||
<property name="top-attach">0</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLinkButton" id="policy">
|
||
<property name="label" translatable="yes" context="langtoolconfigpage|policy">Please read the privacy policy</property>
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">True</property>
|
||
<property name="receives-default">True</property>
|
||
<property name="halign">start</property>
|
||
<property name="relief">none</property>
|
||
<property name="uri">https://languagetool.org/legal/privacy</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">1</property>
|
||
<property name="top-attach">1</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkCheckButton" id="activate">
|
||
<property name="label" translatable="yes" context="langtoolconfigpage|activate">Enable LanguageTool</property>
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">True</property>
|
||
<property name="receives-default">False</property>
|
||
<property name="halign">start</property>
|
||
<property name="draw-indicator">True</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">1</property>
|
||
<property name="top-attach">2</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkImage" id="lockactivate">
|
||
<property name="can-focus">False</property>
|
||
<property name="no-show-all">True</property>
|
||
<property name="halign">center</property>
|
||
<property name="valign">center</property>
|
||
<property name="icon-name">res/lock.png</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">0</property>
|
||
<property name="top-attach">2</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<placeholder/>
|
||
</child>
|
||
<child>
|
||
<placeholder/>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<child type="label">
|
||
<object class="GtkLabel" id="langtoolsettings">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="label" translatable="yes" context="langtoolconfigpage|langtoolsettings">LanguageTool API Options</property>
|
||
<attributes>
|
||
<attribute name="style" value="normal"/>
|
||
<attribute name="weight" value="bold"/>
|
||
</attributes>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">0</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkFrame" id="apisettings">
|
||
<property name="can-focus">False</property>
|
||
<property name="label-xalign">0</property>
|
||
<property name="shadow-type">none</property>
|
||
<child>
|
||
<!-- n-columns=3 n-rows=9 -->
|
||
<object class="GtkGrid" id="grid1">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="margin-start">12</property>
|
||
<property name="margin-top">6</property>
|
||
<property name="hexpand">True</property>
|
||
<property name="row-spacing">6</property>
|
||
<property name="column-spacing">12</property>
|
||
<child>
|
||
<object class="GtkLabel" id="base">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="halign">start</property>
|
||
<property name="label" translatable="yes" context="langtoolconfigpage|base">Base URL:</property>
|
||
<property name="use-underline">True</property>
|
||
<property name="mnemonic-widget">baseurl</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">1</property>
|
||
<property name="top-attach">0</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkEntry" id="baseurl">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">True</property>
|
||
<property name="hexpand">True</property>
|
||
<property name="truncate-multiline">True</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">2</property>
|
||
<property name="top-attach">0</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="usernamelbl">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="halign">start</property>
|
||
<property name="label" translatable="yes" context="langtoolconfigpage|usernamelbl">Username:</property>
|
||
<property name="use-underline">True</property>
|
||
<property name="mnemonic-widget">username</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">1</property>
|
||
<property name="top-attach">2</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="apikeylbl">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="halign">start</property>
|
||
<property name="label" translatable="yes" context="langtoolconfigpage|apikeylbl">API key:</property>
|
||
<property name="use-underline">True</property>
|
||
<property name="mnemonic-widget">apikey</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">1</property>
|
||
<property name="top-attach">4</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkEntry" id="username">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">True</property>
|
||
<property name="truncate-multiline">True</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">2</property>
|
||
<property name="top-attach">2</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkEntry" id="apikey">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">True</property>
|
||
<property name="truncate-multiline">True</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">2</property>
|
||
<property name="top-attach">4</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="urldesc">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="halign">start</property>
|
||
<property name="label" translatable="yes" context="langtoolconfigpage|urldesc">Please use the base URL, i.e., without “/check” at the end.</property>
|
||
<attributes>
|
||
<attribute name="scale" value="0.90000000000000002"/>
|
||
</attributes>
|
||
<child internal-child="accessible">
|
||
<object class="AtkObject" id="urldesc-atkobject">
|
||
<property name="AtkObject::accessible-role">static</property>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">2</property>
|
||
<property name="top-attach">1</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="usernamedesc">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="halign">start</property>
|
||
<property name="label" translatable="yes" context="langtoolconfigpage|usernamedesc">Your LanguageTool account’s username for premium usage.</property>
|
||
<attributes>
|
||
<attribute name="scale" value="0.90000000000000002"/>
|
||
</attributes>
|
||
<child internal-child="accessible">
|
||
<object class="AtkObject" id="usernamedesc-atkobject">
|
||
<property name="AtkObject::accessible-role">static</property>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">2</property>
|
||
<property name="top-attach">3</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="apikeydesc">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="halign">start</property>
|
||
<property name="label" translatable="yes" context="langtoolconfigpage|apikeydesc">Your LanguageTool account’s API key for premium usage.</property>
|
||
<attributes>
|
||
<attribute name="scale" value="0.90000000000000002"/>
|
||
</attributes>
|
||
<child internal-child="accessible">
|
||
<object class="AtkObject" id="apikeydesc-atkobject">
|
||
<property name="AtkObject::accessible-role">static</property>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">2</property>
|
||
<property name="top-attach">5</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="restlbl">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="halign">start</property>
|
||
<property name="label" translatable="yes" context="langtoolconfigpage|restlbl">REST protocol:</property>
|
||
<property name="use-underline">True</property>
|
||
<property name="mnemonic-widget">restprotocol</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">1</property>
|
||
<property name="top-attach">6</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkEntry" id="restprotocol">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">True</property>
|
||
<property name="truncate-multiline">True</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">2</property>
|
||
<property name="top-attach">6</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="restdesc">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="halign">start</property>
|
||
<property name="label" translatable="yes" context="langtoolconfigpage|restdesc">Your LanguageTool REST API protocol for usage.</property>
|
||
<attributes>
|
||
<attribute name="scale" value="0.90000000000000002"/>
|
||
</attributes>
|
||
<child internal-child="accessible">
|
||
<object class="AtkObject" id="restdesc-atkobject">
|
||
<property name="AtkObject::accessible-role">static</property>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">2</property>
|
||
<property name="top-attach">7</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkCheckButton" id="verifyssl">
|
||
<property name="label" translatable="yes" context="langtoolconfigpage|verifyssl">Disable SSL certificate verification</property>
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">True</property>
|
||
<property name="receives-default">False</property>
|
||
<property name="halign">start</property>
|
||
<property name="draw-indicator">True</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">1</property>
|
||
<property name="top-attach">8</property>
|
||
<property name="width">2</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkImage" id="lockbaseurl">
|
||
<property name="can-focus">False</property>
|
||
<property name="no-show-all">True</property>
|
||
<property name="halign">center</property>
|
||
<property name="valign">center</property>
|
||
<property name="icon-name">res/lock.png</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">0</property>
|
||
<property name="top-attach">0</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkImage" id="lockusername">
|
||
<property name="can-focus">False</property>
|
||
<property name="no-show-all">True</property>
|
||
<property name="halign">center</property>
|
||
<property name="valign">center</property>
|
||
<property name="icon-name">res/lock.png</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">0</property>
|
||
<property name="top-attach">2</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkImage" id="lockapikey">
|
||
<property name="can-focus">False</property>
|
||
<property name="no-show-all">True</property>
|
||
<property name="halign">center</property>
|
||
<property name="valign">center</property>
|
||
<property name="icon-name">res/lock.png</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">0</property>
|
||
<property name="top-attach">4</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkImage" id="lockrestprotocol">
|
||
<property name="can-focus">False</property>
|
||
<property name="no-show-all">True</property>
|
||
<property name="halign">center</property>
|
||
<property name="valign">center</property>
|
||
<property name="icon-name">res/lock.png</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">0</property>
|
||
<property name="top-attach">6</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkImage" id="lockverifyssl">
|
||
<property name="can-focus">False</property>
|
||
<property name="no-show-all">True</property>
|
||
<property name="halign">center</property>
|
||
<property name="valign">center</property>
|
||
<property name="icon-name">res/lock.png</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">0</property>
|
||
<property name="top-attach">8</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<placeholder/>
|
||
</child>
|
||
<child>
|
||
<placeholder/>
|
||
</child>
|
||
<child>
|
||
<placeholder/>
|
||
</child>
|
||
<child>
|
||
<placeholder/>
|
||
</child>
|
||
<child>
|
||
<placeholder/>
|
||
</child>
|
||
<child>
|
||
<placeholder/>
|
||
</child>
|
||
<child>
|
||
<placeholder/>
|
||
</child>
|
||
<child>
|
||
<placeholder/>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<child type="label">
|
||
<object class="GtkLabel" id="apisettingsheader">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="label" translatable="yes" context="langtoolconfigpage|apisettingsheader">API Settings</property>
|
||
<attributes>
|
||
<attribute name="weight" value="bold"/>
|
||
</attributes>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">1</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
</interface>
|