official (momanager) language packs

For efforts in internationalising Puppy and solving problems in this area
Post Reply
Message
Author
User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#16 Post 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:
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

fast momanager bug

#17 Post 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.

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

Re: fast momanager bug

#18 Post 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.
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

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

fast momanager

#19 Post 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
Last edited by L18L on Mon 20 May 2013, 09:23, edited 1 time in total.

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#20 Post 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!
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

#21 Post by rodin.s »

If several scripts have same textdomain, then one common po-file is used for all of them. So it doesn't matter which one of them to choose.
Now I am going to test new MoManager.

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#22 Post by Bert »

rodin.s wrote:If several scripts have same textdomain, then one common po-file is used for all of them. So it doesn't matter which one of them to choose.
Now I am going to test new MoManager.
Understood :idea:

Thanks for your help!
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

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

fast momanager

#23 Post by L18L »

rodin.s wrote:If several scripts have same textdomain, then one common po-file is used for all of them. So it doesn't matter which one of them to choose.
Now I am going to test new MoManager.
current momanager does not update correctly these.
I am working on it now ( :arrow: xEXTRASCRIPTS )
Special Monday service :lol:

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

fast momanager

#24 Post by L18L »

L18L wrote:...I am working on it now...
... done 130520

Code: Select all

    #no_to_yes $CACHE/NOMO_XML "${ASCRIPT}" $CACHE/YESMO_XML  # update YESMO_XML NOMO_XML #130519
    SCRIPTS="`cat /tmp/momanager/xEXTRASCRIPTS | rev | cut -d'.' -f2- | rev`" #130520
    no_to_yes $CACHE/NOMO_XML "${SCRIPTS}" $CACHE/YESMO_XML  # update YESMO_XML NOMO_XML #130520
xEXTRASCRIPTS are used Instead of ASCRIPT.
xEXTRASCRIPTS always exists even there is one script only.
.sh has to be cut off of the script names xEXTRASCRIPTS

fast momanager-20130520 will be uploaded soon.... [edit] ...done :)

------
edit
forget this
take next one :lol:

[edit] attachment deleted
use momanager-20130522 at
http://murga-linux.com/puppy/viewtopic. ... 9&start=31 please

[edit]use momanager-20130609 at
http://murga-linux.com/puppy/viewtopic. ... 9&start=85
Last edited by L18L on Sun 09 Jun 2013, 12:25, edited 3 times in total.

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

fast momanager

#25 Post by L18L »

Bert wrote:...Proudly running momanager 20130529...the first script ever to arrive from the future :lol:
... and here comes the second script from the future (tomorrow):

fast momanager-20130521 can handle create and edit of the created pot from binary now..... (pretty cryptic)

Entry in left list is different from entry in right list, so it had to be changed by sed:

Code: Select all

   sed -i "s#(${ANAME}#(${TRANSLANG} ${AMO}#" $CACHE/YESBIN_XML #130521
[edit] attachment deleted
use momanager-20130522 at
http://murga-linux.com/puppy/viewtopic. ... 9&start=31 please

[another edit] or better:
http://www.murga-linux.com/puppy/viewto ... 9&start=50
edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=57

edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=85
Last edited by L18L on Sun 09 Jun 2013, 12:27, edited 5 times in total.

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

Re: fast momanager

#26 Post by Bert »

Replying quickly, before it's tomorrow... :)

Running 20130521 now, no visible changes, I play with it some more tonight.
L18L wrote: .... (pretty cryptic)
Yes :?

But I do hope it can help in this situation, which happens too often:

Image

Imagine "WOOF1.po" being empty window...and "WOOF.po" non-existant..

grrr.

Also this is re-occuring: translated XML files showing up on the right side again. Always the same four. As soon as one is edited, all four are on the left side again:
Image

Today I translated petget. Of the nine petget entries only one is showing up translated ('configure' the one I translated first.)
No errors, no warnings in Poedit.
I checked several of the petget.po's in terminal (msgfmt), again no errors. Put the created .mo's in LC_MESSAGES, no difference.

Hope this can be useful.
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

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

Re: fast momanager

#27 Post by L18L »

