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 Sat 30 Aug 2014, 10:24
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 Posts_count   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: Tue 04 Jun 2013, 11:27    Post_subject: forked fast momanager
Sub_title: next version
 

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
momanager-20130604.pet
Description 
pet

 Download 
Filename  momanager-20130604.pet 
Filesize  26.76 KB 
Downloaded  132 Time(s) 
momanager_search.png
 Description   
 Filesize   54.2 KB
 Viewed   229 Time(s)

momanager_search.png

Back to top
View user's profile Send_private_message 
Bert


Joined: 30 Jun 2006
Posts: 927

PostPosted: Tue 04 Jun 2013, 12:37    Post_subject:  

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

I'll continue playing with FFMM-20130604 now.
Thanks!

_________________


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: Tue 04 Jun 2013, 13:21    Post_subject:  

Bert wrote:
"--empty--"...nice..but why? (no need to reply, I'll get it in a few hours Laughing )
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
Back to top
View user's profile Send_private_message 
Bert


Joined: 30 Jun 2006
Posts: 927

PostPosted: Wed 05 Jun 2013, 12:14    Post_subject: 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 Smile

EDIT: 'preferences':

Quote:
showINTRO=no
transLANG=nl
myEMAIL=bert@localpub

_________________



Edited_time_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: Wed 05 Jun 2013, 13:15    Post_subject: Re: editing new files stopped working
Sub_title: FFMM-20130604
 

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

What is FFMM-20130604?
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: Wed 05 Jun 2013, 13:15    Post_subject: forked fast momanager
Sub_title: 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   161 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
Sub_title: 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
Sub_title: 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  228 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
Sub_title: 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

Edited_times_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
Sub_title: 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
Sub_title: 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
Sub_title: 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 
Display_posts:   Sort by:   
Page 5 of 12 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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