Author |
Message |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Mon 01 Oct 2012, 13:13 Post subject:
official (momanager) language packs Subject description: hacks and fastest momanager you have ever seen |
|
EDIT Apr 2017-07 some new features
download recent MoManager-20170815.pet soon
edit 2017-08-18: Here it is: http://www.murga-linux.com/puppy/viewtopic.php?p=964734#964734
___________________________________________________
EDIT Apr 2017-07 bug fix for 20170606
download recent MoManager-20170707.pet
- for developers
- for English of all flavours
- for full installed systems
- tested with Fatdog and Pyro64
EDIT Apr 2017-06
download recent MoManager-20170630.pet
- for developers
- for English of all flavours
- for full installed systems
- tested with Fatdog and Easy
EDIT Apr 2016-10
download recent MoManager-20160410.pet see changes.
EDIT Apr 2016-01
download recent MoManager-20160401.pet see changes.
EDIT Dec 2015-12
download recent MoManager-20151230.pet see changes.
EDIT Okt 2015-11
download recent MoManager-20151010.pet see changes .
EDIT Okt 2015-01
download recent MoManager-20151001.pet for testing with jamesbond's latest mdview attached here.
EDIT Aug 2015
download[b] recent MoManager-20150829.pet for testing with Puppy Quirky and Fatdog64 attached here.
EDIT April 2015
download recent MoManager-20150409.pet attached here.
EDIT March 2015
download recent MoManager from http://distro.ibiblio.org/quirky/quirky6/noarch/packages/pet_packages-noarch/momanager-20150309.pet
EDIT november 2014
download recent MoManager from http://murga-linux.com/puppy/viewtopic.php?p=810307#810307
EDIT
forget this buggy version:
download recent MoManager from http://www.murga-linux.com/puppy/viewtopic.php?t=81259&start=173
_______________________________________________
In his_blog
BarryK wrote: | I think that L18L and others were modifying 'pinstall.sh' in their langpacks, but now need to consider return to the official pinstall.sh script. |
Yes, and I have been working on this issue, returned to use the official pinstall.sh with one small modification and I hope this can be integrated into the official, just 1 (the green one) line:
------------------
edit 2012-10-12: Yes, it is official now, see comment 11 Oct 2012, 8:05 on http://bkhome.org/blog/?viewDetailed=03007
------------------
end of my pinstall.sh wrote: | if [ "`pwd`" = "/" ];then #installing PET in a running puppy.
if [ "$LANG1" != "en" ];then
#need to update SSS translations...
fixscripts
fixdesk
fixmenus
[ -r /pinstall_hacks.sh ] && . /pinstall_hacks.sh #120929
pupdialog --background green --backtitle "Language Pack" --msgbox "Sprachpaket installiert, voll wirksam nach Neustart des X-Servers" 0 0 &
fi
fi
|
And here is my successfully tested file pinstall_hacks.sh:
Code: | #pinstall_hacks.sh
#sourced by pinstall.sh of /usr/share/doc/langpack-template
# ================================
#
#120510 L18L disable LANG=C enables translations of gparted
#120816 L18L cups doc
#120929 L18L add link to english original into translated /usr/share/doc/index.html
#121001 L18L create home-en.htm from home-raw-en.htm
echo "#------------------------------------
Running pinstall.sh_hacks..."
#------------------------------------
[ `sed -i 's/^export LANG=C/#export LANG=C/' usr/sbin/gparted_shell` ] || echo '#$LANG=C in gparted_shell' #120510
#120816 cups doc
cupsVERSION=`grep CUPS usr/share/cups/templates/header.tmpl | cut -d'<' -f2 | cut -d ' ' -f4`
cupsVERSION=`echo ${cupsVERSION}| cut -d'.' -f1,2`
cp -a tmp/cups/${cupsVERSION}/doc usr/share 2>/dev/null #1.3 1.4
cp -a tmp/cups/${cupsVERSION}/doc-root usr/share/cups 2>/dev/null #1.5
[ `cp -a tmp/cups/${cupsVERSION}/templates usr/share/cups` ] || echo "cups templates"
# i like my translations having a link back to the originals
# my home-raw.htm has a link to original english home-en.htm
# we need to create home-en.html:
. etc/DISTRO_SPECS # has $DISTRO_NAME
[ "`sed -e \"s#DISTRO_NAME#$DISTRO_NAME#\" usr/share/doc/home-raw-en.htm > usr/share/doc/home-en.htm`" = "" ] && echo home-en for $DISTRO_NAME created #121001
# index-en.html does NOT exist. generate from index-top and index-bottom
# or easier: take that from .sfs if existent
# change from ... aus dem Englischen Origial im ...
# to ... aus dem <a href="/initrd/pup_ro2/usr/share/doc/index.html">Englischen Origial</a> im ...
[ "`sed -i -e 's# Englischen Original # <a href=\"/initrd/pup_ro2/usr/share/doc/index.html\">Englischen Original</a> #' /usr/share/doc/index.html.top-raw`" = "" ] && echo backlink to original index inserted #120929
#------------------------------------
echo "...pinstall.sh_hacks finished
#------------------------------------"
|
langpack-template is always a link to a directory on /mnt/home so I can create langpacks from different puppies.
------------------
edit 2012-10-12: changed links from absolute to relative (Barry's advice)
------------------
Description |
|

Download |
Filename |
momanager-20170707.pet |
Filesize |
42.93 KB |
Downloaded |
71 Time(s) |
Description |
|
Filesize |
51.01 KB |
Viewed |
274 Time(s) |

|
Description |
|

Download |
Filename |
momanager-20170630.pet |
Filesize |
42.81 KB |
Downloaded |
66 Time(s) |
Description |
|

Download |
Filename |
momanager-20160410.pet |
Filesize |
33.53 KB |
Downloaded |
253 Time(s) |
Description |
|

Download |
Filename |
momanager-20151230.pet |
Filesize |
38.81 KB |
Downloaded |
284 Time(s) |
Description |
libstardust fix for mdview: correct lines in .po files now
|

Download |
Filename |
momanager-20151010.pet |
Filesize |
38.23 KB |
Downloaded |
314 Time(s) |
Description |
for .md files also (markdown-viewer mdview)
|

Download |
Filename |
momanager-20151001.pet |
Filesize |
38.34 KB |
Downloaded |
289 Time(s) |
Description |
|

Download |
Filename |
momanager-20150829.pet |
Filesize |
38.87 KB |
Downloaded |
308 Time(s) |
Description |
|

Download |
Filename |
momanager-20150409.pet |
Filesize |
38.23 KB |
Downloaded |
363 Time(s) |
Last edited by L18L on Fri 18 Aug 2017, 09:54; edited 44 times in total
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Mon 01 Oct 2012, 13:40 Post subject:
official (momanager) language packs Subject description: langpack-template |
|
If you are curious what is inside the langpack-template here is langpack_de-20121001.pet
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Fri 12 Oct 2012, 10:24 Post subject:
official (MoManager) language packs Subject description: pinstall_hacks.sh |
|
Using a customized file pinstall_hacks.sh is officially supported now.
See first post.
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Wed 10 Apr 2013, 11:47 Post subject:
momanager |
|
Inspired by our Danish Puppian maans
and Karl Godt
here is official momanager extended by a small check routine.
If you want the official momanager back
it is in /initrd/pup_ro2/usr/sbin in a frugal install.
feed back appreciated
Have fun
--------------------------------------------------------
[edit 2013-05-04]
Attachment (24 downloads) deleted because improvement is in official momanager now.
see http://bkhome.org/blog2/?viewDetailed=00215
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Sun 05 May 2013, 11:53 Post subject:
momanager Subject description: fast as fast can |
|
Before 2 minutes once and 2 minutes after each action
Now 2 minutes once and 2 seconds after each action
How that?
Storing right and left lists
update (move from right to left) only after successful creation
Code: | #121124 edit script_strings.*, 'read -r' so backslash chars are not escapes.
#130502 L18L/BK: stay in a loop if there is an error converting .po to .mo.
#130503 test if .po file changed.
#130503 L18L: rename AppInfo.xml to AppInfo.xml.in for langpack
#130505 L18L: quick version: caching variables in CACHE/... from 2m to 2s
|
Attached is latest momanager and pinstall.sh
[edit] .. and fixmenus which is also a bit faster [/edit]
Have fun
[edit] Attachments deleted because there is all in one download and updated 5 posts below.
Last edited by L18L on Sun 12 May 2013, 11:58; edited 1 time in total
|
Back to top
|
|
 |
vicmz

Joined: 15 Jan 2012 Posts: 1268
|
Posted: Sun 05 May 2013, 19:58 Post subject:
|
|
The new momanager is real fast
And now a multilingual derivative is possible, too.
Thanks so much, L18L.
_________________ Puppy Linux en español
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Mon 06 May 2013, 06:18 Post subject:
fast momanager |
|
It's really great. Thank you from me too.
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Mon 06 May 2013, 07:44 Post subject:
momanager Subject description: bug fix |
|
#130506 [ ! diff... ] -> diff...
please find the 2 lines in /usr/sbin/momanager containing
[ ! diff
remove the square brackets [ and ] and the !
Barry has found this see http://bkhome.org/blog2/?viewDetailed=00216
|
Back to top
|
|
 |
Bert

Joined: 30 Jun 2006 Posts: 1106
|
Posted: Tue 07 May 2013, 06:56 Post subject:
|
|
Yes, thanks from me also L18L.
What a difference!
_________________

|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Sun 12 May 2013, 11:55 Post subject:
momanager Subject description: fast version update |
|
Though the fast version did not yet make it into woof
Barry has aknowledged new translators.
Thus I have to upgrade the fast version to "aknowledge new translators" too.
One other improvement:
/tmp/momanager was never emptied before (at reboot only)
Now it is emptied at each launch of momanager.
If you are running into problems (no creation of po file possible)
a deletion of /tmp/momanager has helped sometimes before.
Now you should just close momanager and restart.
The restart will empty /tmp/momanager.
----
edit
attachment momanager-20130512.tar.gz (8 times downloaded) deleted
use[url] http://www.murga-linux.com/puppy/viewtopic.php?t=81259&start=85[/url]
Last edited by L18L on Sun 09 Jun 2013, 08:23; edited 4 times in total
|
Back to top
|
|
 |
Bert

Joined: 30 Jun 2006 Posts: 1106
|
Posted: Sun 12 May 2013, 12:05 Post subject:
|
|
Great, just when I needed a fresh copy of momanager.
A question L18L: Is the sanity check for UTF-8 part of your new Momanager?
Yesterday I lost about 2.5 hours of translating, because of the file not being utf-8. When saving my work, Momanager closed, gave a list of curses, and left me with an empty .po..
.poo in the .pot
_________________

Last edited by Bert on Sun 12 May 2013, 14:50; edited 1 time in total
|
Back to top
|
|
 |
Bert

Joined: 30 Jun 2006 Posts: 1106
|
Posted: Sun 12 May 2013, 12:07 Post subject:
|
|
deleted, reply no longer relevant
_________________

Last edited by Bert on Sun 12 May 2013, 15:32; edited 1 time in total
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Sun 12 May 2013, 12:11 Post subject:
|
|
Bert wrote: | Is the sanity check for UTF-8 part of your new Momanager? |
It is not a special check
It is just the error messages you get when using console.
Code: | msgfmt TEXTDOMAIN.po |
Errors are written to console. You can try it.
But you are using poeditor?
No idea how it is there. rodin.s to the rescue
|
Back to top
|
|
 |
Bert

Joined: 30 Jun 2006 Posts: 1106
|
Posted: Sun 12 May 2013, 12:56 Post subject:
|
|
Thanks for explaining.
Yes, I mostly use Poedit, sometimes Geany for quick changes and also Don570's handy right-click mo-po utility.
In Poedit it's just a matter of discipline ( yes, I know the word )... always make sure the 'catalogue' is updated and checking if file is utf-8 and if not changing it to utf-8...before saving.
_________________

|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Tue 14 May 2013, 05:48 Post subject:
|
|
Bert wrote: |  |
So you are waited hand and foot
http://www.redensarten-index.de/suche.php?suchbegriff=~~Hand%20und%20Fuss%20haben&suchspalte[]=rart_ou
Sorry, German only
Nice image momanager's logo
|
Back to top
|
|
 |
|