Author |
Message |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Sat 12 Jan 2013, 16:51 Post subject:
report video GUI localised |
|
I've taken Barry Kauler's report-video (a simple script to report
blacklisting of video drivers) and made a GUI. Tazoc has essentially
done the same HERE , however he hasn't localised his application.
I have localised to help the foreign language guys out there.
version 2.4 advises about gtkdialog version
and is compatible with XFCE Thunar and Enlightenment
______________________________________________________
Description |
german and french locales
|

Download |
Filename |
report-video_NLS-2.4.pet |
Filesize |
1.97 KB |
Downloaded |
389 Time(s) |
Description |
GUI for report-video
|

Download |
Filename |
report-video-2.4.pet |
Filesize |
16.22 KB |
Downloaded |
457 Time(s) |
Last edited by don570 on Wed 23 Jan 2013, 20:46; edited 8 times in total
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Sun 13 Jan 2013, 11:29 Post subject:
|
|
Hey don570.
Are you kidding?
You are the guy with the foreign language!
And also: I've just found a fr:french file inside the .pet, which contains the following localization:
Code: | #!/bin/bash
#report-video
#version=1.0
#language=english
#translator:Native by don570
set -a
LOC119="Rapport vidéo" |
Original en_US:english file is:
Code: | #!/bin/bash
#report-video
#version=1.0
#language=english
#translator:Native by don570
set -a
LOC100="VIDEO REPORT:"
LOC101="Chip description:"
LOC102="Resolution (widthxheight, in pixels):"
LOC103="Depth (bits, or planes):"
LOC104="Modules requested to be loaded:"
LOC105="Modules requested to not be loaded:"
LOC106="Drivers requested to be loaded:"
LOC107="NOTE: there is no /etc/X11/xorg.conf configuration file."
LOC108="Probing Xorg startup log file (/var/log/Xorg.0.log):"
LOC109="Driver loaded (and currently in use):"
LOC110="Loaded modules:"
LOC111="Actual rendering on monitor:"
LOC112="Resolution:"
LOC113="Depth:"
LOC114="unknown"
LOC115="...the report is also recorded in /tmp/report-video"
LOC116="Requested by /etc/X11/xorg.conf:"
LOC117="Type 'report-video' in terminal"
LOC118="version"
LOC119="Report video" |
You are really a funny guy, aren't you?
Greetings,
RSH
_________________ LazY Puppy
RSH's DNA
SARA B.
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Mon 14 Jan 2013, 19:03 Post subject:
|
|
I'm not totally fluent in French, so I was hoping Argolance
(the mind behind ToOpPy "Precise" 5.4.3 bêta - 2PDE ) would be
interested in translating. He's done that so I'll continue to
substitute more words by checking $LANG first.
________________________________________________
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Tue 15 Jan 2013, 21:16 Post subject:
new version 1.2 |
|
new version 1.2
1) It is now safe to use with other software such as Tazoc's sys-info
since it can now be used at the terminal safely i.e. Xdialog window
doesn't pop up
2) I put in Argolance's French translation
3) The word 'planes' has been replaced by 'bits' except
when $LANG is 'en'
4) At the terminal report-video -v and report-video -h
will act as expected
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Wed 16 Jan 2013, 00:23 Post subject:
|
|
Ok.
Here are the German translations for report-video-1.2.
Code: | #!/bin/bash
#report-video
#version=1.0
#language=German
#translator:RSH
set -a
LOC100="Grafikhardware-Bericht:"
LOC101="Beschreibung des Grafikprozessors:"
LOC102="Auflösung (Breite*Höhe, in pixel):"
LOC103="Farbtiefe (Bit oder Ebenen):"
LOC104="Module laden angefordert:"
LOC105="Module laden nicht angefordert:"
LOC106="Treiber laden angefordert:"
LOC107="Hinweis: die Konfigurationsdatei /etc/X11/xorg.conf fehlt!"
LOC108="Untersuche Xorg Startup Log-Datei (/var/log/Xorg.0.log):"
LOC109="Treiber geladen (und zurzeit verwendet):"
LOC110="Geladene Module:"
LOC111="Aktuelle, tatsächliche Monitordaten:"
LOC112="Auflösung:"
LOC113="Farbtiefe:"
LOC114="unbekannt"
LOC115="...der Bericht wurde ebenfalls gespeichert, in: /tmp/report-video"
LOC116="Angefordert von: /etc/X11/xorg.conf:"
LOC117="Geben Sie 'report-video' im Terminal ein"
LOC118="Version"
LOC119="Grafikhardware-Bericht" |
I'll remove this when added to report-video.
RSH
_________________ LazY Puppy
RSH's DNA
SARA B.
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8531 Location: Perth, Western Australia
|
Posted: Wed 16 Jan 2013, 06:12 Post subject:
|
|
Good work, but would it be too much to ask for you to convert the translation to the gettext method?
The "technosourus/zigbert method" is deprecated. Most, perhaps all, of zigbert's scripts have been converted to the gettext method.
Also, MoManager in Puppy supports the gettext method only.
_________________ http://bkhome.org/news/
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Wed 16 Jan 2013, 16:21 Post subject:
|
|
Quote: | Good work, but would it be too much to ask for you to convert the translation to the gettext method? |
I'm sure, a lot of us, who do use the "zigbert-method" would like to do this using the gettext-method.
But for me personally it would be good to have a guide plus a working example application (that only shows how the gettext works - without any other code/functions) - to "play" with it.
That would help a lot!
We can't do anything learn from scratch without some guiding by more experienced people/developers.
_________________ LazY Puppy
RSH's DNA
SARA B.
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Wed 16 Jan 2013, 21:21 Post subject:
|
|
new version 1.5
Added info about pupsave file and RAM and improved the French translation
I'm still working on this project...
I don't know anything about 'gettext ' so I'll have to learn from scratch.
Here's the French pupsave data
________________________________________________
By the way this app isn't compatible to Tazoc's sys-info . Oddly
version 1.0 was partially compatible which gave me high hopes
______________________________________________
|
Back to top
|
|
 |
