Yad is a tool to display graphical windows and menus in bash scripts, isn't supposed to running directly but from inside scripts. So it's normal that you cannot find it in applications menu and also normal to get a window with OK/Cancel buttons only if you run it from terminal.
You need to run the script not yad itself. The code I posted must be copied to a new file, you can do it from file manager by right click in empty space and choose "create new file -> plain text", or by open any text editor, paste the code and save the file anywhere you want with any name you want. Then go to where you saved it, open a terminal in that folder and run the command:
Then run it with the command:
Then it should run.
About the installer, since it's installed don't worry about the python packages. It should be in english though. I don't have much experience in coding and python and seems that I didn't implement the transaltion stuff correct. Don't worry for checkmark(I haven't included the code to save the checkmark state), if the title's text have change in the main window then it should work.
I will try to fix the translation issue but you can do this to prevent the transaltion load:
Open a terminal and run the command:
Code: Select all
sudo nano /usr/share/pysnoozeshutdown/ui/mainwindow.py
scroll down to the end of the text. Then with arrow keys navigate to the line:
Code: Select all
translator.load(":ui/resources/translations/el_GR.qm")
and type a "#" in front, to be like this:
Code: Select all
#translator.load(":ui/resources/translations/el_GR.qm")
Press ctrl+X
You will see this message:
Code: Select all
Save modified buffer? (Answering "No" will DISCARD changes.)
press "y" to save the change to the file and to close the editor.
Then when you run the application next time it should be in english.
EDIT:
I uploaded a newer version in which i fixed(hopefully) the translation and checkbox issues:
https://megashare.megahd.com.br/aoo