Thank you Bert, comments are always helpful.
Bert wrote:...Imagine "WOOF1.po" being empty window...and "WOOF.po" non-existant..
That is correct: there is no script named WOOF or TEXTDOMAIN=WOOF
Where does this happen?
Edit
script
menu category
menu entry
XML file ?

I am going to check XML files now...

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

Re: fast momanager

#28 Post by L18L »

L18L wrote:...I am going to check XML files now...
found it :lol:
find line
echo $NOXML_XML > $CACHE/NOXML_XML #130505
and change it to:
#echo $NOXML_XML > $CACHE/NOXML_XML #130505
echo -n "$NOXML_XML" > $CACHE/NOXML_XML #130522

thus every XML file has its own single line
and only the one which has been created is correctly moved to the list on the left side.



edit

or simply use new momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=50
edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=57
edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=85
Last edited by L18L on Sun 09 Jun 2013, 12:28, edited 3 times in total.

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#29 Post by Bert »

Hi L18L,

It happened while trying to open and edit a file in left column, scripts.("scripts that have a mo file"). (and happens all the time)

I have now discovered what happened while translating petget:

I was happily translating away the petget entries, moving one after the other to the left side. After having translated about 9 entries, I opened the right dropdown again, to start the next one. Only to discover there were no petget entries left in the right side list!

With my newly acquired knowledge (thanks Sergey) I concluded the entries that disappeared must have all had the same text domain as the last one I translated.

But...after I installed Momanager-20130521 and checked the right side scripts dropbox, there were 7 petget items waiting for translation!

I think that clearly shows there's a bug...
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#30 Post by Bert »

Yes! You found it. Congrats!

(...and I found the search function in Geany :wink: )

I did the change you proposed with Momanager closed. Then opened it again and edited the first of the four entries. It moved to the left, without taking the others with it, great!
After editing them all, I closed and restarted momanager: only 1 item returned to the right side xml box: AppInfo.xml (build_gettext-plus-0.5)

Maybe because that is not a default puppy app..?
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

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

fast momanager

#31 Post by L18L »

L18L wrote:...Same procedure as with binaries....
Not exactly

find in /usr/sbin/momanager the line:
no_to_yes $CACHE/NOMO_XML "${SCRIPTS}" $CACHE/YESMO_XML # update YESMO_XML NOMO_XML #130520

and append:

for ASCRIPT in $SCRIPTS ; do #130522
sed -i "s#(${ATEXTDOMAIN}#(${ATRANSLANG} ${ATEXTDOMAIN}.mo#" $CACHE/YESMO_XML #130522
done #130522

Hope that helps
not hope I am sure :lol:




edit

or simply use new momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=50

edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=57

edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=85
Last edited by L18L on Sun 09 Jun 2013, 12:29, edited 4 times in total.

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

fast momanager

#32 Post by L18L »

For your convenience here is now:

fast momanager-20130522

why fast and how fast?

All drop down lists (left: translated, right: not translated) are created just once. Time for this was about 2 minutes on my (1.5GHz) box.

When a translation was being created then the entry is moved from right to left. Time for displaying the main window was about 2 seconds on my (1.5GHz) box.

As fixmenus is run when create/edit menu entries a slightly faster version of fixmenus is also included. It is faster just by using some builtin shell commands instead of echo grep cut (thanks technosaurus :D )



edit
attachment (32 times downloaded) deleted
simply use new momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=50
edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=57
edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=85
Last edited by L18L on Sun 09 Jun 2013, 12:29, edited 5 times in total.

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#33 Post by Bert »

I am SO HAPPY I could kiss you!!

Everything just works now and INCREDIBLY fast.

Let the translation fun begin...

Well done L18L (and in record time!)

THANK YOU :!: :!:
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

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

fast momanager

#34 Post by L18L »

Would not have got it without your help. :D
Next time I should do more testing before publishing :oops:

I am hoping it can make it into woof now.
See http://bkhome.org/blog2/?viewDetailed=00229

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

xorgwizard and xorgwizard-cli

#35 Post by rodin.s »

One strange thing about MoManager is: when I choose to edit xorgwizard I got lines from xorgwizard-cli (has different textdomain) in the po-file.

Post Reply