Argolance

Joined: 06 Jan 2008 Posts: 3255 Location: PORT-BRILLET (Mayenne - France)
|
Posted: Thu 17 Jan 2013, 13:54 Post subject:
|
|
Hello,
Great!
BarryK wrote: | Good work, but would it be too much to ask for you to convert the translation to the gettext method? | I can do it if interesting?
Cordialement.
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Thu 17 Jan 2013, 21:38 Post subject:
|
|
new version 1.7
German Translation
window manager
clock type
swap memory
Bash variables
I put in lots more info about machine and Environment
but there is still a bug in the listing of Bash variables that I
need a couple of more hours to fix
|
Back to top
|
|
 |
vicmz

Joined: 15 Jan 2012 Posts: 1268
|
Posted: Thu 17 Jan 2013, 22:14 Post subject:
|
|
BarryK wrote: | Good work, but would it be too much to ask for you to convert the translation to the gettext method? (...)
MoManager in Puppy supports the gettext method only.
|
I'm so sorry not having noticed before, actually rodin.s has report-video in his collection of gettexted scripts. Of course it doesn't have the improvements introduced by don570.
I made a separate PET, rodin.s just put the report-video script in his PET, for it was a gettexted-scripts PET, this one has the icons and menu entry.
Description |
Report Video as gettexted by rodin.s
|

Download |
Filename |
report_video-gettexted-20130117.pet |
Filesize |
14.33 KB |
Downloaded |
403 Time(s) |
_________________ Puppy Linux en español
|
Back to top
|
|
 |
Argolance

Joined: 06 Jan 2008 Posts: 3255 Location: PORT-BRILLET (Mayenne - France)
|
Posted: Fri 18 Jan 2013, 06:24 Post subject:
|
|
Hello,
don570 wrote: | new version 1.7 | It is not a "video report " any more... Don't you think this may duplicate what other little programs already do?
And what about my proposition to gettext your script? vicmz wrote: | I'm so sorry not having noticed before, actually rodin.s has report-video in his collection of gettexted scripts | I noticed this on the ToOpPy "Precise" 5.4.3 bêta - 2PDE thread: Quote: | Je suppose que ce script est destiné à remplacer le rapport vidéo de Lighthouse, déjà présent sur Puppy/ToOpPy Precise |
Cordialement.
_________________

|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Fri 18 Jan 2013, 10:56 Post subject:
|
|
don570 wrote: | ...I don't know anything about 'gettext ' so I'll have to learn from scratch.... |
/root/my-applications/gettext_for_don570 wrote: | #!/bin/sh
echo "Hi this is $0"
echo "Let us make it international now"
echo "Press Enter to continue" ; read x
echo "OK"
echo "Step 1: source gettext.s"
echo "Press Enter to continue" ; read x
echo ". gettext.sh"
. gettext.sh
echo "Step 2: define your TEXTDOMAIN"
echo "Press Enter to continue" ; read x
echo "export TEXTDOMAIN=gettext_for_dummies"
export TEXTDOMAIN=gettext_for_dummies
echo "Step 3: use it"
echo "Press Enter to continue" ; read x
echo "$(gettext 'hello world')"
echo "Step 4: make your translation"
echo "Press Enter to continue" ; read x
momanager |
Hope that this running in console will help
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Sat 19 Jan 2013, 17:40 Post subject:
|
|
New version 2.0
-Fixed Shell variables
-added crontab report
-separated locales into separate pet file
Argolance wrote: | Hope that this running in console will help |
I will try to learn gettext in the next days...
It's still not properly compatible with sys-info despite hours of
trying, but I'll still investigate.
_______________________________________
|
Back to top
|
|
 |
tazoc

Joined: 11 Dec 2006 Posts: 1157 Location: Lower Columbia Basin WA US
|
Posted: Sat 19 Jan 2013, 21:34 Post subject:
Sys-info / report-video |
|
Hi Don570 and BarryK,
I apologize for the conflicts with Sys-info. I am working on an updated Sys-info.pet that will include video-info instead of report-video. That way my Pet will not overwrite yours, or Barry's report-video script.
Hope that helps,
TaZoC
_________________ lhpup.org Lighthouse 64 6.02
|
Back to top
|
|
 |
|