source/text/sbasic/shared/03/sf_base.xhp | 4 +- source/text/sbasic/shared/03/sf_basic.xhp | 54 +++++++++++++++--------------- 2 files changed, 29 insertions(+), 29 deletions(-)
New commits: commit 00086866ecd2de7434f851bc4f5fdc8195b5f262 Author: Rafael Lima <rafael.palma.l...@gmail.com> AuthorDate: Mon Jun 21 20:53:14 2021 +0200 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Thu Jun 24 12:43:11 2021 +0200 Fix localization in SF_Base and SF_Basic Change-Id: Ibcd3826af1a89704bf32db833af63fb0b9564cb1 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/117568 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/source/text/sbasic/shared/03/sf_base.xhp b/source/text/sbasic/shared/03/sf_base.xhp index 338cb5bf6..d435f00d9 100644 --- a/source/text/sbasic/shared/03/sf_base.xhp +++ b/source/text/sbasic/shared/03/sf_base.xhp @@ -259,11 +259,11 @@ <embed href="text/sbasic/shared/00000003.xhp#In_Basic"/> <paragraph role="paragraph" id="par_id251619100191992">Most form documents are stored in the root of the Base document and they can be opened simply using their names, as in the example below:</paragraph> <bascode> - <paragraph role="bascode" id="bas_id461619100283210">oDoc.OpenFormDocument("myFormDocument")</paragraph> + <paragraph role="bascode" localize="false" id="bas_id461619100283210">oDoc.OpenFormDocument("myFormDocument")</paragraph> </bascode> <paragraph role="paragraph" id="par_id351619100327505">If form documents are organized in folders, it becomes necessary to include the folder name to specify the form document to be opened, as illustrated in the following example:</paragraph> <bascode> - <paragraph role="bascode" id="bas_id461619100283712">oDoc.OpenFormDocument("myFolder/myFormDocument")</paragraph> + <paragraph role="bascode" localize="false" id="bas_id461619100283712">oDoc.OpenFormDocument("myFolder/myFormDocument")</paragraph> </bascode> <embed href="text/sbasic/shared/00000003.xhp#In_Python"/> <pycode> diff --git a/source/text/sbasic/shared/03/sf_basic.xhp b/source/text/sbasic/shared/03/sf_basic.xhp index 9171af063..76495dad1 100644 --- a/source/text/sbasic/shared/03/sf_basic.xhp +++ b/source/text/sbasic/shared/03/sf_basic.xhp @@ -47,13 +47,13 @@ </tablerow> <tablerow> <tablecell> - <paragraph id="par_id541619003984227" role="tablecontent">MB_OK, MB_OKCANCEL, MB_RETRYCANCEL, MB_YESNO, MB_YESNOCANCEL</paragraph> + <paragraph id="par_id541619003984227" localize="false" role="tablecontent">MB_OK, MB_OKCANCEL, MB_RETRYCANCEL, MB_YESNO, MB_YESNOCANCEL</paragraph> </tablecell> <tablecell> <paragraph id="par_id21619004009875" role="tablecontent">Yes</paragraph> </tablecell> <tablecell> - <paragraph id="par_id111619004011627" role="tablecontent">integer</paragraph> + <paragraph id="par_id111619004011627" localize="false" role="tablecontent">Integer</paragraph> </tablecell> <tablecell> <paragraph id="par_id791619004012484" role="tablecontent">Values: 0, 1, 5, 4, 3</paragraph> @@ -61,13 +61,13 @@ </tablerow> <tablerow> <tablecell> - <paragraph id="par_id161619003998035" role="tablecontent">MB_ICONEXCLAMATION, MB_ICONINFORMATION, MB_ICONQUESTION, MB_ICONSTOP</paragraph> + <paragraph id="par_id161619003998035" localize="false" role="tablecontent">MB_ICONEXCLAMATION, MB_ICONINFORMATION, MB_ICONQUESTION, MB_ICONSTOP</paragraph> </tablecell> <tablecell> <paragraph id="par_id201619004097755" role="tablecontent">Yes</paragraph> </tablecell> <tablecell> - <paragraph id="par_id981619004098700" role="tablecontent">integer</paragraph> + <paragraph id="par_id981619004098700" localize="false" role="tablecontent">Integer</paragraph> </tablecell> <tablecell> <paragraph id="par_id311619004099683" role="tablecontent">Values: 48, 64, 32, 16<br/></paragraph> @@ -75,13 +75,13 @@ </tablerow> <tablerow> <tablecell> - <paragraph id="par_id831618922991909" role="tablecontent">MB_ABORTRETRYIGNORE, MB_DEFBUTTON1, MB_DEFBUTTON2, MB_DEFBUTTON3</paragraph> + <paragraph id="par_id831618922991909" localize="false" role="tablecontent">MB_ABORTRETRYIGNORE, MB_DEFBUTTON1, MB_DEFBUTTON2, MB_DEFBUTTON3</paragraph> </tablecell> <tablecell> <paragraph id="par_id581618922991909" role="tablecontent">Yes</paragraph> </tablecell> <tablecell> - <paragraph id="par_id161618922991910" role="tablecontent">integer</paragraph> + <paragraph id="par_id161618922991910" localize="false" role="tablecontent">Integer</paragraph> </tablecell> <tablecell> <paragraph id="par_id211618923312141" role="tablecontent">Values: 2, 128, 256, 512</paragraph> @@ -89,13 +89,13 @@ </tablerow> <tablerow> <tablecell> - <paragraph id="par_id471618924470655" role="tablecontent">IDABORT, IDCANCEL, IDIGNORE, IDNO, IDOK, IDRETRY, IDYES</paragraph> + <paragraph id="par_id471618924470655" localize="false" role="tablecontent">IDABORT, IDCANCEL, IDIGNORE, IDNO, IDOK, IDRETRY, IDYES</paragraph> </tablecell> <tablecell> <paragraph id="par_id961618924503848" role="tablecontent">Yes</paragraph> </tablecell> <tablecell> - <paragraph id="par_id571618924505303" role="tablecontent">integer</paragraph> + <paragraph id="par_id571618924505303" localize="false" role="tablecontent">Integer</paragraph> </tablecell> <tablecell> <paragraph id="par_id871618924506654" role="tablecontent">Values: 3, 2, 5, 7, 1, 4, 6<br/>Constants indicating <literal>MsgBox</literal> selected button.</paragraph> @@ -103,7 +103,7 @@ </tablerow> <tablerow> <tablecell> - <paragraph id="par_id421619006246768" role="tablecontent">StarDesktop</paragraph> + <paragraph id="par_id421619006246768" localize="false" role="tablecontent">StarDesktop</paragraph> </tablecell> <tablecell> <paragraph id="par_id731619006254384" role="tablecontent">Yes</paragraph> @@ -281,7 +281,7 @@ <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> <paragraph role="paragraph" id="par_id221618556258876" localize="false"><input>svc.CreateUnoService(servicename: str): uno</input></paragraph> <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> - <paragraph role="paragraph" id="par_id361589200121646"> <emph>servicename</emph> : A fully qualified service name such as "com.sun.star.ui.dialogs.FilePicker" or 'com.sun.star.sheet.FunctionAccess'.</paragraph> + <paragraph role="paragraph" id="par_id361589200121646"><emph>servicename</emph>: A fully qualified service name such as <literal>com.sun.star.ui.dialogs.FilePicker</literal> or <literal>com.sun.star.sheet.FunctionAccess</literal>.</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functexample"/> <pycode> <paragraph role="bascode" localize="false" id="pyc_id891589200121516">dsk = svc.CreateUnoService('com.sun.star.frame.Desktop')</paragraph> @@ -300,10 +300,10 @@ <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> <paragraph role="paragraph" id="par_id581618562143601"> <emph>interval</emph>: A string expression from the following table, specifying the date or time interval.</paragraph> <embed href="text/sbasic/shared/03030110.xhp#datetable"/> - <paragraph role="paragraph" id="par_id281618562144897"> <emph>number</emph>: A numerical expression specifying how often the <literal>interval</literal> value will be added when positive or subtracted when negative.</paragraph> - <paragraph role="paragraph" id="par_id811618561843272"> <emph>date</emph>: A given datetime.datetime value, the <literal>interval</literal> value will be added number times to this date/time value.</paragraph> + <paragraph role="paragraph" id="par_id281618562144897"><emph>number</emph>: A numerical expression specifying how often the <literal>interval</literal> value will be added when positive or subtracted when negative.</paragraph> + <paragraph role="paragraph" id="par_id811618561843272"><emph>date</emph>: A given <literal>datetime.datetime</literal> value, the <literal>interval</literal> value will be added <literal>number</literal> times to this <literal>datetime.datetime</literal> value.</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functvalue"/> - <paragraph role="paragraph" id="par_id181618561778320">A datetime.datetime value.</paragraph> + <paragraph role="paragraph" id="par_id181618561778320">A <literal>datetime.datetime</literal> value.</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functexample"/> <pycode> <paragraph role="pycode" localize="false" id="pyc_id961618558341526">dt = datetime.datetime(2004, 1, 31)</paragraph> @@ -322,8 +322,8 @@ <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> <paragraph role="paragraph" id="par_id441618562866810" localize="false"><input>svc.DateDiff(interval: str, date1: datetime, date2: datetime, firstdayofweek = 1, firstweekofyear = 1): int</input></paragraph> <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> - <paragraph role="paragraph" id="par_id481618563770490"> <emph>interval</emph>: A string expression specifying the date interval, as detailed in above <literal>DateAdd</literal> method.</paragraph> - <paragraph role="paragraph" id="par_id121618563772932"> <emph>date1</emph>, <emph>date2</emph>: The two datetime.datetime values to be compared.</paragraph> + <paragraph role="paragraph" id="par_id481618563770490"><emph>interval</emph>: A string expression specifying the date interval, as detailed in above <literal>DateAdd</literal> method.</paragraph> + <paragraph role="paragraph" id="par_id121618563772932"><emph>date1</emph>, <emph>date2</emph>: The two <literal>datetime.datetime</literal> values to be compared.</paragraph> <embed href="text/sbasic/shared/03030120.xhp#weekyear"/> <embed href="text/sbasic/shared/00000003.xhp#functvalue"/> <paragraph role="paragraph" id="par_id121618563454738">A number.</paragraph> @@ -342,13 +342,13 @@ <bookmark_value>Basic service;DatePart</bookmark_value> </bookmark> <h2 id="hd_id3615892029256" localize="false">DatePart</h2> - <paragraph role="paragraph" id="par_id81589202925519">The DatePart function returns a specified part of a date.</paragraph> + <paragraph role="paragraph" id="par_id81589202925519">The <literal>DatePart</literal> function returns a specified part of a date.</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> <paragraph role="paragraph" localize="false" id="par_id761618670376341"><input>svc.DatePart(interval: str, date: datetime, firstdayofweek = 1, firstweekofyear = 1): int</input></paragraph> <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> - <paragraph role="paragraph" id="par_id761618672192231"> <emph>interval</emph>: A string expression specifying the date interval, as detailed in above <literal>DateAdd</literal> method.</paragraph> - <paragraph role="paragraph" id="par_id61618672313838"> <emph>date</emph>: The date/time from which the result is calculated.</paragraph> - <paragraph role="paragraph" id="par_id511619445271897"> <emph>firstdayofweek, firstweekofyear</emph>: optional parameters that respectively specify the starting day of a week and the starting week of a year, as detailed in above <literal>DateDiff</literal> method.</paragraph> + <paragraph role="paragraph" id="par_id761618672192231"><emph>interval</emph>: A string expression specifying the date interval, as detailed in above <literal>DateAdd</literal> method.</paragraph> + <paragraph role="paragraph" id="par_id61618672313838"><emph>date</emph>: The date/time from which the result is calculated.</paragraph> + <paragraph role="paragraph" id="par_id511619445271897"><emph>firstdayofweek, firstweekofyear</emph>: optional parameters that respectively specify the starting day of a week and the starting week of a year, as detailed in above <literal>DateDiff</literal> method.</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functvalue"/> <paragraph role="paragraph" id="par_id791618672371743">The extracted part for the given date/time.</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functexample"/> @@ -464,10 +464,10 @@ <paragraph role="paragraph" id="par_id901667188405855" localize="false"><input>svc.GetSystemTicks(): int</input></paragraph> <embed href="text/sbasic/shared/00000003.xhp#functexample"/> <pycode> - <paragraph role="pycode" id="pyc_id251619448108905">ticks_ini = svc.GetSystemTicks()</paragraph> - <paragraph role="pycode" id="pyc_id181619448111210">time.sleep(1)</paragraph> - <paragraph role="pycode" id="pyc_id301619448111744">ticks_end = svc.GetSystemTicks()</paragraph> - <paragraph role="pycode" id="pyc_id651619448112320">svc.MsgBox("{} - {} = {}".format(ticks_end, ticks_ini,ticks_end - ticks_ini))</paragraph> + <paragraph role="pycode" localize="false" id="pyc_id251619448108905">ticks_ini = svc.GetSystemTicks()</paragraph> + <paragraph role="pycode" localize="false" id="pyc_id181619448111210">time.sleep(1)</paragraph> + <paragraph role="pycode" localize="false" id="pyc_id301619448111744">ticks_end = svc.GetSystemTicks()</paragraph> + <paragraph role="pycode" localize="false" id="pyc_id651619448112320">svc.MsgBox("{} - {} = {}".format(ticks_end, ticks_ini,ticks_end - ticks_ini))</paragraph> </pycode> </section> @@ -528,7 +528,7 @@ <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> <embed href="text/sbasic/shared/03010201.xhp#parameters"/> <embed href="text/sbasic/shared/00000003.xhp#functvalue"/> - <paragraph role="paragraph" id="par_id21619008398677">string</paragraph> + <paragraph role="paragraph" localize="false" id="par_id21619008398677">String</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functexample"/> <section id="ui"> <pycode> @@ -579,11 +579,11 @@ <h2 id="hd_id871618907784332" localize="false">RGB</h2> <paragraph role="paragraph" id="par_id621619448293385">Returns an integer color value consisting of red, green, and blue components.</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> - <paragraph role="paragraph" id="par_id201619096429785"><input>svc.RGB(red:int, green: int, blue: int): int</input></paragraph> + <paragraph role="paragraph" localize="false" id="par_id201619096429785"><input>svc.RGB(red:int, green: int, blue: int): int</input></paragraph> <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> <embed href="text/sbasic/shared/03010305.xhp#parameters"/> <embed href="text/sbasic/shared/00000003.xhp#functvalue"/> - <paragraph role="paragraph" id="par_id381619096830033">integer</paragraph> + <paragraph role="paragraph" localize="false" id="par_id381619096830033">Integer</paragraph> <paragraph role="paragraph" id="par_id391619096806737"></paragraph> <embed href="text/sbasic/shared/00000003.xhp#functexample"/> <pycode> @@ -641,7 +641,7 @@ <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> <paragraph role="paragraph" id="par_id301619094111856" localize="false"><input>svc.Xray(obj: any)</input></paragraph> <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> - <paragraph role="paragraph" id="par_id21619094660345"> <emph>obj</emph>: A variable or Uno object.</paragraph> + <paragraph role="paragraph" id="par_id21619094660345"><emph>obj</emph>: A variable or UNO object.</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functexample"/> <pycode> <paragraph role="pycode" localize="false" id="pyc_id751619095024401">svc.Xray(svc.StarDesktop)</paragraph> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits