report video GUI localised
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
______________________________________________________
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
______________________________________________________
- Attachments
-
- report-video_NLS-2.4.pet
- german and french locales
- (1.97 KiB) Downloaded 544 times
-
- report-video-2.4.pet
- GUI for report-video
- (16.22 KiB) Downloaded 606 times
Last edited by don570 on Thu 24 Jan 2013, 00:46, edited 8 times in total.
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:
Original en_US:english file is:
You are really a funny guy, aren't you?
Greetings,
RSH
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: Select all
#!/bin/bash
#report-video
#version=1.0
#language=english
#translator:Native by don570
set -a
LOC119="Rapport vidéo"
Code: Select all
#!/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"
Greetings,
RSH
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
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.
________________________________________________
(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.
________________________________________________
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
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
Ok.
Here are the German translations for report-video-1.2.
I'll remove this when added to report-video.
RSH
Here are the German translations for report-video-1.2.
Code: Select all
#!/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"
RSH
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
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.
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.
[url]https://bkhome.org/news/[/url]
I'm sure, a lot of us, who do use the "zigbert-method" would like to do this using the gettext-method.Good work, but would it be too much to ask for you to convert the translation to 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.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
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
______________________________________________
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
______________________________________________
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.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 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.
- Attachments
-
- report_video-gettexted-20130117.pet
- Report Video as gettexted by rodin.s
- (14.33 KiB) Downloaded 557 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
Hello,
And what about my proposition to gettext your script?
It is not a "video report " any more... Don't you think this may duplicate what other little programs already do?don570 wrote:new version 1.7
And what about my proposition to gettext your script?
I noticed this on the ToOpPy "Precise" 5.4.3 bêta - 2PDE thread:vicmz wrote:I'm so sorry not having noticed before, actually rodin.s has report-video in his collection of gettexted scripts
Cordialement.Je suppose que ce script est destiné à remplacer le rapport vidéo de Lighthouse, déjà présent sur Puppy/ToOpPy Precise
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
don570 wrote:...I don't know anything about 'gettext ' so I'll have to learn from scratch....
Hope that this running in console will help/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
New version 2.0
-Fixed Shell variables
-added crontab report
-separated locales into separate pet file
It's still not properly compatible with sys-info despite hours of
trying, but I'll still investigate.
_______________________________________
-Fixed Shell variables
-added crontab report
-separated locales into separate pet file
I will try to learn gettext in the next days...Argolance wrote:Hope that this running in console will help
It's still not properly compatible with sys-info despite hours of
trying, but I'll still investigate.
_______________________________________
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
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
[url=http://www.lhpup.org/][b][size=100]lhpup.org[/size][/b] [img]http://www.lhpup.org/gallery/images/favicon.png[/img][/url] [url=http://www.lhpup.org/release-lhp.htm#602]Lighthouse 64 6.02[/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
learn from scratch
Please note,don570 wrote:...I don't know anything about 'gettext ' so I'll have to learn from scratch....
in this scratch http://scratch.mit.edu/projects/RIngel/2864807
you can learn scratch, but not gettext.
(Click the green flag to start)
New version 2.4 advises about gtkdialog version
and is compatible with XFCE Thunar and Enlightenment
I tested on old distros like Fluppy Wary
and tested the Enlightenment window manager in Exprimo.
I found some bugs in program so I spent the time to fix them.
I also added two more LOC's and translated them in French and German.
An important bug in finding PupSave file size was solved.
USB mouse description is given.
________________________________________________________
Note to L18L : I am learning gettext by looking at the code in
01micko's pupmd5sum.sh
and doing the translations with Barry's MoManager
.... but I will still need a couple of days more.
____________________________________________