official (momanager) language packs
back to my "BAD NEWS" returning
Okay, this is about my problem with MoManager described on top of last page.
L18L tried to reproduce it and could not do so.
Neither can I, but I don't need to, as it reproduces itself... randomly.(or so it seems)
I'll try to explain: I can translate a couple of files without any problem and then suddenly things go wrong in one of two ways:
1. This is what happens most often: when trying to edit a left side file, MoManager is unable to merge the .po and .pot files and pops up "BAD NEWS", etc..
2. Same as 1., but a seemingly random amount of right side (untranslated) files (without a .mo) move to the left side.
After restarting MM, everything is back to normal.
As no other translators are complaining about this, I can only conclude:
* no one is really actively using MM at the moment, I mean doing translation with many files still to go.
OR:
* I have a local problem that is not yet understood.
Using the 20130601 pet didn't solve it.
I'm not panicking, as it is more or less usable. But something is definitely not right.
L18L tried to reproduce it and could not do so.
Neither can I, but I don't need to, as it reproduces itself... randomly.(or so it seems)
I'll try to explain: I can translate a couple of files without any problem and then suddenly things go wrong in one of two ways:
1. This is what happens most often: when trying to edit a left side file, MoManager is unable to merge the .po and .pot files and pops up "BAD NEWS", etc..
2. Same as 1., but a seemingly random amount of right side (untranslated) files (without a .mo) move to the left side.
After restarting MM, everything is back to normal.
As no other translators are complaining about this, I can only conclude:
* no one is really actively using MM at the moment, I mean doing translation with many files still to go.
OR:
* I have a local problem that is not yet understood.
Using the 20130601 pet didn't solve it.
I'm not panicking, as it is more or less usable. But something is definitely not right.
[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]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: momanager
Yes or move it elsewhere.[/quote]Bert wrote:...Delete from? /usr/share/doc/nls only?
/usr/sbin/momanager wrote:#120731 any script can have a pre-existing .pot file in /usr/share/doc/nls, it will automatically be used instead of generating a .pot file.
#
So I guess you are using something other than precise5.6.1.Bert wrote:When I type ' which Pcur' in terminal, I get:
Code:
/usr/sbin/pcur
Yes, I had the impression that you wanted to learn somethingBert wrote:The grep stuff is probably for learning purposes?
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: fast momanager
.... and I add:Bert wrote:Well it's a short wish list really:
1. a search/find function, you know the luxurious type: just type 'pc' and up come all the entries for 'pcur'.
2. A 'Preferences' button ( or 'Settings' button) for Momanager:
* whenever I start a new translation, there's the MoManager intro-window, which I have to OK. Not really needed. So in 'Preferences' I tick 'No thanks, I've read it a hundred times'
* whenever I start a new translation, I am asked to choose between 'nl' and 'nl.NL'. I would like to teach MoManager I only use e.g. 'nl'. So this could be in the MoManager 'Preferences' as a predefined choice, not asked again at every new start of a translation.
* whenever I start a new translation, MoManager wants to know if I'm root@localhost ...I'm Bert and I typed in my email address so many times, I will never be able to forget it. So, in 'Preferences' there's a field to enter your email address once and for all.
suppress create button for empty list
.... and I readd:
sort by base name.......
.... and forkAt http://puppylinux.com/development/project-statement.htm BarryK wrote:Now to get onto what really matters... having fun with Puppy.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
forked fast momanager
Wish number 2 became true
Note the Preferences button
Have fun
Note the Preferences button
Have fun
- Attachments
-
- momanager-20130603.pet
- (26.22 KiB) Downloaded 459 times
Wow .. what can I say, never really expected you to implement this and certainly not this fast. Just wonderful
* Email: It now says "Automatically generated" in the .po heading. When does this happen? I reopened a translated file and it still says this. Email generation when the pet is created?
Thank You Very Much L18L!
Code: Select all
showINTRO=no
transLANG=nl
myEMAIL=bert@
Thank You Very Much L18L!
[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]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
bug
Sorry, my bugBert wrote:* Email: It now says "Automatically generated" in the .po heading.
gettext-tool msginit scans your PC about all known email clients where there could be your email addresses (yes: plural)
and $USER@$HOST which is root@localhost. If there is more than 1 address it has to be selected, just one address has to be confirmed.
I have inserted the --no-translator parameter which creates the "Automatically generated".
... and wanted to change this into $myEMAIL.
Reviewing the code I see my mistake: I forgot to change de.po (my test file) to output-file ${ATEXTDOMAIN}.po
in lines: 917 1062 1647 1656
Code: Select all
sed -i 's/ de.po/ ${ATEXTDOMAIN}.po/' /usr/sbin/momager
Or wait for next version which will have also other improvements
Repaired
(after correcting 'momager' typo in code)
((funny, I often have that typo too! ))
It works flawlessly on new files.
But the file I translated yesterday still has "Automatically generated" in the header, even after editing and saving it twice.
So, for existing translations the programme doesn't use the $myEMAIL , it seems.
(which is maybe a design decision, not a bug )
Thanks again.
(after correcting 'momager' typo in code)
((funny, I often have that typo too! ))
It works flawlessly on new files.
But the file I translated yesterday still has "Automatically generated" in the header, even after editing and saving it twice.
So, for existing translations the programme doesn't use the $myEMAIL , it seems.
(which is maybe a design decision, not a bug )
Thanks again.
[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]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
forked fast momanager
Yes it it is a design decision.Bert wrote:...
So, for existing translations the programme doesn't use the $myEMAIL , it seems.
(which is maybe a design decision, not a bug )
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 455 times
-
- momanager_search.png
- (54.2 KiB) Downloaded 388 times
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'...
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 )
I'll continue playing with FFMM-20130604 now.
Thanks!
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'...
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 )
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]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
But it is fun to reply.Bert wrote:"--empty--"...nice..but why? (no need to reply, I'll get it in a few hours )
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.
editing new files stopped working
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':
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]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: editing new files stopped working
What is FFMM-20130604?Bert wrote:Anyone else seeing this with FFMM-20130604?
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
forked fast momanager
...donein 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.
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.
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
Re: editing new files stopped working
Hmm, I'm just reporting what I'm experiencing, hoping it can be helpful.L18L wrote:What is FFMM-20130604?Bert wrote:Anyone else seeing this with FFMM-20130604?
[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]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
Re: editing new files stopped working
Same here for v2013-06-05, edit existing files works but create new doesn't, it just reloads Momanager.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
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
FFMM
Bert,
sorry, I really did not understand that abbreviation yesterday
Marilyn Monroe in Frankfurt/Main came to my mind
Victor,
thanks for confirming the bug
which is fixed in version 130606 now:
#130606 L18L bug fix create_mo, ~/.config/momanager edited
sorry, I really did not understand that abbreviation yesterday
Marilyn Monroe in Frankfurt/Main came to my mind
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 479 times
Thanks for the bug fix. It's working well now.
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)
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]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
forked fast momanager
Bert,
the little thing was 65 changes
But we can do it in 1 comment line and 1 code line
.. and you have version 130607
the little thing was 65 changes
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
Last edited by L18L on Sat 08 Jun 2013, 11:39, edited 3 times in total.
Re: forked fast momanager
If I had known that beforehand, I would have never dared to mention itL18L wrote:Bert,
the little thing was 65 changes
(you don't deserve that much fun )
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]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: forked fast momanager
drag and drop to a console and press ENTER keyBert wrote:[Think I'll wait for your next release, as I don't know where to put the code line (sed -i...)]
What else is required for next release?