summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-11-06 12:21:52 +0100
committerJulien Nabet <serval2412@yahoo.fr>2020-11-06 18:39:55 +0100
commitb2576a43d24434951cb81a2dad1db6236637b1eb (patch)
tree838a778d9d78600027eca2682092e76ae626ffb1 /wizards
parent45663079407ddf8ec4fd1e070e63571132b92f65 (diff)
Fix typos
Change-Id: Ibed7535391d5e0c23530b47a232a95f0ad15ee53 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105401 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'wizards')
-rw-r--r--wizards/source/scriptforge/SF_UI.xba6
-rw-r--r--wizards/source/scriptforge/SF_Utils.xba10
-rw-r--r--wizards/source/scriptforge/_CodingConventions.xba2
-rw-r--r--wizards/source/scriptforge/_ModuleModel.xba2
-rw-r--r--wizards/source/scriptforge/po/ScriptForge.pot2
-rw-r--r--wizards/source/sfdatabases/SF_Database.xba4
6 files changed, 13 insertions, 13 deletions
diff --git a/wizards/source/scriptforge/SF_UI.xba b/wizards/source/scriptforge/SF_UI.xba
index 5cbd6b8aae1f..ca6bf79e40ab 100644
--- a/wizards/source/scriptforge/SF_UI.xba
+++ b/wizards/source/scriptforge/SF_UI.xba
@@ -79,7 +79,7 @@ Const cstMACROEXECNORMAL = 0 &apos; Default, execution depends on user configu
Const cstMACROEXECNEVER = 1 &apos; Macros are not executed
Const cstMACROEXECALWAYS = 2 &apos; Macros are always executed
-REM ===================================================== CONSTRUCTOR/DESCTRUCTOR
+REM ===================================================== CONSTRUCTOR/DESTRUCTOR
REM -----------------------------------------------------------------------------
Public Function Dispose() As Variant
@@ -208,7 +208,7 @@ Public Function CreateBaseDocument(Optional ByVal FileName As Variant _
&apos;&apos;&apos; Create a new LibreOffice Base document embedding an empty database of the given type
&apos;&apos;&apos; Args:
&apos;&apos;&apos; FileName: Identifies the file to create. It must follow the SF_FileSystem.FileNaming notation
-&apos;&apos;&apos; If the file altready exists, it is overwritten without warning
+&apos;&apos;&apos; If the file already exists, it is overwritten without warning
&apos;&apos;&apos; EmbeddedDatabase: either &quot;HSQLDB&quot; (default) or &quot;FIREBIRD&quot;
&apos;&apos;&apos; RegistrationName: the name used to store the new database in the databases register
&apos;&apos;&apos; If &quot;&quot; (default), no registration takes place
@@ -1172,4 +1172,4 @@ Private Function _Repr() As String
End Function &apos; ScriptForge.SF_UI._Repr
REM ============================================ END OF SCRIPTFORGE.SF_UI
-</script:module> \ No newline at end of file
+</script:module>
diff --git a/wizards/source/scriptforge/SF_Utils.xba b/wizards/source/scriptforge/SF_Utils.xba
index eed61f074e53..f24d5825f53e 100644
--- a/wizards/source/scriptforge/SF_Utils.xba
+++ b/wizards/source/scriptforge/SF_Utils.xba
@@ -211,7 +211,7 @@ Public Sub _ExportScriptForgePOTFile(ByVal FileName As String)
&apos;&apos;&apos; Export the ScriptForge POT file related to its own user interface
&apos;&apos;&apos; Should be called only before issuing new ScriptForge releases only
&apos;&apos;&apos; Args:
-&apos;&apos;&apos; FileName: the resulting file. It it exists, it is overwritten without warning
+&apos;&apos;&apos; FileName: the resulting file. If it exists, is overwritten without warning
Dim sHeader As String &apos; The specific header to insert
@@ -239,7 +239,7 @@ Public Function _GetPropertyValue(ByRef pvArgs As Variant, ByVal psName As Strin
&apos;&apos;&apos; Args
&apos;&apos;&apos; pvArgs: a zero_based array of PropertyValues
&apos;&apos;&apos; psName: the comparison is not case-sensitive
-&apos;&apos;&apos; Retuns:
+&apos;&apos;&apos; Returns:
&apos;&apos;&apos; Zero-length string if not found
Dim vValue As Variant &apos; Return value
@@ -606,7 +606,7 @@ End Sub &apos; ScriptForge.SF_Utils._SetPropertyValue
REM -----------------------------------------------------------------------------
Private Function _TypeNames(Optional ByVal pvArgs As Variant) As String
-&apos;&apos;&apos; Converts the array of VarTypes to a comma-sepatrated list of TypeNames
+&apos;&apos;&apos; Converts the array of VarTypes to a comma-separated list of TypeNames
Dim sTypes As String &apos; Return value
Dim sType As String &apos; A single type
@@ -911,7 +911,7 @@ Try:
End Select
End With
End If
- &apos; Chech wildcards are only present in last component
+ &apos; Check that wildcards are only present in last component
If bValid And pbWildCards Then
sFile = SF_FileSystem.GetParentFolderName(pvArgument)
bValid = ( InStr(sFile, &quot;*&quot;) + InStr(sFile, &quot;?&quot;) + InStr(sFile,&quot;%3F&quot;) = 0 ) &apos; ConvertToUrl replaces ? by %3F
@@ -964,4 +964,4 @@ Dim iType As Integer &apos; VarType of argument
End Function &apos; ScriptForge.SF_Utils._VarTypeExt
REM ================================================= END OF SCRIPTFORGE.SF_UTILS
-</script:module> \ No newline at end of file
+</script:module>
diff --git a/wizards/source/scriptforge/_CodingConventions.xba b/wizards/source/scriptforge/_CodingConventions.xba
index b0443e0a1efa..71fb42c77201 100644
--- a/wizards/source/scriptforge/_CodingConventions.xba
+++ b/wizards/source/scriptforge/_CodingConventions.xba
@@ -46,7 +46,7 @@ REM ============================================================================
&apos;&apos;&apos;
&apos; Variable declarations
&apos; =====================
-&apos; * Variable names use only alpha characters, the undercore and digits (no accented characters).
+&apos; * Variable names use only alpha characters, the underscore and digits (no accented characters).
&apos; Exceptionally, names of private variables may be embraced with `[` and `]` if `Option Compatible` is present.
&apos; * The Global, Dim and Const statements always start in the first column of the line.
&apos; * The type (*Dim ... As ...*, *Function ... As ...*) is always declared explicitly, even if the type is Variant.
diff --git a/wizards/source/scriptforge/_ModuleModel.xba b/wizards/source/scriptforge/_ModuleModel.xba
index 30f1aa8f170d..135eced58af1 100644
--- a/wizards/source/scriptforge/_ModuleModel.xba
+++ b/wizards/source/scriptforge/_ModuleModel.xba
@@ -144,7 +144,7 @@ Check:
&apos; _EnterFunction returns True when current method is invoked from a user script
If SF_Utils._EnterFunction(cstThisSub, cstSubArgs) Then
&apos; Check Arg1 is a string and Arg2 is a number.
- &apos; Validation rules for scalars and arrays are desribed in SF_Utils
+ &apos; Validation rules for scalars and arrays are described in SF_Utils
If Not SF_Utils._Validate(Arg1, &quot;Arg1&quot;, V_STRING) Then GoTo Finally
If Not SF_Utils._Validate(Arg2, &quot;Arg2&quot;, V_NUMERIC) Then GoTo Finally
&apos; Fatal error ?
diff --git a/wizards/source/scriptforge/po/ScriptForge.pot b/wizards/source/scriptforge/po/ScriptForge.pot
index f75185bb9da2..0741eff67d62 100644
--- a/wizards/source/scriptforge/po/ScriptForge.pot
+++ b/wizards/source/scriptforge/po/ScriptForge.pot
@@ -788,7 +788,7 @@ msgid ""
"The '%1' method must not be executed in this context."
msgstr ""
-#. SF_Database cannot interprete SQL statement
+#. SF_Database can't interpret SQL statement
#. %1: The statement
#, kde-format
msgctxt "SQLSYNTAX"
diff --git a/wizards/source/sfdatabases/SF_Database.xba b/wizards/source/sfdatabases/SF_Database.xba
index ec20d6118326..0c39c5742adf 100644
--- a/wizards/source/sfdatabases/SF_Database.xba
+++ b/wizards/source/sfdatabases/SF_Database.xba
@@ -67,7 +67,7 @@ Private _MetaData As Object &apos; com.sun.star.sdbc.XDatabaseMetaData
REM ============================================================ MODULE CONSTANTS
-REM ===================================================== CONSTRUCTOR/DESCTRUCTOR
+REM ===================================================== CONSTRUCTOR/DESTRUCTOR
REM -----------------------------------------------------------------------------
Private Sub Class_Initialize()
@@ -609,7 +609,7 @@ Private Function _ExecuteSql(ByVal psSql As String _
, ByVal pbDirect As Boolean _
) As Variant
&apos;&apos;&apos; Return a read-only Resultset based on a SELECT SQL statement or execute the given action SQL (INSERT, CREATE TABLE, ...)
-&apos;&apos;&apos; The method raises a fatal error when the SQL statement cannot be interpredted
+&apos;&apos;&apos; The method raises a fatal error when the SQL statement cannot be interpreted
&apos;&apos;&apos; Args:
&apos;&apos;&apos; psSql : the SQL statement. Square brackets are replaced by the correct field surrounding character
&apos;&apos;&apos; pbDirect: when True, no syntax conversion is done by LO. Default = False