Initial version
This commit is contained in:
parent
fcba5f295a
commit
839bc8b40c
|
@ -0,0 +1,4 @@
|
||||||
|
v 0.1.0 [27-jun-2021]
|
||||||
|
- Initial version
|
||||||
|
- Function `reverse`
|
||||||
|
- Function `eval`
|
31
conf.py
31
conf.py
|
@ -23,17 +23,17 @@ import logging
|
||||||
# ~ 1 = normal extension
|
# ~ 1 = normal extension
|
||||||
# ~ 2 = new component
|
# ~ 2 = new component
|
||||||
# ~ 3 = Calc addin
|
# ~ 3 = Calc addin
|
||||||
TYPE_EXTENSION = 1
|
TYPE_EXTENSION = 3
|
||||||
|
|
||||||
# ~ Your great extension name, not used spaces
|
# ~ Your great extension name, not used spaces
|
||||||
NAME = 'MyFirstExtension'
|
NAME = 'ZAZFunctions'
|
||||||
|
|
||||||
# ~ https://semver.org/
|
# ~ https://semver.org/
|
||||||
VERSION = '0.1.0'
|
VERSION = '0.1.0'
|
||||||
|
|
||||||
|
|
||||||
# ~ Should be unique, used URL inverse
|
# ~ Should be unique, used URL inverse
|
||||||
ID = 'org.myfirstextension'
|
ID = 'net.elmau.zaz.functions'
|
||||||
|
|
||||||
# ~ If you extension will be multilanguage set: True
|
# ~ If you extension will be multilanguage set: True
|
||||||
# ~ This feature used gettext, set pythonpath and easymacro in True
|
# ~ This feature used gettext, set pythonpath and easymacro in True
|
||||||
|
@ -48,9 +48,10 @@ PATH_MSGMERGE = 'msgmerge'
|
||||||
|
|
||||||
|
|
||||||
# ~ Show in extension manager
|
# ~ Show in extension manager
|
||||||
|
URL_PROJECT = 'https://git.cuates.net/elmau/zaz-functions'
|
||||||
PUBLISHER = {
|
PUBLISHER = {
|
||||||
'en': {'text': 'El Mau', 'link': 'https://gitlab.com/mauriciobaeza'},
|
'en': {'text': 'El Mau', 'link': URL_PROJECT},
|
||||||
'es': {'text': 'El Mau', 'link': 'https://gitlab.com/mauriciobaeza'},
|
'es': {'text': 'El Mau', 'link': URL_PROJECT},
|
||||||
}
|
}
|
||||||
|
|
||||||
# ~ Name in this folder for copy
|
# ~ Name in this folder for copy
|
||||||
|
@ -135,13 +136,23 @@ MENUS = (
|
||||||
|
|
||||||
# ~ Functions, only for TYPE_EXTENSION = 3
|
# ~ Functions, only for TYPE_EXTENSION = 3
|
||||||
FUNCTIONS = {
|
FUNCTIONS = {
|
||||||
'test': {
|
'reverse': {
|
||||||
'displayname': {'en': 'test', 'es': 'prueba'},
|
'displayname': {'en': 'reverse', 'es': 'reversa'},
|
||||||
'description': {'en': 'My test', 'es': 'Mi prueba'},
|
'description': {'en': 'Get reverse string', 'es': 'Retorna la cadena en forma inversa'},
|
||||||
'parameters': {
|
'parameters': {
|
||||||
'value': {
|
'value': {
|
||||||
'displayname': {'en': 'value', 'es': 'valor'},
|
'displayname': {'en': 'string', 'es': 'texto'},
|
||||||
'description': {'en': 'The value', 'es': 'El valor'},
|
'description': {'en': 'The string', 'es': 'El cadena'},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'eval': {
|
||||||
|
'displayname': {'en': 'eval', 'es': 'evalua'},
|
||||||
|
'description': {'en': 'Parse and execute string expressions', 'es': 'Parsea y ejecuta una expresión en texto'},
|
||||||
|
'parameters': {
|
||||||
|
'value': {
|
||||||
|
'displayname': {'en': 'expression', 'es': 'expresion'},
|
||||||
|
'description': {'en': 'The expression to execute', 'es': 'La expresión a ejecutar'},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
BIN
images/logo.png
BIN
images/logo.png
Binary file not shown.
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 9.0 KiB |
Loading…
Reference in New Issue