lang2initrd and fixdesk updates

For efforts in internationalising Puppy and solving problems in this area
Post Reply
Message
Author
xmf-149
Posts: 23
Joined: Fri 02 Aug 2013, 04:00

lang2initrd and fixdesk updates

#1 Post by xmf-149 »

running Precise 5.7.1
so i was messing with want to change boot messages and it was too hard and the desktop icons got rearranged. the scripts that call lang2initrd can check the default PLANG and quicksetup does but lang2initrd itself should be more low level like this so it can be called directly to force translation

run fixdesk en responsible for translations of the desktop icons in PuppyPin and .jwmrc-tray and destroys both
the script made backups of the very first versions of the files in /var/local/sss and this copy is what it keeps getting reverted to for me whenever fixdesk is called from quicksetup and rc.update?
the default setup of puppy will affect the most users. i have the feeling that there won't be a next puppy release for a good 5 years -- so how will people have to change this themselves
looks like this is all BK's fault, thanks a lot BK
quicksetup is the only caller script that should really be modified to call fixdesk again, otherwise in some cases fixdesk will have to be called directly to complete translation. although momanager doesnt need to be changed caling fixdesk from it will no longer have an effect except maybe in pinstall.sh, there is also a bug setting LANG to C in momanager.
use the diff command and say if you agree with what i changed

there is a separate bug in rc.update that destroyes PuppyPin which is not as bad because there is a back up file named /tmp/PuppyPinTmp that is valid except for duplicates of the some of the default icons if they were moved. it is called any time you use setup program to choose new SFS files for boot. this has been reported and i made a patch to improve it
Attachments
lang2initrd.gz
(2.6 KiB) Downloaded 266 times
fixdesk.gz
(2.09 KiB) Downloaded 267 times
rc.update.patch.gz
(799 Bytes) Downloaded 273 times

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

#2 Post by xanad »

Hi xmf-149,
I tried fixdesk in slacko and precise and it work. You solved a problem that has existed since the beginning of puppy. I'll try lang2intrd and rc.update. Thanks.

Post Reply