New files 'gettextized' for everyone 2015

For efforts in internationalising Puppy and solving problems in this area
Post Reply
Message
Author
User avatar
xanad
Posts: 400
Joined: Fri 28 Feb 2014, 14:56
Location: 2 locations: MonteRosa Alp and Milano
Contact:

New files 'gettextized' for everyone 2015

#1 Post by xanad »

List of files without gettext. Fixed and tested.

xdialog 2.3.1 gettexted
http://murga-linux.com/puppy/viewtopic. ... 958#868958

-part1
Floppy_Formatter
video-info
video-info-glx
xorgwizard-automatic

-part2-
pns-tool
prename
connectwizard_2nd --> Found some 'gettext' errors in the original file from line 252 to 260. Fixed
Pup-SysInfo + func --> All ok, but I don't know how insert 'gettext' from line 394 to 403

-part3-
desksetup.sh
deskshortcut.sh
didiwiki-gui
f2fs-usb-installer
wirelesswizard

-part4-
gparted_shell *
menumanager
Pdisk
psync
psyncfunc

-part5
sys-info
pdvdrsab
pmetatagger
sfsconvert + func

-part6
dir2pet - update - fixed some trouble with (') and (") quotes
dirs2pets
dir2tgz
dir2sfs

-part7
snap2
snap2engine
snap2shell

I'm not a superpuppy, if you find some bugs please send me a feedback.

-part8
mistery file called 'net-setup.po' (Network Wizard) found in others langpacks for:
rc.network
ndiswrapperGUI.sh
wag-profiles.sh
net-setup.sh

-part9
frontend_funcs
galculator
gcolor2
pinstall_hacks * --> thanks to L18L (need for 'gparted_shell', to be inserted in the langpack)

-part10 (tray apps)
pmusic_trayapp --> thanks to zigbert http://murga-linux.com/puppy/viewtopic. ... 131#663131
firewallstate
network_tray
powerapplet_tray
freememapplet_tray

-part11 http://www.murga-linux.com/puppy/viewto ... 215#821215
gtk.icons
gtk.icons (Pup-SysInfo)
petspec
video_upgrade_wizard

-part12
wcpufreq http://www.murga-linux.com/puppy/viewto ... 715#821715

-part13
wmstartups aka Startup Control http://www.murga-linux.com/puppy/viewto ... h&id=82770

-part14 --> Solved by robwoj44:
flsynclient http://www.murga-linux.com/puppy/viewto ... h&id=83624
gfnrename http://www.murga-linux.com/puppy/viewto ... h&id=83550
gmeasures http://www.murga-linux.com/puppy/viewto ... h&id=83497
gpptp http://www.murga-linux.com/puppy/viewto ... 670#703670
psip32 http://www.murga-linux.com/puppy/viewto ... h&id=83189
https://www.dropbox.com/s/5h6h735azmb837j/i18n.pet?dl=0
ssh-gui http://www.murga-linux.com/puppy/viewto ... 853#703853

-part15
PcurlFtp by SFR http://www.murga-linux.com/puppy/viewto ... 597#822597

-- For these, I can not make it work with gettext --
video_upgrade --> solved (coming soon)
Attachments
gettext_part9.tar.gz
(11.38 KiB) Downloaded 882 times
gettext_part10.tar.gz
(5.97 KiB) Downloaded 912 times
gettext_part1.tar.gz
(10.36 KiB) Downloaded 1053 times
gettext_part2.tar.gz
(35.99 KiB) Downloaded 849 times
gettext_part3.tar.gz
(10.34 KiB) Downloaded 833 times
gettext_part4.tar.gz
(7.33 KiB) Downloaded 897 times
gettext_part5.tar.gz
(24.11 KiB) Downloaded 1075 times
gettext_part6.tar.gz
(6.38 KiB) Downloaded 1061 times
gettext_part7.tar.gz
(21.09 KiB) Downloaded 1097 times
gettext_part8.tar.gz
(177 Bytes) Downloaded 938 times
Last edited by xanad on Thu 22 Oct 2015, 19:58, edited 36 times in total.

User avatar
xanad
Posts: 400
Joined: Fri 28 Feb 2014, 14:56
Location: 2 locations: MonteRosa Alp and Milano
Contact:

#2 Post by xanad »

Added 'Pup-SysInfo' + 'func' into 'gettext_part2.tar.gz' in first page.

User avatar
xanad
Posts: 400
Joined: Fri 28 Feb 2014, 14:56
Location: 2 locations: MonteRosa Alp and Milano
Contact:

#3 Post by xanad »

My way to resolve (translate) right click on folder;
'Search with Pfind', 'Burn with Pburn', 'Copy to Background', etc,

Look out!
Precise and Slacko are different, If it is incorrect you will see the small yellow triangle for the missing item.

Create a shell file, that I called delete.sh, with permissions a+x (then copy into the langpack in /root/Startup) that is self-start and auto-delete after performing the requested command:

precise571:

Code: Select all

#!/bin/sh
mv /root/.config/rox.sourceforge.net/OpenWith/.inode_directory/Search\ with\ Pfind /root/.config/rox.sourceforge.net/OpenWith/.inode_directory/Cerca\ con\ Pfind ;
mv /root/.config/rox.sourceforge.net/OpenWith/.application_x-cd-image/Burn\ with\ Pburn /root/.config/rox.sourceforge.net/OpenWith/.application_x-cd-image/Masterizza\ con\ Pburn ;
rm /root/Startup/delete.sh
Slacko570/600beta:

Code: Select all

#!/bin/sh
mv /root/.config/rox.sourceforge.net/OpenWith/.inode_directory/Search\ with\ Pfind /root/.config/rox.sourceforge.net/OpenWith/.inode_directory/Cerca\ con\ Pfind ;
mv /root/.config/rox.sourceforge.net/OpenWith/.image_gif/Send-to\ Backgrounds /root/.config/rox.sourceforge.net/OpenWith/.image_gif/Copia\ in\ Backgrounds ;
mv /root/.config/rox.sourceforge.net/OpenWith/.image_jpeg/Send-to\ Backgrounds /root/.config/rox.sourceforge.net/OpenWith/.image_jpeg/Copia\ in\ Backgrounds ;
mv /root/.config/rox.sourceforge.net/OpenWith/.image_png/Send-to\ Backgrounds /root/.config/rox.sourceforge.net/OpenWith/.image_png/Copia\ in\ Backgrounds ;
rm /root/Startup/delete.sh
If need, restart X.


File already prepared, and replace with your own language
Attachments
Slacko_Open_with.tar.gz
(345 Bytes) Downloaded 895 times
Precise_Open_with.tar.gz
(338 Bytes) Downloaded 877 times

User avatar
xanad
Posts: 400
Joined: Fri 28 Feb 2014, 14:56
Location: 2 locations: MonteRosa Alp and Milano
Contact:

#4 Post by xanad »

Tray apps adds in first page:
pmusic_trayapp --> thanks to zigbert
firewallstate
network_tray
powerapplet_tray
freememapplet_tray

frontend_funcs
galculator
gcolor2
pinstall_hacks --> thanks to L18L (need for 'gparted_shell', to be inserted in the langpack)

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#5 Post by vicmz »

Thank you, Xanad. :D These should be comitted to Woof-CE. Sadly I'm having issues with both my hardware and my Internet provider, and there's my job, too, so I can't help in that department just yet.
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

User avatar
xanad
Posts: 400
Joined: Fri 28 Feb 2014, 14:56
Location: 2 locations: MonteRosa Alp and Milano
Contact:

#6 Post by xanad »

Quickpet Tahr 6.0 gettextized

Image

Avaiables:
usr/local/bin/quickpet
usr/local/quickpet_precise/small/quickpet
quickpet.pot
quickpet.mo --> italian

useful guide: http://www.murga-linux.com/puppy/viewtopic.php?t=96326
Attachments
quickpet_SP1.zip
Quickpet Service Pack 1
(10.97 KiB) Downloaded 788 times
quickpet_gettext.tar.gz
(7.25 KiB) Downloaded 834 times
[url]http://www.xanad.tk[/url] Html5 Parallax

User avatar
xanad
Posts: 400
Joined: Fri 28 Feb 2014, 14:56
Location: 2 locations: MonteRosa Alp and Milano
Contact:

#7 Post by xanad »

New file:

wmstartups aka Startup Control > export gettext missing (fixed)

Code: Select all

export TEXTDOMAIN=wmstartups
export OUTPUT_CHARSET=UTF-8
. gettext.sh 
Attachments
wmstartups.zip
(4.85 KiB) Downloaded 900 times
[url]http://www.xanad.tk[/url] Html5 Parallax

robwoj44
Posts: 399
Joined: Fri 08 Aug 2008, 18:15
Location: Warsaw

#8 Post by robwoj44 »

gpptp gettextized you can find here http://www.murga-linux.com/puppy/viewto ... 670#703670
ssh-gui http://www.murga-linux.com/puppy/viewto ... 853#703853
psip32, pcreatetorrent, pctorrent, urxvtset and others you can find in i18n http://forum.puppylinux.pl/index.php?to ... 49#msg2249

User avatar
xanad
Posts: 400
Joined: Fri 28 Feb 2014, 14:56
Location: 2 locations: MonteRosa Alp and Milano
Contact:

#9 Post by xanad »

:D Thanks robwoj44,
ssh-gui works fine. Now I'll try the others.
Bravo.
[url]http://www.xanad.tk[/url] Html5 Parallax

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#10 Post by ASRI éducation »

Thank you xanad,
This discussion help to improve translation of Puppy.
Regards
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#11 Post by don570 »

I believe I gettext'd build_gettext. You can check it.

http://www.murga-linux.com/puppy/viewtopic.php?t=84133

_________________________________________________

robwoj44
Posts: 399
Joined: Fri 08 Aug 2008, 18:15
Location: Warsaw

#12 Post by robwoj44 »

It will be nice to see all gettextized files in woof and woofce.
I gettextized psip32.
1. Download the source from https://chiselapp.com/user/jamesbond/re ... dir?ci=tip
2. In the file psip.c change the line 1185 textdomain ("demo"); to textdomain ("psip");
3. Execute intltool-extract --type=gettext/glade psip.glade (the same for psip_im.glade)
4. Execute xgettext --language=c --keyword=_ --keyword=N_ --output=psip.pot psip.glade.h (the same for psip_im.glade.h)
5. Compile psip32 as the standard build (the details you can find in readme.txt https://chiselapp.com/user/jamesbond/re ... c8f58ea98a)
I added psip.pot in the attachment (so you can skip the points 3 and 4).
Attachments
psip.tar.gz
psip.pot
(4.32 KiB) Downloaded 986 times

User avatar
xanad
Posts: 400
Joined: Fri 28 Feb 2014, 14:56
Location: 2 locations: MonteRosa Alp and Milano
Contact:

#13 Post by xanad »

It will be nice to see all gettextized files in woof and woofce.
I gettextized psip32.

Thanks robwoj44,
I've read your work in your site and you are doing a good job. We have opened a space for translators and it would be a pleasure for us that you entered to be part of. The knowledge of C is important to insert gettext in those files.
http://puppy-translators-team.40341.n7.nabble.com/

If you can send PSIP compiled (with your edit) and the .pot, we send to github of woofce as pull request.
[url]http://www.xanad.tk[/url] Html5 Parallax

robwoj44
Posts: 399
Joined: Fri 08 Aug 2008, 18:15
Location: Warsaw

#14 Post by robwoj44 »

Thank you for the invitation.
Inside this pet you can find psip compiled in racy 5.5 (T2).
https://www.dropbox.com/s/5h6h735azmb837j/i18n.pet?dl=0
In a few days I will compile psip in tharpup and post the link to it here.
psip.pot you can find in my previous post http://www.murga-linux.com/puppy/viewto ... h&id=83189

I just find the simplest solution. I renamed psip.mo to demo.mo and psip32 works with this file out of the box. I checked in racy 5.5 and tharpup. So you can simply translate psip.pot and make demo.mo.

robwoj44
Posts: 399
Joined: Fri 08 Aug 2008, 18:15
Location: Warsaw

#15 Post by robwoj44 »

gmeasures internationalized.
Attachments
gmeasures-0.7.tar.gz
gmeasures internationalized source
(59.61 KiB) Downloaded 787 times
gmeasures.tar.gz
gmeasures with gmeasures.pot
(67 KiB) Downloaded 999 times
Last edited by robwoj44 on Fri 16 Jan 2015, 15:35, edited 1 time in total.

robwoj44
Posts: 399
Joined: Fri 08 Aug 2008, 18:15
Location: Warsaw

#16 Post by robwoj44 »

gfnrename internationalized.
Attachments
gfnrename.tar.gz
gfnrename with gfnrename.pot
(89.71 KiB) Downloaded 1060 times
gfnrename-0.6.tar.gz
gfnrename internationalized source
(74.38 KiB) Downloaded 770 times

robwoj44
Posts: 399
Joined: Fri 08 Aug 2008, 18:15
Location: Warsaw

#17 Post by robwoj44 »

flSynclient internationalized.
flSynclient compiled statically against fltk.
Attachments
flSynclient.tar.gz
flSynclient-0.6-patched2 and flSynclient.pot
(131.82 KiB) Downloaded 724 times
flSynclient-0.6-patched2.tar.gz
flSynclient internationalized source
(13.92 KiB) Downloaded 666 times
flSynclient.tar.gz
flSynclient and flSynclient.pot
(130.4 KiB) Downloaded 1221 times
flSynclient-0.7.tar.gz
flSynclient internationalized source
(12.75 KiB) Downloaded 812 times
Last edited by robwoj44 on Tue 29 Sep 2015, 21:11, edited 4 times in total.

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

flSynclient

#18 Post by L18L »

robwoj44 wrote:flSynclient compiled statically against fltk.
And a 64 bit executable would be nice to have.
Thank you very much.

robwoj44
Posts: 399
Joined: Fri 08 Aug 2008, 18:15
Location: Warsaw

#19 Post by robwoj44 »

find enclosed flsynclient-x64
Attachments
flSynclient-x64.tar.gz
flsynclient-x64
(155.78 KiB) Downloaded 753 times
Last edited by robwoj44 on Mon 12 Jan 2015, 21:17, edited 1 time in total.

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

flsynclient

#20 Post by L18L »

robwoj44 wrote:find enclosed flsynclient-x64
found and tested successfully in Fatdog64-700b2
Thank you :D

Post Reply