summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Horacek <stanislav.horacek@gmail.com>2023-11-28 18:20:05 +0100
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-12-02 12:58:35 +0100
commita1840f2baee7b129990d6c0b218aae1b8d0304d7 (patch)
tree5f07a73f0deb2dec9e6cd968d16697f016ec042c
parenta0058e57883886e2249e4fc2d03e15454f267f4b (diff)
mark untranslatable code and control name in SF Dialog and DialogControl
also fixed typos caused by split paragraph Change-Id: I6c4d3badb30629c4bf58011089b4beeb1438204a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/160051 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
-rw-r--r--source/text/sbasic/shared/03/sf_dialog.xhp22
-rw-r--r--source/text/sbasic/shared/03/sf_dialogcontrol.xhp2
2 files changed, 11 insertions, 13 deletions
diff --git a/source/text/sbasic/shared/03/sf_dialog.xhp b/source/text/sbasic/shared/03/sf_dialog.xhp
index 520e80f60d..37b1f9078d 100644
--- a/source/text/sbasic/shared/03/sf_dialog.xhp
+++ b/source/text/sbasic/shared/03/sf_dialog.xhp
@@ -85,8 +85,7 @@
<paragraph role="pycode" id="pyc_id981688462077340" xml-lang="en-US"> dlg = CreateScriptService('NewDialog', 'myDialog1', (100,200, 40, 110))</paragraph>
<paragraph role="pycode" xml-lang="en-US" id="pyc_id681619620065191"> # ... Process controls and do what is needed</paragraph>
</pycode>
- <paragraph role="paragraph" id="par_id951688460698125">All properties and methods applicable to predefined dialogs are available for such new dialogs. In particular the series of <literal>CreateXXX()</literal> methods for the addition
-of new dialog controls.</paragraph>
+ <paragraph role="paragraph" id="par_id951688460698125">All properties and methods applicable to predefined dialogs are available for such new dialogs. In particular the series of <literal>CreateXXX()</literal> methods for the addition of new dialog controls.</paragraph>
<h2 id="hd_id141670854511382">Retrieving the Dialog instance that triggered a dialog event</h2>
<paragraph role="paragraph" id="par_id951598174966322" xml-lang="en-US">An instance of the <literal>Dialog</literal> service can be retrieved via the <literal>SFDialogs.DialogEvent</literal> service, provided that the dialog was initiated with the <literal>Dialog</literal> service. In the example below, <literal>oDlg</literal> contains the <literal>Dialog</literal> instance that triggered the dialog event.</paragraph>
@@ -579,8 +578,7 @@ of new dialog controls.</paragraph>
<bookmark_value>Dialog service;CloneControl</bookmark_value>
</bookmark>
<h2 id="hd_id95169554125767" localize="false">CloneControl</h2>
- <paragraph role="paragraph" id="par_id161584552357982">Duplicate an existing control of any type
-in the actual dialog. The duplicated control is left unchanged and can be relocated.</paragraph>
+ <paragraph role="paragraph" id="par_id161584552357982">Duplicate an existing control of any type in the actual dialog. The duplicated control is left unchanged and can be relocated.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
<paragraph role="paragraph" localize="false" id="par_id61819625753609"><input>svc.CloneControl(SourceName: str, ControlName: str, Left: num, Top: num): svc</input></paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
@@ -709,11 +707,11 @@ in the actual dialog. The duplicated control is left unchanged and can be reloca
<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<embed href="text/sbasic/shared/00000003.xhp#In_Basic"/>
<bascode>
- <paragraph role="bascode" id="bas_id571688391233995">Set myComboBox = oDlg.CreateComboBox(&quot;ComboBox1&quot;, Array(20, 20, 60, 15), Dropdown := True)</paragraph>
+ <paragraph role="bascode" id="bas_id571688391233995" localize="false">Set myComboBox = oDlg.CreateComboBox(&quot;ComboBox1&quot;, Array(20, 20, 60, 15), Dropdown := True)</paragraph>
</bascode>
<embed href="text/sbasic/shared/00000003.xhp#In_Python"/>
<pycode>
- <paragraph role="pycode" id="pyc_id681688391240490">myComboBox = dlg.CreateComboBox('ComboBox1', (20, 20, 60, 15), Dropdown = True)</paragraph>
+ <paragraph role="pycode" id="pyc_id681688391240490" localize="false">myComboBox = dlg.CreateComboBox('ComboBox1', (20, 20, 60, 15), Dropdown = True)</paragraph>
</pycode>
</section>
@@ -1061,11 +1059,11 @@ in the actual dialog. The duplicated control is left unchanged and can be reloca
<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<embed href="text/sbasic/shared/00000003.xhp#In_Basic"/>
<bascode>
- <paragraph role="bascode" id="bas_id61688393673927">Set myRadioButton = oDlg.CreateRadioButton(&quot;RadioButton1&quot;, Array(20, 20, 60, 15), MultiLine := True)</paragraph>
+ <paragraph role="bascode" id="bas_id61688393673927" localize="false">Set myRadioButton = oDlg.CreateRadioButton(&quot;RadioButton1&quot;, Array(20, 20, 60, 15), MultiLine := True)</paragraph>
</bascode>
<embed href="text/sbasic/shared/00000003.xhp#In_Python"/>
<pycode>
- <paragraph role="pycode" id="pyc_id751688393681262">myRadioButton = dlg.CreateRadioButton('RadioButton1', (20, 20, 60, 15), MultiLine = True)</paragraph>
+ <paragraph role="pycode" id="pyc_id751688393681262" localize="false">myRadioButton = dlg.CreateRadioButton('RadioButton1', (20, 20, 60, 15), MultiLine = True)</paragraph>
</pycode>
</section>
@@ -1187,11 +1185,11 @@ in the actual dialog. The duplicated control is left unchanged and can be reloca
<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<embed href="text/sbasic/shared/00000003.xhp#In_Basic"/>
<bascode>
- <paragraph role="bascode" id="bas_id941688395020850">Set myTreeControl = oDlg.CreateTreeControl(&quot;TreeControl1&quot;, Array(20, 20, 60, 15))</paragraph>
+ <paragraph role="bascode" id="bas_id941688395020850" localize="false">Set myTreeControl = oDlg.CreateTreeControl(&quot;TreeControl1&quot;, Array(20, 20, 60, 15))</paragraph>
</bascode>
<embed href="text/sbasic/shared/00000003.xhp#In_Python"/>
<pycode>
- <paragraph role="pycode" id="pyc_id721688395030169">myTreeControl = dlg.CreateTreeControl('TreeControl1', (20, 20, 60, 15))</paragraph>
+ <paragraph role="pycode" id="pyc_id721688395030169" localize="false">myTreeControl = dlg.CreateTreeControl('TreeControl1', (20, 20, 60, 15))</paragraph>
</pycode>
</section>
@@ -1321,11 +1319,11 @@ in the actual dialog. The duplicated control is left unchanged and can be reloca
<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<embed href="text/sbasic/shared/00000003.xhp#In_Basic"/>
<bascode>
- <paragraph role="bascode" xml-lang="en-US" id="bas_id791620301085031">oDlg.OrderTabs(Array(&quot;myListBox&quot;, &quot;myTextField&quot;, &quot;myNumericField&quot;), Start := 10)</paragraph>
+ <paragraph role="bascode" xml-lang="en-US" id="bas_id791620301085031" localize="false">oDlg.OrderTabs(Array(&quot;myListBox&quot;, &quot;myTextField&quot;, &quot;myNumericField&quot;), Start := 10)</paragraph>
</bascode>
<embed href="text/sbasic/shared/00000003.xhp#In_Python"/>
<pycode>
- <paragraph role="pycode" xml-lang="en-US" id="pyc_id941620303073866">dlg.OrderTabs(('myListBox', 'myTextField', 'myNumericField'), Start = 10)</paragraph>
+ <paragraph role="pycode" xml-lang="en-US" id="pyc_id941620303073866" localize="false">dlg.OrderTabs(('myListBox', 'myTextField', 'myNumericField'), Start = 10)</paragraph>
</pycode>
</section>
diff --git a/source/text/sbasic/shared/03/sf_dialogcontrol.xhp b/source/text/sbasic/shared/03/sf_dialogcontrol.xhp
index 6f4c8ca8b1..95badd3d29 100644
--- a/source/text/sbasic/shared/03/sf_dialogcontrol.xhp
+++ b/source/text/sbasic/shared/03/sf_dialogcontrol.xhp
@@ -523,7 +523,7 @@
<paragraph id="par_id2159851767131" role="tablecontent" localize="false">String</paragraph>
</tablecell>
<tablecell>
- <paragraph role="paragraph" id="par_id481687785271551">Hyperlink</paragraph>
+ <paragraph role="paragraph" id="par_id481687785271551" localize="false">Hyperlink</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id1001598540024252" role="tablecontent" xml-lang="en-US">The URL to open when the control is clicked.</paragraph>