diff options
author | Jean-Pierre Ledure <jp@ledure.be> | 2021-03-04 17:19:27 +0100 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2021-03-05 10:26:51 +0100 |
commit | f66a479225b35e9f1fd3621eef7496462088308a (patch) | |
tree | 8499d1565c6f9ac39355e3a36aac84abfd8b2d1e /wizards/source/scriptforge/po/en.po | |
parent | a04dde6b9c6d625ac80acbad1e599dbd8edf3579 (diff) |
ScriptForge - (scriptforge.py) Python-Basic machinery
Python scripts can now invoke usual Basic builtin functions
Example:
from ScriptForge import CreateScriptService
bas = CreateScriptService('Basic')
bas.MsgBox('This is the text to be displayed', bas.MB_ICONEXCLAMATION)
Python scripts can use most ScriptForge services written in Basic
Example:
from scriptforge import CreateScriptService
FSO = CreateScriptService('FileSystem')
a = FSO.BuildPath('/tmp', 'xyz')
Syntax and semantic are as close as possible to the Basic syntax
Implemented are a SFServices class and its subclasses representing each
a ScriptForge service and where the interfaces are defined (properties,
methods and arguments)
Their execution goes through the "machinery", i.e. a set of python
and basic routines that manage the call from the python process to
the appropriate service in an as much agnostic and generic way
Only a limited set of services are implemented so far: SF_FileSystem
(partially) and SF_Timer: they served as prototypes and initial tests
Change-Id: I0b383b59359c12710e7165139e498cca5a7856bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111971
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Diffstat (limited to 'wizards/source/scriptforge/po/en.po')
-rw-r--r-- | wizards/source/scriptforge/po/en.po | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wizards/source/scriptforge/po/en.po b/wizards/source/scriptforge/po/en.po index a4c6ff514bc4..06f0c77c6e1a 100644 --- a/wizards/source/scriptforge/po/en.po +++ b/wizards/source/scriptforge/po/en.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: https://bugs.libreoffice.org/enter_bug.cgi?product=LibreOffice&bug_status=UNCONFIRMED&component=UI\n" -"POT-Creation-Date: 2021-02-03 15:55:36\n" +"POT-Creation-Date: 2021-03-04 16:31:25\n" "PO-Revision-Date: YYYY-MM-DD HH:MM:SS\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <EMAIL@ADDRESS>\n" @@ -263,13 +263,13 @@ msgstr "" #. SF_Array.ExtractColumn (...) error message #. %1: 'Column' or 'Row' of a matrix #. %2, %3: array contents -#. 'Array_2D', 'From' and 'UpTo' should not be translated +#. 'Array_1D', 'From' and 'UpTo' should not be translated #, kde-format msgctxt "ARRAYINDEX2" msgid "" "The given slice limits do not fit within the bounds of the array.\n" "\n" -" « Array_2D » = %1\n" +" « Array_1D » = %1\n" " « From » = %2\n" " « UpTo » = %3" msgstr "" |