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 25 Oct 2014, 02:40
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 6 of 14 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 12, 13, 14 Next
Author Message
L18L

Joined: 19 Jun 2010
Posts: 2530
Location: Moved from Hosla to www.eussenheim.de

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  242 Time(s) 
Back to top
View user's profile Send_private_message 
Bert


Joined: 30 Jun 2006
Posts: 950

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: 2530
Location: Moved from Hosla to www.eussenheim.de

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: 950

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: 2530
Location: Moved from Hosla to www.eussenheim.de

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: 950

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: 1117

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: 2530
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Sat 08 Jun 2013, 09:56    Post_subject: forked fast momanager
Sub_title: 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: 950

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: 2530
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Sun 09 Jun 2013, 03:39    Post_subject: FFMM
Sub_title: for dummies
 


Edited_times_total
Back to top
View user's profile Send_private_message 
L18L

Joined: 19 Jun 2010
Posts: 2530
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Sun 09 Jun 2013, 07:48    Post_subject: forked fast momanager
Sub_title: 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   258 Time(s)

momanager_basenames.png


Edited_time_total
Back to top
View user's profile Send_private_message 
Bert


Joined: 30 Jun 2006
Posts: 950

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 
L18L

Joined: 19 Jun 2010
Posts: 2530
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Mon 10 Jun 2013, 10:04    Post_subject: FFMM
Sub_title: 130610
 

New:
Sort of Binary executables same as Scripts
Highlight search term in search result

2 more configuration variables,
SHOW_SEARCH_RESULT and
HIGH_BG which is a background colour.
Code:
### edit between = and #   
showINTRO=no               # anything other than yes will skip the intro   
transLANG=de               # de_DE or de
myEMAIL=fido@localhost     # used when create a mo file
ISIN=☺                                         #       1 printable character to indivate mo file newer than script: ☺ or _
NOTIN=↻                                       # other 1 printable character to indicate mo file older than script: ↻ or X
SEPARATOR=⇔                               # or → or :                different from ISIN and NOTIN
SHOW_SEARCH_RESULT=1       # =0 in Xdialog without highlight or =1 highlighted in defaulthtmlviewer
HIGH_BG='lightyellow'      # background colour for search term in search result
                           #         or choose colour with Gcolor2 (Menu > Graphics)
HIGH_BG='rgb(255,255,204)' # background colour for search term in search result


Have fun Very Happy

edit

No wait some moments:

I am going to make it easier, without html using builtin --colour of grep
momanager_highlight_context.png
 Description   highlighted by grep
context: 1 line before and 2 lines after
 Filesize   23.71 KB
 Viewed   207 Time(s)

momanager_highlight_context.png

momanager_highlight.png
 Description   search result in browser
 Filesize   49.35 KB
 Viewed   209 Time(s)

momanager_highlight.png

Back to top
View user's profile Send_private_message 
L18L

Joined: 19 Jun 2010
Posts: 2530
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Mon 10 Jun 2013, 13:30    Post_subject: FFMM
Sub_title: 130610
 

L18L wrote:
... I am going to make it easier, without html using builtin --colour of grep


Proudly presenting FFMM 130610

Arrow Binary executables in same sort order like Scripts
Arrow Search result highlighted in console
Arrow Search configurable context lines and geometry of result

Fun Very Happy



edit
momanager-20130610.pet deleted
please use recent pet at http://www.murga-linux.com/puppy/viewtopic.php?t=81259&start=137
momanager_search_highlight_context.png
 Description   search result
highlighted
configurable number of context lines
 Filesize   18.7 KB
 Viewed   187 Time(s)

momanager_search_highlight_context.png


Edited_time_total
Back to top
View user's profile Send_private_message 
Bert


Joined: 30 Jun 2006
Posts: 950

PostPosted: Mon 10 Jun 2013, 16:27    Post_subject:  

Let me be the first one to admit I'm not clever enough for this L18L guy Wink

He proudly presents FFMM 130610:

Arrow Binary executables in same sort order like Scripts
Arrow Search result highlighted in console
Arrow Search configurable context lines and geometry of result

The first two I understand, but I cannot digest the third one without a (polite) burb Shocked
If I'm allowed some humour, I think his coding voodoo is now also infecting his human-readable-output Laughing

I've been staring at this screenshot, wondering how it was done:

,
because here it looks like this, also in the latest FFMM:



Apologies if I missed the obvious.

Preferences-questions:



"ISIN" would be understandable if named "ISUP2D8"?
(same for "NOTIN": NOTUP2D8"?)

SEPARATOR: Will it change from '<=>' to '->' at some point and why? And how to interpret 'different from ISIN and NOTIN' ?

Written with the greatest respect L18L !
And again, thanks for your work!

_________________


Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 6 of 14 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 12, 13, 14 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.0968s ][ Queries: 12 (0.0057s) ][ GZIP on ]