The time now is Sat 25 May 2013, 07:02
All times are UTC - 4 |
| Author |
Message |
Iguleder

Joined: 11 Aug 2009 Posts: 1615 Location: Israel, somewhere in the beautiful desert
|
Posted: Fri 10 Jun 2011, 14:36 Post subject:
PPowerOff 001 Subject description: A localizable poweroff/restart/restart X/logout dialog |
|
Here's PPowerOff, a simple "End Session" dialog written in Bash with YAD.
The latter is attached and it's simply great. To localize this thingy, open /usr/bin/ppoweroff and see how locales work, it's very easy
I want to try this with Shellementary (sort of a "gtkdialog" thingy for E17) - if it works fine, it's a nice gift for Macpup
EDIT: btw - it detects the window manager and capitalizes the first letter
| Description |
|
| Filesize |
34.52 KB |
| Viewed |
212 Time(s) |

|
| Description |
|

Download |
| Filename |
yad-0.12.1.pet |
| Filesize |
67.89 KB |
| Downloaded |
110 Time(s) |
| Description |
sources, rename to .tar.xz
|

Download |
| Filename |
yad-0.12.1.tar |
| Filesize |
140.76 KB |
| Downloaded |
103 Time(s) |
| Description |
|

Download |
| Filename |
ppoweroff-001.pet |
| Filesize |
990 Bytes |
| Downloaded |
120 Time(s) |
_________________ Shahor, my Puppy concept
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1723 Location: Burghaslach, Germany
|
Posted: Sun 12 Jun 2011, 14:03 Post subject:
Re: PPowerOff 001 Subject description: A localizable poweroff/restart/restart X/logout dialog |
|
| Iguleder wrote: | ...
To localize this thingy, open /usr/bin/ppoweroff and see how locales work, it's very easy
... |
Please have a look at my version where localization is made by GNU gettext.
It is very easy too.
Advantage:
- You can inspect other languages without having installed the locale using the system variable LANGUAGE.
- no English language file
- improved usability by keyboard shortcuts e.g. _cancel makes Alt-C short for cancel. this can be done in every language.
e.g. to see it in arabic type in console:
LANGUAGE=ar /usr/bin/gpoweroff
Arabic
Greek
Hebrew
Russian
included languages are: ar de el es fr iw ru and sv (for nooby )
The translations are, of course just g**gle's . (made by gxlat)
Attached pet installs it as gpoweroff so that there is no conflict.
| Description |
run it alternatively to ppoweroff 8 languages included
|

Download |
| Filename |
gpoweroff.pet |
| Filesize |
3.74 KB |
| Downloaded |
98 Time(s) |
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|
[ Time: 0.0484s ][ Queries: 12 (0.0136s) ][ GZIP on ] |