Quickset Wary-5.1.1-01q the Final Release

A home for all kinds of Puppy related projects
Post Reply
Message
Author
User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

xorgwizard

#81 Post by L18L »

L18L wrote:
Quote:
xorgwizard: silently does not anything

solved: was with xvesa
The Dialog was in the error file.
A small message on the screen would have been nicer.
and here is the message (similiar in video-wizard):
insert 5 lines in /usr/sbin/xorgwizard at line 60

Code: Select all

export LANGORG=$LANG

CURRENTX="`readlink /usr/bin/X`"
if [ "$CURRENTX" != "Xorg" ] && [ "`pidof X`" != "" ];then
 Xdialog --title "$(gettext 'Xorg Video Wizard')" --msgbox "$(gettext 'The Xorg X server is not currently running.
Select the Xvesa Video Wizard from the menu. Click OK button to exit...')" 0 0
 exit
fi

mkdir -p /usr/lib/xorg/modules/drivers-backup

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

i18n for pupscan pwsget video-wizard wakepup2 xdelta_gui

#82 Post by L18L »

rodin.s wrote:
I am not sure where to include them, in usr_sbin.pot maybe.
I think video-wizard should go into the builtin xorgwizard.po that means being available before the language-pack is installed.

wakepup2 now is in applications.extra (candidates for disappearing?)

I would build a new TEXTDOMAIN (pup_extras, pup_nicetohave ?)
I used unusual gettext method in zigbert's pwsget. It was new idea for me. It could also be used in gettexting new PPM interface.
I never used pwsget, wget is much simpler to use in console and it is fully localized (wget.mo). pwsget is a simple exercise for Gtkdialog without error message if URL not existent, so could you please explain your 'unusual gettext method'?
Thanks in advance

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: welcome not just at 1st boot

#83 Post by shinobar »

L18L wrote:Just one suggestion:
We all know what is in welcome1stboot
But I think a newcomer will need to read this informations more than just once. I suggest to repeat the welcome (not only at 1st boot) and include a checkbox (Do not show this information any more) unless the checkbox is ticked, so everyone will be happy.
Good point, L18L!

The LupQ-511 has a link to the welcom1stboot.html at 'help', the index.html.
But now the welcome1stboot is a program...

By the way, do you need the seach box and pulldown to link the documentations on 'help', the index.html?
It takes remarkable time to rebuild index.html(indexgen.sh) for slow PC's.
We can replace the 'help', the index.html with the program /usr/sbin/puppyhelp, to be modified.

But they are not a scope of translation but a suggestion of next wary.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: xorgwizard

#84 Post by shinobar »

L18L wrote:xorgwizard: silently does not anything

solved: was with xvesa
The Dialog was in the error file.
It maybe the problem of translation. Seems no matter Xvesa or Xorg.
See '/tmp/xorgwizard-errors.log'.

Type the command with locale C from a virtual terminal. it works still under Xvesa.

Code: Select all

lang=C xorgwizard
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

usr_sbin.pot updated

#85 Post by shinobar »

EDIT: Wait a while. The domain of the video-wizard shall be moved to xorgwizard according to the suggestion of L18L.
Another question is how about video_upgrade_wizard and wizardwizard...

(NOT yet attached the pot file of usr_sbin updated with the new i18n scripts by rodin.s.
You can replace /usr/share/doc/nls/usr_sbin with the extracted.)
It will be inculded in next release of wary-500m.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

oui

Re: Supported languages

#86 Post by oui »

Hi Shinobar

Thank you for your answer
shinobar wrote:
oui wrote:what ist with Hindi (official language of India) / Urdu (common tongue with Pakistan)
Thanks oui for joining us.
They are supported bylang_support_all-1.5.sfs at this point of time.
But the lang_support_all-1.5.sfs may be outdated and it shall be updated for Wary-500 in near future.
Also we hope anyone contribute those translation of the desktop and scripts.
of course I would be able to help to translate.

I do it there already for an other project.

but

a. I am busy now with this matter on the other project (depending of the time I can give daily to such an occupation), it is a very interesting matter: a new experimental project based on the packages of Linux from Scratch

b. I give you the url of the other project per message. the other project is well organized. if you register and loggin in the wiki you will see that the 2d page above is not actual any more because someone did actualize it on English, and for this page English was create as the mother version. the wiki itself controls the changes between the versions...

c. in Puppy we have somewhat what seems to become a chaos :wink: ...

for ex.:

you version of Wary 500 i18 is very interesting for me

but

the version quirky 120 is more interesting for me because of the existence of a KDE4-quirky120.sfs!

