summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2024-12-19 15:13:53 -0300
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2024-12-19 23:15:51 +0100
commita6a06f82cb02bdf8a66c6a9263ecc2f0ab41d10b (patch)
tree8cc06a03d1ab735ea4329b7dfd782a93e2844e57 /source/text/sbasic/shared
parentae02c3ab71c924e57a32166f57fdfaf89bace1f0 (diff)
Mute L10N when <embedvar> is a singleton in text
+ some refactor Change-Id: I071758f139a7f6e9ab91ca277a420c8283b1eae0 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178833 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit 9bbf0db1682b2cd6b749e0fbd9a72606277cafe5) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178834 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'source/text/sbasic/shared')
-rw-r--r--source/text/sbasic/shared/03/lib_tools.xhp2
-rw-r--r--source/text/sbasic/shared/03030203.xhp2
-rw-r--r--source/text/sbasic/shared/03130700.xhp26
-rw-r--r--source/text/sbasic/shared/vba_objects.xhp4
4 files changed, 17 insertions, 17 deletions
diff --git a/source/text/sbasic/shared/03/lib_tools.xhp b/source/text/sbasic/shared/03/lib_tools.xhp
index 23817da191..80d10abc80 100644
--- a/source/text/sbasic/shared/03/lib_tools.xhp
+++ b/source/text/sbasic/shared/03/lib_tools.xhp
@@ -23,7 +23,7 @@
<section id="howtoget">
<embed href="text/sbasic/shared/00000003.xhp#basiclibhowtoget"/>
</section>
- <note id="par_id901528999850603"><embedvar href="text/sbasic/shared/00000003.xhp#basiclibrarynote" markup="keep"/><br/>
+ <note id="par_id901528999850603" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#basiclibrarynote" markup="keep"/><br/>
<item type="literal">GlobalScope.BasicLibraries.LoadLibrary("Tools")</item></note>
<paragraph role="paragraph" id="par_id161529001339405"><link href="text/sbasic/shared/03/lib_tools.xhp#debug_module"><item type="literal">Debug</item> Module</link></paragraph>
<paragraph role="paragraph" id="par_id41529001348561"><link href="text/sbasic/shared/03/lib_tools.xhp#listbox_module"><item type="literal">ListBox</item> Module</link></paragraph>
diff --git a/source/text/sbasic/shared/03030203.xhp b/source/text/sbasic/shared/03030203.xhp
index d468730c3a..0bbd2ebc22 100644
--- a/source/text/sbasic/shared/03030203.xhp
+++ b/source/text/sbasic/shared/03030203.xhp
@@ -58,7 +58,7 @@
</bascode>
<section id="relatedtopics">
- <paragraph role="paragraph" id="par_id531610970649205"><embedvar href="text/sbasic/shared/03/sf_timer.xhp#TimerService"/></paragraph>
+ <paragraph role="paragraph" id="par_id531610970649205" localize="false"><embedvar href="text/sbasic/shared/03/sf_timer.xhp#TimerService"/></paragraph>
</section>
</body>
diff --git a/source/text/sbasic/shared/03130700.xhp b/source/text/sbasic/shared/03130700.xhp
index 05ad9ba0ad..7f23668f0a 100644
--- a/source/text/sbasic/shared/03130700.xhp
+++ b/source/text/sbasic/shared/03130700.xhp
@@ -20,7 +20,7 @@
<meta>
<topic id="textsbasicshared03130700xml" indexer="include" status="PUBLISH">
- <title id="tit" xml-lang="en-US">GetSystemTicks Function</title>
+ <title id="tit">GetSystemTicks Function</title>
<filename>/text/sbasic/shared/03130700.xhp</filename>
</topic>
</meta>
@@ -28,17 +28,17 @@
<body>
<section id="getsystemticks">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3147143">
+<bookmark branch="index" id="bm_id3147143">
<bookmark_value>GetSystemTicks function</bookmark_value>
</bookmark>
<h1 id="hd_id3147143"><link href="text/sbasic/shared/03130700.xhp">GetSystemTicks Function</link></h1>
-<paragraph id="par_id3153750" role="paragraph" xml-lang="en-US">Returns the number of system ticks provided by the operating system. You can use this function to optimize certain processes.</paragraph>
+<paragraph id="par_id3153750" role="paragraph">Returns the number of system ticks provided by the operating system. You can use this function to optimize certain processes.</paragraph>
</section>
<h2 id="hd_id3153311">Syntax:</h2>
<bascode>
-<paragraph id="par_id3147242" role="bascode" localize="false" xml-lang="en-US">GetSystemTicks()</paragraph>
+<paragraph id="par_id3147242" role="bascode" localize="false">GetSystemTicks()</paragraph>
</bascode>
<h2 id="hd_id3149233">Return value:</h2>
@@ -48,17 +48,17 @@
<h2 id="hd_id3156152">Example:</h2>
<bascode>
-<paragraph id="par_idm1341325552" role="bascode" localize="false" xml-lang="en-US">Sub ExampleWait</paragraph>
-<paragraph id="par_idm1341324320" role="bascode" localize="false" xml-lang="en-US">Dim lTick As Long</paragraph>
-<paragraph id="par_idm1341323088" role="bascode" localize="false" xml-lang="en-US"> lTick = GetSystemTicks()</paragraph>
-<paragraph id="par_idm1341321840" role="bascode" localize="false" xml-lang="en-US"> Wait 2000</paragraph>
-<paragraph id="par_idm1341320608" role="bascode" localize="false" xml-lang="en-US"> lTick = (GetSystemTicks() - lTick)</paragraph>
-<paragraph id="par_id3154938" role="bascode" xml-lang="en-US"> MsgBox "" &amp; lTick &amp; " Ticks" ,0,"The pause lasted"</paragraph>
-<paragraph id="par_idm1340848064" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341325552" role="bascode" localize="false">Sub ExampleWait</paragraph>
+<paragraph id="par_idm1341324320" role="bascode" localize="false">Dim lTick As Long</paragraph>
+<paragraph id="par_idm1341323088" role="bascode" localize="false"> lTick = GetSystemTicks()</paragraph>
+<paragraph id="par_idm1341321840" role="bascode" localize="false"> Wait 2000</paragraph>
+<paragraph id="par_idm1341320608" role="bascode" localize="false"> lTick = (GetSystemTicks() - lTick)</paragraph>
+<paragraph id="par_id3154938" role="bascode"> MsgBox "" &amp; lTick &amp; " Ticks" ,0,"The pause lasted"</paragraph>
+<paragraph id="par_idm1340848064" role="bascode" localize="false">End Sub</paragraph>
</bascode>
-
+
<section id="relatedtopics">
- <paragraph role="paragraph" id="par_id531610970649205"><embedvar href="text/sbasic/shared/03/sf_timer.xhp#TimerService"/></paragraph>
+ <paragraph role="paragraph" id="par_id531610970649205" localize="false"><embedvar href="text/sbasic/shared/03/sf_timer.xhp#TimerService"/></paragraph>
</section>
</body>
diff --git a/source/text/sbasic/shared/vba_objects.xhp b/source/text/sbasic/shared/vba_objects.xhp
index b7895c1f81..de4ac87ad9 100644
--- a/source/text/sbasic/shared/vba_objects.xhp
+++ b/source/text/sbasic/shared/vba_objects.xhp
@@ -137,7 +137,7 @@
<paragraph role="paragraph" id="par_id851710934771480"><emph>Properties</emph></paragraph>
<paragraph role="paragraph" id="par_id591710934772015"><emph>Methods</emph></paragraph>
<list type="unordered">
- <listitem><paragraph id="par_id252719827838738" role="listitem"><embedvar href="text/sbasic/shared/vba_objects.xhp#ExportAsFixedFormat"/></paragraph></listitem>
+ <listitem><paragraph id="par_id252719827838738" role="listitem" localize="false"><embedvar href="text/sbasic/shared/vba_objects.xhp#ExportAsFixedFormat"/></paragraph></listitem>
</list>
</section>
@@ -149,7 +149,7 @@
<paragraph role="paragraph" id="par_id862810934771480"><emph>Properties</emph></paragraph>
<paragraph role="paragraph" id="par_id591721034772015"><emph>Methods</emph></paragraph>
<list type="unordered">
- <listitem><paragraph id="par_id252820927838738" role="listitem"><embedvar href="text/sbasic/shared/vba_objects.xhp#ExportAsFixedFormat"/></paragraph></listitem>
+ <listitem><paragraph id="par_id252820927838738" role="listitem" localize="false"><embedvar href="text/sbasic/shared/vba_objects.xhp#ExportAsFixedFormat"/></paragraph></listitem>
</list></section>
<comment> MSOffice Powerpoint ---------------------------------------------------------------------------------</comment>