The time now is Wed 25 Apr 2018, 14:48
All times are UTC - 4 |
Page 21 of 36 [526 Posts] |
Goto page: Previous 1, 2, 3, ..., 19, 20, 21, 22, 23, ..., 34, 35, 36 Next |
Author |
Message |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Wed 13 Apr 2011, 07:30 Post subject:
welcome1stboot Subject description: accomodate the non-English text |
|
Quote: | tweak the text widget dimensions to accomodate the non-English text, let me know about that too |
Code: |
REM welcome window, first boot of Puppy.
REM (c) Copyright Barry Kauler 2011, bkhome.org
REM License GPL v3 (/usr/share/doc/legal)
REM 110412 first release.
REM 110413 tweak text widget dimensions and menu2.png to accomodate the non-English
|
Several changes had to be made
Note, menu2.png is localized, location in po file.
Code: | 'image_tray=IMAGE("/usr/share/doc/menu2.png",150,90)
image_tray=IMAGE(INTL$("/usr/share/doc/menu2.png"),150,90)
ATTACH(mainwin,image_tray,10,325)
|
in de.po:
Code: |
#: welcome1stboot.bac.c:442
msgid "/usr/share/doc/menu2.png"
msgstr "/usr/share/doc/help/de/menu2.png"
|
This is the location used in quickset wary multilingual
complete welcome1boot-20110413 incl. German translation attached
Edit
Now I see at the image another change of dimensions is needed:
Code: |
'label_setup=MARK(INTL$("Setup your pup"),180,24)
label_setup=MARK(INTL$("Setup your pup"),280,24)
|
EDIT
Thanks for downloading...
please use next version 20110414 (3 posts down)
Last edited by L18L on Wed 13 Apr 2011, 16:11; edited 1 time in total
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Wed 13 Apr 2011, 10:14 Post subject:
getting smaller binaries |
|
Dear Barry & Co.,
I do not always enjoy UPX'd binaries (I generally un-UPX them as a matter of habit), but I can see the logic in this in order to keep everything manageably small for Puppy. What I think would be great is an optimizing routine at compile/link time. I remember writing gtk apps, simple ones in C, and they were 4-6k! That is nice. If we could get that kind of binary terseness in Bacon, it would be fabulous, because the BaCon binaries would be the size of gtkdialog scripts but run very fast! The non-GTK BaCon progs are already pretty small, but some kind of optimization would also help there. I do not know whether it possible, but if it is, Peter will put his mind to it and pleasantly surprise us all!
With kind regards,
vovchik
PS. I recalled why UPX's binaries bothered me. You cannot see the dependencies with ldd!
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Wed 13 Apr 2011, 14:28 Post subject:
dimensions for russian |
|
L18L's version wasn't good enough for russian. So my dimensions are (Barry's version):
line - dimensions
41 - 664,514
83 - 84,16
86 - 568,165
88 - 250,24
101 - 430,16
107 - 280,24
124 - 280.24
140 - 84,16
143 - 570,489
Description |
screenshot |
Filesize |
73.93 KB |
Viewed |
836 Time(s) |

|
Description |
russian po-file
|

Download |
Filename |
ru.po.gz |
Filesize |
2.88 KB |
Downloaded |
622 Time(s) |
Description |
dimensions changed for russian
|

Download |
Filename |
welcome1stboot.bac.gz |
Filesize |
2.61 KB |
Downloaded |
618 Time(s) |
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Wed 13 Apr 2011, 15:56 Post subject:
welcome1stboot Subject description: for English, German, Russian and others with lines for "connect" and "help" <= 4 lines ... |
|
label_ic_body : 3 lines in en, ru but 4 lines in de
label_help_body: 3 lines in en, de but 4 lines in ru
New: each has 4 lines (see REM in .bac)
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Wed 13 Apr 2011, 17:32 Post subject:
welcome1stboot |
|
L18L, your script is almost OK, but I had to change some parameters:
line 44 - 664,534 - making whole window a little wider
line 92 - 568,165 - word 'Connect' a bit to the right
line 112 - 430,16 - line was cut off in the end
line 121 - 220,24 - 'Сохранение сессии' - one letter was missing
line 166 - 570,509 - moving word 'setup' a bit to the right to be in the middle of sign.
And I guess it's OK.
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8529 Location: Perth, Western Australia
|
Posted: Wed 13 Apr 2011, 20:05 Post subject:
|
|
L18L and rodin.s,
Thanks very much.
Note however, your dimensions are a bit messed up, as you are not using the very latest BaCon and HUG. That is, my PETs dated 20110414.
This means that the lines with "xalign" and "yalign" PROPERTY are being ignored. -- or so it seems.
Anyway, I am taking your latest source code and fixing it.
_________________ http://bkhome.org/news/
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8529 Location: Perth, Western Australia
|
Posted: Wed 13 Apr 2011, 23:51 Post subject:
|
|
Oh, you also need the latest hug_imports.bac, which is also in my latest PET.
rodin.s, would you kindly post the 'menu2.png' for Russian? The English one is /usr/share/doc/menu2.png.
I have got it working nicely, correctly laid out for en, de and ru. If anyone else wants to create a country translation, probably this thread is not the best place to do it. I'll announce it on my blog and people can respond there.
I don't want to tweak the dimensions anymore. Any future translations, they can edit the text to fit.
Thanks guys for the help.
_________________ http://bkhome.org/news/
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Thu 14 Apr 2011, 14:04 Post subject:
menu2.png for russian |
|
Here's menu2.png for russian.
Description |
"Saving session" in Russian should be like this. |
Filesize |
2.44 KB |
Viewed |
1936 Time(s) |

|
Description |
|
Filesize |
4.68 KB |
Viewed |
1923 Time(s) |

|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8529 Location: Perth, Western Australia
|
Posted: Thu 14 Apr 2011, 19:32 Post subject:
|
|
rodin.s,
Thanks for the menu2.png, I have put it into Woof.
The latest welcome1stboot.bac (that I used for the fr translation) has not been posted here. It has a couple of slightly longer label widgets.
This is what your ru translation looks like now:
Description |
|
Filesize |
24.09 KB |
Viewed |
809 Time(s) |

|
_________________ http://bkhome.org/news/
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Fri 15 Apr 2011, 06:37 Post subject:
welcome1stboot |
|
Looks good.
|
Back to top
|
|
 |
lstandish

Joined: 06 Jun 2008 Posts: 126
|
Posted: Sun 17 Apr 2011, 13:28 Post subject:
multiple tabs with bacon? |
|
Wow, this bacon stuff is cool!
I need to rewrite my snap2 backup utility (GUI frontend to rsync), since it is gtkdialog-based and gtkdialog is no longer supported in Debian Linux. I am looking at bacon/hug for that.
To help port snap2 from gtkdialog to bacon, I would really like to see the source code for a bacon app that uses multiple tabs. I think this is possible using the "notebook" widget.
Does anyone know of a bacon-coded app (with source code available) that uses multiple tabs?
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Thu 28 Apr 2011, 16:43 Post subject:
sfsget Subject description: my 1st BK script converted to BaCon |
|
Too tired to write, so here an excerpt of README
Code: | Suggestions how to improve the code are very welcome
for example I could not make any use of CALLBACKX
or how to let the message "please wait, probing..." display immediately
CHANGES:
- font can be changed in translation.
So I am hoping we avoid difficulties with longer texts.
- destination
Partitions are displayed in 2 columns if more than 5 partitions exist
Partitions smaller than 17 MB, I use them just for grub, are disabled.
- shinobar's sfs_load (on-the-fly) launched if installed |
Sorry, no picture (would not be much different from original)
Edited 2011-05-05
Thanks for downloading
New version see next post
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Thu 05 May 2011, 15:19 Post subject:
sfsget Subject description: progress learning BaCon |
|
next version 1.02
no more yaf-splash
the simple solution was using SYNC
destination dialog
seems to have some blank lines of text. But in other translations which need longer text there are no blank lines. I have used the new PROPERTY.
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Sun 29 May 2011, 11:24 Post subject:
BaCon - Bash-based basic to C converter/compiler Subject description: gxlat - Desktop Google Translator redux |
|
Vovchiks's gxlat now available converted to BaCon and internationalized using GNU/gettext , see
http://www.murga-linux.com/puppy/viewtopic.php?t=56869&start=31
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Wed 08 Jun 2011, 05:16 Post subject:
welcome1stboot_ru |
|
I have found some mistakes in welcome1stboot_ru translation. So here's corrected version.
Description |
|

Download |
Filename |
welcome1stboot.tar.gz |
Filesize |
3.64 KB |
Downloaded |
465 Time(s) |
|
Back to top
|
|
 |
|
Page 21 of 36 [526 Posts] |
Goto page: Previous 1, 2, 3, ..., 19, 20, 21, 22, 23, ..., 34, 35, 36 Next |
|
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
|