and as the all things go separately outside of woof it is a big problem to try to make the joining of the two good ideas in one common goal a wary/quirky4i18&kde

it seems not possible any more to coordinate the actions in the puppy world so that all efforts contribute to a same common thing...

I suppose that you probably have analog ideas concerning your work with i18 and if you see a solution, I would be happy to help you in some times.

salut

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

'unusual gettext method', countrywizard

#87 Post by rodin.s »

could you please explain your 'unusual gettext method'?
It may be unusual only for me. I couldn't gettext something within strong quotes the usual way.
I usually do:

Code: Select all

var="<label>something</label>"
with gettext:

Code: Select all

var="<label>$(gettext 'something')</label>"
With strong quotes it didn't work:

Code: Select all

var='<label>something</label>'
and I did it this way:

Code: Select all

var='<label>'$(gettext 'something')'</label>'
I used this also in pup-advert-blocker.

I also have made additional pet for Russian l10n with some things to improve it:
1. Added catalog /root/Startup/ with freememapplet_tray and network_tray. It would be nice to have them gettexted. But I don't know how to add gettext in C-programs so Russian is just hard coded into that binaries.
2. In /usr/share/applications/ I put some translated menu items. I think than Grub(legacy) should be left untranslated. I don't know how to translate that properly and Grub(легати
Attachments
wary500m06ru_plus-0.1.pet
small addition to ru-langpack
(45.31 KiB) Downloaded 454 times
pup-advert-blocker.gz
find domain for this. usr_sbin maybe.
(2.75 KiB) Downloaded 468 times
countrywizard-ru.tar.gz
revised po and mo
(6.64 KiB) Downloaded 444 times
Last edited by rodin.s on Tue 25 Jan 2011, 20:22, edited 2 times in total.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

'unusual gettext method'

#88 Post by L18L »

Thank you rodin.s
was also for me unusual. Did you try:

Code: Select all

var="<label>$(gettext \"something\")</label>"
I hope your explanation will help others, too :)
and here gettext bash with GTK

I was used to do it this way:

Code: Select all

var="<label>`gettext  \"something\"`</label>"
not strong quotes but backticks. Why backticks? Spent 2 hours now to find the website from where I got it, no success! So take my explanation from memory:
"crackers can corrupt .po files by includung code (between backticks).
If backticks are used in the script then the backtick in the po/mo will create a runtime error and the bad code can do no harm."

for the pup-advert-blocker
I suggest TEXTDOMAIN=pup-advert-blocker ! =script name (starting pup....)
putting more in 1 textdomain makes sense if there are some identical sentences or if a script is called from another.
shinobar, what do you think?
Thanks for bringing the blocker to my attention, very useful!

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

help

#89 Post by L18L »

shinobar wrote:
By the way, do you need the seach box and pulldown to link the documentations on 'help', the index.html?
I doubt anyone has used it!
But
Enter the name of a utility program (ex: cat, ls) and click 'Search' button:
shows any command (in puppy or not!) and now I have created something better!
That was the good news
and the bad news: for german only
manpages-de-0.5_NLS.pet (only WHICH is in puppy)
usage: in textconsole type man ls (for example) and the manual for ls is in the browser.

I have browsed in "manpages.<luci's mother>.com" (you know what I mean), there are directories for other languages but almost empty for <language>.UTF8 and <language> not displaying correctly.

Edited 2011-02-07
puppy-manpages_NLS in 13 languages as pet or sfs now available in Localization Project

------
edited 2013-02-07
langpack_de-* contains manpages
Last edited by L18L on Thu 07 Feb 2013, 19:58, edited 3 times in total.

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

gettext methods

#90 Post by rodin.s »

I use:

Code: Select all

$(gettext "TEXT")
$(gettext 'TEXT')
`gettext \"TEXT\"`
`eval_gettext \"TEXT \\\$VAR\"`
and this new "zigbert method"

Code: Select all

'$(gettext 'TEXT')'

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

gettext methods

#91 Post by L18L »

ngettext is also very useful, especially if there is more than 1 plural form in a language.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: manpages

#92 Post by shinobar »

L18L wrote:manpages-de-0.5_NLS.pet (only WHICH is in puppy)
gud, L18L.
As for the Japanese manpages, we are providing with the devx Japanese version. I can extract them from it.

I don't know "manpages.<luci's mother>.com" :roll:
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

on-the-fly sfs loader

#93 Post by shinobar »

For your information:
I am now working on improved auto NLS loading system.
The key issue is loading extra sfs files on-the-fly.
I will upload the new designed sfs loader in couple of days.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Manpages

#94 Post by L18L »

