summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Lima <rafael.palma.lima@gmail.com>2024-01-11 22:12:05 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2024-01-13 20:14:14 +0100
commit8a46af6d1523f0092c0a000cce688ec4916b9ef9 (patch)
tree024bc294be26c63078f33aa974e0e7960645992e
parent4a851d785063f7286f134810ef87ee5e945a3ba7 (diff)
Silence strings for translation in sf_dataset.xhp
Change-Id: I62754d87b3feef4b54f7de43ec041c20c9ad07b2 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161940 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> (cherry picked from commit e464f139740062a8da409d74c2942205dbe99aa0) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161999
-rw-r--r--source/text/sbasic/shared/03/sf_dataset.xhp30
1 files changed, 15 insertions, 15 deletions
diff --git a/source/text/sbasic/shared/03/sf_dataset.xhp b/source/text/sbasic/shared/03/sf_dataset.xhp
index 47158a535e..8f3d509b0e 100644
--- a/source/text/sbasic/shared/03/sf_dataset.xhp
+++ b/source/text/sbasic/shared/03/sf_dataset.xhp
@@ -515,11 +515,11 @@
<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<embed href="text/sbasic/shared/00000003.xhp#In_Basic"/>
<bascode>
- <paragraph role="bascode" id="bas_id191701180036057">currId = oDataset.GetValue(FieldName := "ID")</paragraph>
+ <paragraph role="bascode" localize="false" id="bas_id191701180036057">currId = oDataset.GetValue(FieldName := "ID")</paragraph>
</bascode>
<embed href="text/sbasic/shared/00000003.xhp#In_Python"/>
<pycode>
- <paragraph role="pycode" id="pyc_id221701180366903">curr_id = dataset.GetValue(fieldname = "ID")</paragraph>
+ <paragraph role="pycode" localize="false" id="pyc_id221701180366903">curr_id = dataset.GetValue(fieldname = "ID")</paragraph>
</pycode>
</section>
@@ -559,7 +559,7 @@
<pycode>
<paragraph role="pycode" id="pyc_id401701260819750">dataset = database.CreateDataset("Customers")</paragraph>
<paragraph role="pycode" id="pyc_id181701260820135">new_data = {"Name": "John", "Age": 30, "City": "Chicago"}</paragraph>
- <paragraph role="pycode" id="pyc_id651701260820486">new_id = dataset.Insert(new_data)</paragraph>
+ <paragraph role="pycode" localize="false" id="pyc_id651701260820486">new_id = dataset.Insert(new_data)</paragraph>
</pycode>
<paragraph role="paragraph" id="par_id971701261086678">The following calls are accepted in Python:</paragraph>
<pycode>
@@ -588,11 +588,11 @@
<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<embed href="text/sbasic/shared/00000003.xhp#In_Basic"/>
<bascode>
- <paragraph role="bascode" id="bas_id191701180876057">oDataset.MoveFirst()</paragraph>
+ <paragraph role="bascode" localize="false" id="bas_id191701180876057">oDataset.MoveFirst()</paragraph>
</bascode>
<embed href="text/sbasic/shared/00000003.xhp#In_Python"/>
<pycode>
- <paragraph role="pycode" id="pyc_id221701180096903">dataset.MoveFirst()</paragraph>
+ <paragraph role="pycode" localize="false" id="pyc_id221701180096903">dataset.MoveFirst()</paragraph>
</pycode>
</section>
@@ -618,13 +618,13 @@
<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<embed href="text/sbasic/shared/00000003.xhp#In_Basic"/>
<bascode>
- <paragraph role="bascode" id="bas_id191701180036941">oDataset.MoveNext()</paragraph>
- <paragraph role="bascode" id="bas_id951701262692898">oDataset.MoveNext(5)</paragraph>
+ <paragraph role="bascode" localize="false" id="bas_id191701180036941">oDataset.MoveNext()</paragraph>
+ <paragraph role="bascode" localize="false" id="bas_id951701262692898">oDataset.MoveNext(5)</paragraph>
</bascode>
<embed href="text/sbasic/shared/00000003.xhp#In_Python"/>
<pycode>
- <paragraph role="pycode" id="pyc_id221701180366885">dataset.MoveNext()</paragraph>
- <paragraph role="pycode" id="pyc_id601701262720188">dataset.MoveNext(5)</paragraph>
+ <paragraph role="pycode" localize="false" id="pyc_id221701180366885">dataset.MoveNext()</paragraph>
+ <paragraph role="pycode" localize="false" id="pyc_id601701262720188">dataset.MoveNext(5)</paragraph>
</pycode>
</section>
@@ -647,13 +647,13 @@
<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<embed href="text/sbasic/shared/00000003.xhp#In_Basic"/>
<bascode>
- <paragraph role="bascode" id="bas_id191701180036128">oDataset.Reload()</paragraph>
+ <paragraph role="bascode" localize="false" id="bas_id191701180036128">oDataset.Reload()</paragraph>
<paragraph role="bascode" id="bas_id951701262692252">oDataset.Reload(Filter := "[Name] = 'John'", OrderBy := "Age")</paragraph>
</bascode>
<embed href="text/sbasic/shared/00000003.xhp#In_Python"/>
<pycode>
- <paragraph role="pycode" id="pyc_id221701180367255">dataset.Reload()</paragraph>
- <paragraph role="pycode" id="pyc_id601701262720097">dataset.Reload(Filter = "[Name] = 'John'", OrderBy = "Age"</paragraph>
+ <paragraph role="pycode" localize="false" id="pyc_id221701180367255">dataset.Reload()</paragraph>
+ <paragraph role="pycode" id="pyc_id601701262720097">dataset.Reload(Filter = "[Name] = 'John'", OrderBy = "Age")</paragraph>
</pycode>
</section>
@@ -675,10 +675,10 @@
<embed href="text/sbasic/shared/00000003.xhp#In_Basic"/>
<paragraph role="paragraph" id="par_id791701264626511">The example below updates the current record using a <literal>Dictionary</literal>.</paragraph>
<bascode>
- <paragraph role="bascode" id="bas_id617012650175222">oNewValues = CreateScriptService("Dictionary")</paragraph>
+ <paragraph role="bascode" localize="false" id="bas_id617012650175222">oNewValues = CreateScriptService("Dictionary")</paragraph>
<paragraph role="bascode" id="bas_id511701265017930">oNewValues.Add("Age", 51)</paragraph>
<paragraph role="bascode" id="bas_id491701265018498">oNewValues.Add("City", "New York")</paragraph>
- <paragraph role="bascode" id="bas_id401701265027933">oDataset.Update(oNewValues)</paragraph>
+ <paragraph role="bascode" localize="false" id="bas_id401701265027933">oDataset.Update(oNewValues)</paragraph>
</bascode>
<paragraph role="paragraph" id="par_id221701264980261">The same result can be achieved by passing all pairs of fields and values as arguments:</paragraph>
<bascode>
@@ -687,7 +687,7 @@
<embed href="text/sbasic/shared/00000003.xhp#In_Python"/>
<pycode>
<paragraph role="pycode" id="pyc_id221701180363025">new_values = {"Age": 51, "City": "New York"}</paragraph>
- <paragraph role="pycode" id="pyc_id601701262720082">dataset.Update(new_values)</paragraph>
+ <paragraph role="pycode" localize="false" id="pyc_id601701262720082">dataset.Update(new_values)</paragraph>
</pycode>
<pycode>
<paragraph role="pycode" id="pyc_id761701265203650">dataset.Update("Age", 51, "City", "New York")</paragraph>