OpenMediaVault-Plugin-Developers / openmediavault-autoshutdown

OpenMediaVault plugin to provide frontend for autoshutdown script
37 stars 31 forks source link

Porting of AutoShutdown to OMV 6.x #107

Closed nrandon closed 3 years ago

nrandon commented 3 years ago

Changes required for new OMV 6.x GUI and script improvements

nrandon commented 3 years ago

@ryecoaaron The porting of AutoShutdown to OMV 6.x is done can you build it and add it the the repo. Thanks

nrandon commented 3 years ago

@ryecoaaron it will also need the local re-doing

ryecoaaron commented 3 years ago

In the repo now. We will have to look at how to do hints since multiline translations don't work with transifex. Each line will probably have to be a translated string that are concatenated together in the yaml.

nrandon commented 3 years ago

@ryecoaaron Is there a way i can run transifex directly so I can see if i can fix this ?

ryecoaaron commented 3 years ago

Yes but now that I look at the code, I need to update my locale generation too. Here is how Volker is doing it - https://github.com/openmediavault/openmediavault/blob/master/deb/openmediavault.mk#L45

ryecoaaron commented 3 years ago

I was able to update the code and fix the multi-line support. Locales have been updated in the latest commit.

nrandon commented 3 years ago

@ryecoaaron something still not correct here as some of the text is missing in the pot file. I got a 6.0.1 patch on the way to address the issues with the hint and xgettext should work with it now.