sorry for being too cryptic :(
DISTRO_COMPAT_VERSION of "lucid puppy" :roll:

for the .pet:
It was my first one.
I will make a better one if more languages (ja) available
renaming to manpages_NLS (without de)
and dependency of man

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

pup-advert-blocker

#95 Post by L18L »

@rodin.s
tested
success
thank you
Attachments
pup-advert-blocker-de.po.gz
(1.95 KiB) Downloaded 517 times

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

sfs_load - SFS load/unload on-the-fly

#96 Post by shinobar »

I have made new designed on-the-fly SFS loader.
Visit the topic:
http://www.murga-linux.com/puppy/viewtopic.php?t=64354

It will be the important item for loading a large lang_pack in sfs,
even with the live cd without pupsave.

Needs your test and feed back.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

fixed xorgwizard was failed main dialog

#97 Post by shinobar »

L18L wrote:xorgwizard: silently does not anything
# 28jan11 shinobar: fixed was main dialog failed with special charactors(>)
Add double quote to the label strings. like:

Code: Select all

'<text><label>"'$(gettext "some text")'"</label></text>'
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

mave
Posts: 129
Joined: Thu 02 Apr 2009, 13:42
Location: Germany

CUPS with lang_pack_de-0.4-w5.pet

#98 Post by mave »

Hi shinobar,

wondering on the cups-interface: after installing the german language-pack printer sides are corrupted. Force an english output, it is well.

Maybe the cups-templates including in the lang-pack are not complete?

Did recompile (./configure parameters?) but after installing no change...

mave
Attachments
wary500m06_cups_de_DE.jpg
with lang_pack_de-0.4-w5.pet: corrupted printer entry
(181.12 KiB) Downloaded 583 times

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

sfs_load russian and net-setup.mo

#99 Post by rodin.s »

Although it deleted my google-earth I have made a translation for it. I noticed that line "Updating menu" is not gettexted.
And one more file for russian langpack. It's not gettext-file, it's a text file.
Attachments
net-setup.mo.gz
UTF-8 text .mo file for russian langpack
(8.11 KiB) Downloaded 509 times
sfs_load_ru.tar.gz
russian .po-file
(4.56 KiB) Downloaded 526 times

mave
Posts: 129
Joined: Thu 02 Apr 2009, 13:42
Location: Germany

Graphics ATI Radeon Mobility 1400x1050 on Thinkpad T60

#100 Post by mave »

Hi,

not happy with (Multilingual) Wary 5 and its Xorg 7.3: in original Wary and also with Firstrun-Wizard, ATI driver in this Radeon is slow for me on my Thinkpad T60, especially in Seamonkey/Firefox, the graphic speed slows down, many sides are not usable for me, application windows often seems frozen, no reaction.

So, I took Barry's upgrade to Xorg 7.5, this driver runs perfectly.

But with or without it: every Startup in (Multilingual) Wary 5 comes up with resolution 1280x1024 and NOT 1400x1050.

Exit to prompt, running xorgwizard, then xwin: resolution is okay. But inside start scripts, anywhere a (ddcprobe?) xorg.conf-file is generated including only resolution 1280x1024 and THIS is taken by xwin.

ddcprobe gives this and the Thinkpad T60-TFT works normally with 1400x1050:

vbe: VESA 3.0 detected.
oem: ATI ATOMBIOS
vendor: (C) 1988-2005, ATI Technologies Inc.
product: M54CSP 01.00
memory: 16384kb
mode: 640x400x256
mode: 640x480x256
mode: 800x600x256
mode: 1024x768x256
mode: 1280x1024x256
mode: 132x25 (text)
mode: 132x43 (text)
mode: 640x480x32k
mode: 640x480x64k
mode: 800x600x32k
mode: 800x600x64k
mode: 1024x768x32k
mode: 1024x768x64k
mode: 1280x1024x32k
mode: 1280x1024x64k
mode: 320x200x32k
mode: 320x200x64k
mode: 1600x1200x256
mode: 1600x1200x32k
mode: 1600x1200x64k
edid:
edid: 1 3
id: 4022
eisa: LEN4022
serial: 00000000
manufacture: 0 2005
input: analog signal.
screensize: 29 21
gamma: 2.200000
dpms: RGB, active off, suspend, standby
timing: 720x400@70 Hz (VGA 640x400, IBM)
timing: 640x480@75 Hz (VESA)
timing: 1024x768@87 Hz Interlaced (8514A)
ctiming: 1280x1024@60
dtiming: 1400x1050@70
dtiming: 1400x1050@58
monitorid: LTN141P4-L02

Looking on the scripts, I don't know why it happens changing every time to only 1280x1024.

Anybody else?

mave

Post Reply