Inform after package installation via drag&drop#4418
Conversation
|
Hey there! Thanks for helping Mudlet improve. 🌟 Test versionsYou can directly test the changes here:
No need to install anything - just unzip and run. |
|
Not a solution that immediately came to my mind, but it works, so why not 😃 |
|
Not sure how much I like the |
vadi2
left a comment
There was a problem hiding this comment.
Looks like the function isnt available yet, \Other.lua:9: attempt to call global 'loadTranslations' (a nil value))?
Sorry to bother you with this already, I have marked as draft again! This is probably not the best way to solve this, when we get more Lua translations..! |
|
So it seems, the C function returns true or false, but these will never reach Lua. As the C function is doing multi duty, I don't even want to untangle and enhance it. |
|
Workaround suggested courtesy of demonnic:
|
|
edit: wrong button, please ignore |
|
Also add .trigger as acceptable package suffix |
…let/Mudlet into Notify-on-drag-drop-packages
|
Testing the Github codespases approach.. |
|
I've updated |
This reverts commit f7765e0.
|
Not sure why, but now I can "install" an empty .xml file, and it will be shown in package manager (and return true) |
|
#4418 (comment) not that I know of. |
|
#4418 (comment) Looks good. Maybe a bit more exciting? Feels a bit too robotic. |
Are you referring to the text contents? Yeah, I was just glad this actually arrived and had the correct colors, etc.
Me neither.. but how to remedy? Actually localization doesn't work, yet, as that mudlet-lua.json isn't multi-level capable, or I didn't find how. |
|
Sorry, this fell off my radar. I've repaired the branch so the diff looks okay (just by merging in the latest). |
vadi2
left a comment
There was a problem hiding this comment.
There are improvements we can do, but it does what it says it should 👍
|
Open issues here:
|
|
* get Translation to work (suggestion) * get translations to work (suggestion) loadTranslations only accepts one "."
This is actually already so in 4.10.1 release version so no regression introduced here. |
|
For some reason, the most recent commits are not (yet?) shown in this PR, only listed in the commits of the branch..!? |
Co-authored-by: Vadim Peretokin <vperetokin@gmail.com> Co-authored-by: Edru2



Brief overview of PR changes/additions
A brief message informs, whether installation was successful or not.
Motivation for adding to Mudlet
Until now, you need to open package manager or script editor to see effects (if any)
Other info (issues closed, discussion etc)
Close #3874
Does
notname package dropped.Does not inform about reasons for failure.
Adds translation capability to global
mudlet(in lieu of a concrete base-object like AdjustableContainer have)