source/text/sbasic/shared/03/sf_dataset.xhp | 30 ++++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-)
New commits: commit b8c6c19ab2fac10cdade1ae96721422814b19be3 Author: Rafael Lima <rafael.palma.l...@gmail.com> AuthorDate: Thu Jan 11 22:12:05 2024 +0100 Commit: Adolfo Jayme Barrientos <fit...@ubuntu.com> CommitDate: Sat Jan 13 19:42:20 2024 +0100 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 <fit...@ubuntu.com> diff --git a/source/text/sbasic/shared/03/sf_dataset.xhp b/source/text/sbasic/shared/03/sf_dataset.xhp index e63f16e3df..1d55a5dd5a 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>