official (momanager) language packs

For efforts in internationalising Puppy and solving problems in this area
Message
Author
User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

forked fast momanager

#68 Post by L18L »

Bert wrote:...
So, for existing translations the programme doesn't use the $myEMAIL , it seems.
(which is maybe a design decision, not a bug :wink: )
Yes it it is a design decision.
msginit is invoked only for create.

Here is next version 130604 :

language in head line
--empty-- simply makes momanager restart now
search
Attachments
momanager-20130604.pet
(26.76 KiB) Downloaded 456 times
momanager_search.png
(54.2 KiB) Downloaded 388 times

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

#69 Post by Bert »

Looking good!

Nice to have the correct language notation on top ('de' or 'de.DE')

After reading your thread about"How to find typo in mo file", I'm beginning to understand what you had in mind for the search engine.

To be honest, my proposal was much more modest: I was thinking about a find-function only for the script names in the Momanager lists. That was before you decided to reconsider 'sort by basename'... :wink:

But I can see how your search function will become useful.

"--empty--"...nice..but why? (no need to reply, I'll get it in a few hours :lol: )

I'll continue playing with FFMM-20130604 now.
Thanks!
[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/

#70 Post by L18L »

Bert wrote:"--empty--"...nice..but why? (no need to reply, I'll get it in a few hours :lol: )
But it is fun to reply.

You will never get it because nothing happens.
Before this improvement I had to cancel the edit of a file named ".po" and click some cancel buttons when I was accidently clicking "create" button for --empty--.

BTW do you have --empty-- at left side?
If yes then you could have tried it. :wink:

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

editing new files stopped working

#71 Post by Bert »

Problem: scripts from the right side, when clicked to edit, don't open in editor.

Editing existing translated scripts (left side): no problem.

Editing new XML (right): no problem.

When clicking a right side script, there's a short flashing window and then Momanager returns to its main page.

Anyone else seeing this with FFMM-20130604?

Back to the garden now :)

EDIT: 'preferences':
showINTRO=no
transLANG=nl
myEMAIL=bert@localpub
Last edited by Bert on Wed 05 Jun 2013, 19:23, edited 1 time in total.
[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: editing new files stopped working

#72 Post by L18L »

Bert wrote:Anyone else seeing this with FFMM-20130604?
What is FFMM-20130604?

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

forked fast momanager

#73 Post by L18L »

in another thread rodin.s wrote:Interesting link. I have learned something new although I have some experience with gettext.
A bit offtopic but I was thinking about script that finds updated scripts. When script is updated mo-file sometimes should be updated too, if translation is changed. I was thinking about script that should compare date of a script a date of corresponding mo-file and if script is newer than mo-file then in should be in the list of updated scripts.
...done

Note,
_ and X are configurable
That is why config file /root/.config/momanager will be deleted and newly created.
...and you will have to edit your preferences once again. :wink:

Note2,
The mark X is not immediately changed to _ because fast momanager shall stay fast
At next new start of momanager these marks are-up-to-date.
Attachments
momanager_dates_checked.png
(11.28 KiB) Downloaded 281 times
momanager-20130605.pet
(27.16 KiB) Downloaded 445 times

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

Re: editing new files stopped working

#74 Post by Bert »

L18L wrote:
Bert wrote:Anyone else seeing this with FFMM-20130604?
What is FFMM-20130604?
Hmm, I'm just reporting what I'm experiencing, hoping it can be helpful.
[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
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

Re: editing new files stopped working

#75 Post by vicmz »

Bert wrote:Problem: scripts from the right side, when clicked to edit, don't open in editor.

Editing existing translated scripts (left side): no problem.

Editing new XML (right): no problem.

When clicking a right side script, there's a short flashing window and then Momanager returns to its main page.

Anyone else seeing this with FFMM-20130604?

Back to the garden now :)

EDIT: 'preferences':
showINTRO=no
transLANG=nl
myEMAIL=bert@localpub
Same here for v2013-06-05, edit existing files works but create new doesn't, it just reloads Momanager.
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

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

FFMM

#76 Post by L18L »

Bert,
sorry, I really did not understand that abbreviation yesterday 8)
Marilyn Monroe in Frankfurt/Main came to my mind :lol:

Victor,
thanks for confirming the bug

which is fixed in version 130606 now:
#130606 L18L bug fix create_mo, ~/.config/momanager edited
Attachments
momanager-20130606.pet
creates new config file
click "preferences" at first use please
(27.35 KiB) Downloaded 481 times

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

#77 Post by Bert »

Thanks for the bug fix. It's working well now. 8)

One little thing I just noticed after posting the Peasyglue translation:

Fast and Furious Marilyn Monroe looks at the pc's locale when giving a .mo its name. It does not 'see' the transLANG in preferences.

Peasyglue was translated with transLANG : nl

but this is the resulting archive: MoManager-nl_NL-peasyglue-1.4.tar.gz

(this, of course, has nothing to do with the new MoManager version)
[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/

forked fast momanager

#78 Post by L18L »

Bert,

the little thing was 65 changes :wink:

But we can do it in 1 comment line and 1 code line

Code: Select all

#130607 L18L changing all 'MoManager-${ORIGLANG12' to 'MoManager-${transLANG' requested by Bert

Code: Select all

sed -i 's/MoManager-${ORIGLANG12/MoManager-${transLANG/g' /usr/sbin/momanager
.. and you have version 130607
Last edited by L18L on Sat 08 Jun 2013, 11:39, edited 3 times in total.

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

Re: forked fast momanager

#79 Post by Bert »

L18L wrote:Bert,

the little thing was 65 changes :wink:
If I had known that beforehand, I would have never dared to mention it :oops:

(you don't deserve that much fun :lol: )

Thank you L18L!

[Think I'll wait for your next release, as I don't know where to put the code line (sed -i...)]
[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: forked fast momanager

#80 Post by L18L »

Bert wrote:[Think I'll wait for your next release, as I don't know where to put the code line (sed -i...)]
drag and drop to a console and press ENTER key

What else is required for next release?

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

Re: forked fast momanager

#81 Post by Bert »

L18L wrote: What else is required for next release?
- basename. not PATH :?:

- I liked the proposal by don570: some kind of warning when a .pot file from /usr/share/doc/nls will be used by Momanager. Checking the pot creation date is not so straightforward for poedit users as it is for Geany users.
I don't know if your new "up-to-date?"code (the idea by rodin.s) covers this or if/how it deals with pot files taken from /usr/share/doc/nls.

Off-topic: I saw the German floods images. Brrr.
Hope your house and area are safe!
[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
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#82 Post by vicmz »

Fast and Furious Marilyn Monroe running fine here. Thank you for your hard work, L18L. :D
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

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

forked fast momanager

#83 Post by L18L »

Poor Victor, more and more stuff for MM for dummies

Bert, we live high up in the mountains here :lol:
Bert wrote:- I liked the proposal by don570: some kind of warning when a .pot file from /usr/share/doc/nls will be used by Momanager. Checking the pot creation date is not so straightforward for poedit users as it is for Geany users.
I don't know if your new "up-to-date?"code (the idea by rodin.s) covers this or if/how it deals with pot files taken from /usr/share/doc/nls.!
Date of mo file is compared with date of script resulting in _ or +. That's all.

Now trying to find a pot file

Code: Select all

 ls /usr/share/doc/nls/*/*.pot
:oops: 41 pot files !

1 example: peasyscan.po
"POT-Creation-Date: 2013-02-26 19:09+0800\n"
"PO-Revision-Date: 2013-02-26 19:59+0100\n"

I will delete the pot file and its directory and there is no problem anymore :!:

Code: Select all

rm -r /usr/share/doc/nls/peasyscan
Storing pot files is from pre_MM-ages :lol:
Invented by shinobar IIRC.
But now only necessary if momanager cannot produce an actual pot file. The only known case is alsaconf.....

The same is valid for po files:

Code: Select all

# ls /usr/share/doc/nls/*/*.po
/usr/share/doc/nls/get_libreoffice/de.po  /usr/share/doc/nls/obconf/de.po
/usr/share/doc/nls/grub4dosconfig/de.po
#
oops again :!:
get_libreoffice/ deleted
obconf is binary
grub4dosconfig/ deleted

Thank you, langpack_de is going to become a bit less bloated. 8)
Bert wrote: - basename. not PATH :?:
All right. I was also having some trouble to find a script.....

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

#84 Post by Bert »

vicmz wrote: Thank you for your hard work, L18L. :D
+1 8)
L18L wrote:Poor Victor, more and more stuff for MM for dummies
Yeah, but cover ready for printing press:

Image
[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/

FFMM

#85 Post by L18L »

Image
Last edited by L18L on Sun 09 Jun 2013, 11:51, edited 4 times in total.

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

forked fast momanager

#86 Post by L18L »

New:
Scripts displayed as base name → path
→ is configurable

Making find of any Script in drop down lists easy now




edit
momanager-20130609.pet deleted
please use recent pet at http://www.murga-linux.com/puppy/viewto ... &start=137
Attachments
momanager_basenames.png
Making find of any Script in drop down lists easy now
(17 KiB) Downloaded 350 times
Last edited by L18L on Wed 16 Oct 2013, 16:18, edited 1 time in total.

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

#87 Post by Bert »

A mi gusto! :lol:

Nice to see the left column full of smilies...

This improvement is even better than I had imagined. Really very nice!

The only place where it gets a bit more difficult is with the many "func_" entries (Pburn, Pmusic)

Image

But the ease of the rest of the sorting more than makes up for this.

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]

Post Reply