summaryrefslogtreecommitdiff
path: root/wizards/source/scriptforge
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/source/scriptforge')
-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
5 files changed, 11 insertions, 11 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 ' Default, execution depends on user configu
Const cstMACROEXECNEVER = 1 ' Macros are not executed
Const cstMACROEXECALWAYS = 2 ' 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 _
''' Create a new LibreOffice Base document embedding an empty database of the given type
''' Args:
''' FileName: Identifies the file to create. It must follow the SF_FileSystem.FileNaming notation
-''' If the file altready exists, it is overwritten without warning
+''' If the file already exists, it is overwritten without warning
''' EmbeddedDatabase: either "HSQLDB" (default) or "FIREBIRD"
''' RegistrationName: the name used to store the new database in the databases register
''' If "" (default), no registration takes place
@@ -1172,4 +1172,4 @@ Private Function _Repr() As String
End Function ' 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"