Page 1 of 15

official (momanager) language packs

Posted: Mon 01 Oct 2012, 17:13
by L18L
EDIT 2019-01-18 latest MoManager, used with EasyOS

momanager-20190118.pet
http://murga-linux.com/puppy/viewtopic. ... &id=121217
____________________________


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/viewto ... 734#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 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/quirky ... 150309.pet


EDIT november 2014
download recent MoManager from http://murga-linux.com/puppy/viewtopic. ... 307#810307


EDIT
forget this buggy version:
download recent MoManager from http://www.murga-linux.com/puppy/viewto ... &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: Select all

#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)
------------------

official (momanager) language packs

Posted: Mon 01 Oct 2012, 17:40
by L18L
If you are curious what is inside the langpack-template here is langpack_de-20121001.pet
:)

official (MoManager) language packs

Posted: Fri 12 Oct 2012, 14:24
by L18L
Using a customized file pinstall_hacks.sh is officially supported now.
See first post.

momanager

Posted: Wed 10 Apr 2013, 15:47
by L18L
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 :D

--------------------------------------------------------
[edit 2013-05-04]

Attachment (24 downloads) deleted because improvement is in official momanager now.
see http://bkhome.org/blog2/?viewDetailed=00215

momanager

Posted: Sun 05 May 2013, 15:53
by L18L
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: Select all

#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 :D

[edit] Attachments deleted because there is all in one download and updated 5 posts below.

Posted: Sun 05 May 2013, 23:58
by vicmz
The new momanager is real fast 8)
And now a multilingual derivative is possible, too.
Thanks so much, L18L.

fast momanager

Posted: Mon 06 May 2013, 10:18
by rodin.s
It's really great. Thank you from me too.

momanager

Posted: Mon 06 May 2013, 11:44
by L18L
#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 :)

Posted: Tue 07 May 2013, 10:56
by Bert
Yes, thanks from me also L18L.

What a difference!

momanager

Posted: Sun 12 May 2013, 15:55
by L18L
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
usehttp://www.murga-linux.com/puppy/viewto ... 9&start=85

Posted: Sun 12 May 2013, 16:05
by Bert
Great, just when I needed a fresh copy of momanager. :wink:

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 :lol:

Posted: Sun 12 May 2013, 16:07
by Bert
deleted, reply no longer relevant

Posted: Sun 12 May 2013, 16:11
by L18L
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: Select all

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 :wink:

Posted: Sun 12 May 2013, 16:56
by Bert
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 :oops: )... always make sure the 'catalogue' is updated and checking if file is utf-8 and if not changing it to utf-8...before saving.



Image

Posted: Tue 14 May 2013, 09:48
by L18L
Bert wrote:Image
So you are waited hand and foot :lol:

http://www.redensarten-index.de/suche.p ... []=rart_ou
Sorry, German only :oops:

Nice image :arrow: momanager's logo :)

Posted: Tue 14 May 2013, 11:52
by Bert
L18L wrote:
Bert wrote:Image
So you are waited hand and foot :lol:

http://www.redensarten-index.de/suche.p ... []=rart_ou
Sorry, German only :oops:

Nice image :arrow: momanager's logo :)
Haha, just for fun I typed 'momanager' in search engine>images and was surprised something came up. I didn't even look at the origin of this great image. Now I did: Momager.nl, an artists booking agency.

Aber Herr L18L, deine Unternehmung hat Hand und Fuß - ich mache mit! :)

Dict.cc looks good! Seems to be more complete in German than in Dutch though.

Bleib Pate stehen bitte ... :lol:

fast momanager bug

Posted: Sat 18 May 2013, 18:57
by rodin.s
Fast MoManager has some bug when entry moves from the right dropdown list to the left one. I guess when this move takes place MoManager should be updated. MoManager shouldn't be updated when entry from left dropdown list is edited.

Re: fast momanager bug

Posted: Sat 18 May 2013, 19:12
by Bert
rodin.s wrote:Fast MoManager has some bug when entry moves from the right dropdown list to the left one. I guess when this move takes place MoManager should be updated. MoManager shouldn't be updated when entry from left dropdown list is edited.
I'm glad you brought this up. I thought it was me, not really knowing what I'm doing, causing this instability.

I usually close Momanager when this happens. Restarting it after rebooting the X server doesn't seem to help. A complete reboot is needed.

In my case about 2/3 of the top-selection box (the long list) on the right side suddenly moves to the left.

The opposite also happens: three or four items going back from left to right in the Appinfo selection box. Opening one of them for editing, editing and then closing it, all four items are back to the left side of Momanager.

:shock: :)

EDIT 19-05 After rereading rodin s.'s post I now realise he is talking about a different bug...maybe related to what I'm experiencing?
What I describe above is definetely abnormal behaviour, not caused by something I did wrong, as far as I can see. (fresh install)

But apologies to rodin s. for taking the focus away from his report.

fast momanager

Posted: Sun 19 May 2013, 12:21
by L18L
Thank you both reports are useful.

It was me who made the mistake.
I did not notice because I had not much at the right side.
It had used the wrong variable.

#130519 L18L bug fix: instead of APKGNAME use ASCRIPT, DESKFILE, XMLFILE, ABIN; code for sss and menu categories unchanged

I have tested: now only 1 (the right one) is moved from right to left.

This is at the beginning of the left list which is in my experience very useful because you do not need to search it in the long list when you want to edit it.

The lists are only updated (entry moved from right to left) when "create" button was used.

Content of entire directory /tmp/momanager is deleted when you restart momanager (2 minutes or more wait.....), no need for restart X or reboot.....

----

edit 20130520
deleted attachment (downloaded 7 times)
bug fixed version 20130520 5 posts down

Posted: Sun 19 May 2013, 14:33
by Bert
Wow, that was fast! Special Sunday Service :D

Proudly running momanager 20130529...the first script ever to arrive from the future :lol:

A question I need to ask for peace of mind: yesterday I translated Pfind.

Pfind has 5 entries in momanager:

* Pfind/box_yesno
* Pfind/func
* Pfind/func_filter
* Pfind/func_openwith
* Pfind/pfind

I translated the first one, box_yesno and saved.

Now all 5 of them are in the left column in momanager. And the translated Pfind is looking good, running pfine...

I opened an other (than box_yesno) file and the content is the same as box_yesno.

Is this default behaviour (and okay for pfind) or also a result of the former momanager version?

Thanks in advance!