From 32d2b31b39929b5899126f2a36919ceef8b7f809 Mon Sep 17 00:00:00 2001 From: Rafael Lima Date: Wed, 24 Mar 2021 20:02:13 +0100 Subject: Fix a few more localization issues in SF Help pages Change-Id: Iaf2b2c528d42a2d6f6d7ec55c1836c2d5a2c7ca4 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112967 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- source/text/sbasic/shared/03/sf_dialogcontrol.xhp | 26 +++++++++++------------ source/text/sbasic/shared/03/sf_filesystem.xhp | 6 +++--- source/text/sbasic/shared/03/sf_l10n.xhp | 10 ++++----- 3 files changed, 21 insertions(+), 21 deletions(-) (limited to 'source') diff --git a/source/text/sbasic/shared/03/sf_dialogcontrol.xhp b/source/text/sbasic/shared/03/sf_dialogcontrol.xhp index 008b89a6a8..19c8e39b89 100644 --- a/source/text/sbasic/shared/03/sf_dialogcontrol.xhp +++ b/source/text/sbasic/shared/03/sf_dialogcontrol.xhp @@ -120,7 +120,7 @@ TimeField - TreeControl + TreeControl @@ -155,7 +155,7 @@ Boolean - Button + Button Specifies if a command button has or not the behaviour of a Cancel button. @@ -567,7 +567,7 @@ UNO
object
- TreeControl + TreeControl The UNO object representing the tree control data model. Refer to XMutableTreeDataModel in Application Programming Interface (API) documentation for detailed information. @@ -594,7 +594,7 @@ Button - Boolean + Boolean For toggle buttons only @@ -616,7 +616,7 @@ ComboBox - String + String The selected value. The ListIndex property is an alternate option. @@ -638,7 +638,7 @@ DateField - Date + Date @@ -649,7 +649,7 @@ FileControl - String + String A file name formatted in accordance with the FileNaming property of the ScriptForge.FileSystem service @@ -693,7 +693,7 @@ PatternField - String + String @@ -715,7 +715,7 @@ RadioButton - Boolean + Boolean Each button has its own name. They are linked together if their TAB positions are contiguous. If a radiobutton is set to True, the other related buttons are automatically set to False @@ -737,7 +737,7 @@ TextField - String + String The text appearing in the field @@ -748,7 +748,7 @@ TimeField - Date + Date @@ -1083,7 +1083,7 @@ oControl.FindNode(DisplayValue = Empty, DataValue = Empty [, CaseSensitive = False]) As Object

- One argument out of DisplayValueor DataValue must be specified. If both present, one match is sufficient to select the node. + One argument out of DisplayValue or DataValue must be specified. If both present, one match is sufficient to select the node. DisplayValue: The pattern to be matched. See the SF_String.IsLike() method. When equal to the zero-length string (default), this display value is not searched for. DataValue: A string, a numeric value, a date. Use Empty default value when no value applies. CaseSensitive: Default value is False @@ -1129,7 +1129,7 @@ oControl.WriteLine([Line As String]) As Boolean

- Line: The string to insert. Default is an empty line. + Line: The string to insert. Default is an empty line.

Dim oDlg As Object, oControl As Object diff --git a/source/text/sbasic/shared/03/sf_filesystem.xhp b/source/text/sbasic/shared/03/sf_filesystem.xhp index c24f3779f0..e598a32382 100644 --- a/source/text/sbasic/shared/03/sf_filesystem.xhp +++ b/source/text/sbasic/shared/03/sf_filesystem.xhp @@ -573,7 +573,7 @@ Dim filesList As Variant, file As String FSO.FileNaming = "SYS" - filesList = FSO.Files("/home/user/", "*.txt") + filesList = FSO.Files("/home/user/", "*.txt") For Each file In filesList ' ... Next file @@ -796,7 +796,7 @@

Source: It can be a FileName or NamePattern to designate one or more files to be moved. Destination: If Source is a FileName then this parameter indicates the new path and file name of the moved file. - If the move operation involves multiple files, then Destination must be a folder name. If it does not exist, it is created. + If the move operation involves multiple files, then Destination must be a folder name. If it does not exist, it is created. If Source and Destination have the same parent folder, the method will rename the Source. Wildcard characters are not allowed in Destination.

@@ -824,7 +824,7 @@

Source: It can be a FolderName or NamePattern to designate one or more folders to be moved. Destination: If the move operation involves a single folder, then Destination is the name and path of the moved folder and it must not exist. - If multiple folders are being moved, then Destination designates where the folders in Source will be moved into. If Source does not exist, it is created. + If multiple folders are being moved, then Destination designates where the folders in Source will be moved into. If Destination does not exist, it is created. Wildcard characters are not allowed in Destination.

diff --git a/source/text/sbasic/shared/03/sf_l10n.xhp b/source/text/sbasic/shared/03/sf_l10n.xhp index d6e52385ed..2cf76682a4 100644 --- a/source/text/sbasic/shared/03/sf_l10n.xhp +++ b/source/text/sbasic/shared/03/sf_l10n.xhp @@ -72,7 +72,7 @@ The example below specifies the folder containing the PO files. Because the locale is not defined, the service instance will use the current %PRODUCTNAME locale settings. - Set myPO = CreateScriptService("L10N", "C:\myPOFiles\") + Set myPO = CreateScriptService("L10N", "C:\myPOFiles\") In the example below, both the folder name and locale settings are explicitly defined to be Belgian French. @@ -84,7 +84,7 @@ Set myPO = myPO.Dispose() - + L10N service;Folder L10N service;Languages L10N service;Locale @@ -255,16 +255,16 @@

Consider the following code is running on a %PRODUCTNAME installation with locale set to "es-ES". Additionally, there is a file "es-ES.po" inside the specified folder that translates the string passed to the GetText method: - myPO = CreateScriptService("L10N", "c:\MyPOFolder\") + myPO = CreateScriptService("L10N", "c:\MyPOFolder\") myPO.GetText("Welcome %1! Hope you enjoy this program", "John") - ' "¡Bienvenido John! Espero que disfrutes de este programa" + ' "¡Bienvenido John! Espero que disfrutes de este programa"
- Translation of Controls in the Dialog Editor + Translation of Controls in the Dialog Editor
-- cgit