Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 02 Sep 2014, 15:54
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
official (momanager) language packs
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 12 [176 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 10, 11, 12 Next
Author Message
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Wed 05 Jun 2013, 13:15    Post subject: forked fast momanager
Subject description: check dates of script an mo file
 

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.
momanager_dates_checked.png
 Description   
 Filesize   11.28 KB
 Viewed   162 Time(s)

momanager_dates_checked.png

momanager-20130605.pet
Description 
pet

 Download 
Filename  momanager-20130605.pet 
Filesize  27.16 KB 
Downloaded  131 Time(s) 
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 927

PostPosted: Wed 05 Jun 2013, 14:57    Post subject: Re: editing new files stopped working
Subject description: FFMM-20130604
 

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.

_________________


Back to top
View user's profile Send private message 
vicmz


Joined: 15 Jan 2012
Posts: 1105

PostPosted: Wed 05 Jun 2013, 18:20    Post subject: Re: editing new files stopped working  

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 Smile

EDIT: 'preferences':

Quote:
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.

_________________
OB Precise 14.07.26 Woof-CE|Puppy Linux en español
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Thu 06 Jun 2013, 05:38    Post subject: FFMM
Subject description: v130606
 

Bert,
sorry, I really did not understand that abbreviation yesterday Cool
Marilyn Monroe in Frankfurt/Main came to my mind Laughing

Victor,
thanks for confirming the bug

which is fixed in version 130606 now:
#130606 L18L bug fix create_mo, ~/.config/momanager edited
momanager-20130606.pet
Description  creates new config file
click "preferences" at first use please
pet

 Download 
Filename  momanager-20130606.pet 
Filesize  27.35 KB 
Downloaded  229 Time(s) 
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 927

PostPosted: Thu 06 Jun 2013, 08:32    Post subject:  

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

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)

_________________


Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Fri 07 Jun 2013, 14:35    Post subject: forked fast momanager
Subject description: 130607
 

Bert,

the little thing was 65 changes Wink

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

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


Code:
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, 07:39; edited 3 times in total
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 927

PostPosted: Sat 08 Jun 2013, 06:36    Post subject: Re: forked fast momanager
Subject description: 130607
 

L18L wrote:
Bert,

the little thing was 65 changes Wink


If I had known that beforehand, I would have never dared to mention it Embarassed

(you don't deserve that much fun Laughing )

Thank you L18L!

[Think I'll wait for your next release, as I don't know where to put the code line (sed -i...)]

_________________


Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 08 Jun 2013, 07:34    Post subject: Re: forked fast momanager
Subject description: 130607
 

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?
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 927

PostPosted: Sat 08 Jun 2013, 08:19    Post subject: Re: forked fast momanager
Subject description: 130607
 

L18L wrote:

What else is required for next release?


- basename. not PATH Question

- 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!

_________________


Back to top
View user's profile Send private message 
vicmz


Joined: 15 Jan 2012
Posts: 1105

PostPosted: Sat 08 Jun 2013, 08:42    Post subject:  

Fast and Furious Marilyn Monroe running fine here. Thank you for your hard work, L18L. Very Happy
_________________
OB Precise 14.07.26 Woof-CE|Puppy Linux en español
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 08 Jun 2013, 09:56    Post subject: forked fast momanager
Subject description: re: requests
 

Poor Victor, more and more stuff for MM for dummies

Bert, we live high up in the mountains here Laughing

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:
 ls /usr/share/doc/nls/*/*.pot
Embarassed 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 Exclamation
Code:
rm -r /usr/share/doc/nls/peasyscan


Storing pot files is from pre_MM-ages Laughing
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:
# 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 Exclamation
get_libreoffice/ deleted
obconf is binary
grub4dosconfig/ deleted

Thank you, langpack_de is going to become a bit less bloated. Cool

Bert wrote:
- basename. not PATH Question
All right. I was also having some trouble to find a script.....
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 927

PostPosted: Sat 08 Jun 2013, 15:25    Post subject:  

vicmz wrote:
Thank you for your hard work, L18L. Very Happy

+1 Cool

L18L wrote:
Poor Victor, more and more stuff for MM for dummies


Yeah, but cover ready for printing press:


_________________


Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sun 09 Jun 2013, 03:39    Post subject: FFMM
Subject description: for dummies
 


Last edited by L18L on Sun 09 Jun 2013, 07:51; edited 4 times in total
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sun 09 Jun 2013, 07:48    Post subject: forked fast momanager
Subject description: version 130609
 

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/viewtopic.php?t=81259&start=137
momanager_basenames.png
 Description   Making find of any Script in drop down lists easy now
 Filesize   17 KB
 Viewed   253 Time(s)

momanager_basenames.png


Last edited by L18L on Wed 16 Oct 2013, 12:18; edited 1 time in total
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 927

PostPosted: Sun 09 Jun 2013, 09:02    Post subject:  

A mi gusto! Laughing

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)



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

Thank You!

_________________


Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 5 of 12 [176 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 10, 11, 12 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0931s ][ Queries: 12 (0.0053s) ][ GZIP on ]