official (momanager) language packs

For efforts in internationalising Puppy and solving problems in this area
Message
Author
User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

Re: momanager

#201 Post by Bert »

ASRI éducation wrote:
L18L wrote:momanager-20141007.pet
I have a little problem ...

When I translate an application:
1 - I active 'momanager', then I edit the translation with poedit.
2 - I close momanager.
3 - I test translation (by activating the translated application).
4 - If I find that the translation can be improved, I raise momanager. Problem: translated application no longer appears in the menus of momanager, I must necessarily refresh momanager (this takes several minutes) to continue the translation.

Is it the same for you?
Hi ASRI,

Confirmed. But with slight differences:

1. I start Momanager, then I edit the translation with Geany.
2. I do not close Momanager.
4. After testing translation, I want to change a thing, so I search for the program in Momanager, but it's gone.
Just like you I have to refresh Momanager to find the wanted program again, indeed taking minutes.

The test program was pcur, as I know it's very small...I changed one word before saving and closing Geany.

Hope this helps L18L :wink:

EDIT: Off-topic: bbcode is not working at the moment in this forum? I have two words in the above post that should be BOLD. <b>sdljhslv</b> is not working for me.
[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: momanager

#202 Post by L18L »

Bert wrote:Hope this helps L18L :wink:
It is a bug, really :shock:

The only idea I have now is to try older versions and see which version is starting with this behavor.

But before this let me upload Fatdog's docs....

Thanks for pointing to this bug

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

#203 Post by Bert »

FWIW,

I wiped Momanager- 20141007 and 20141008 from my Precise 5.7.2 and reinstalled MM-20140326 from a backup...same problem! It's a mystery problem now, as I do not recall experiencing it back in early 2014...
[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/

bug

#204 Post by L18L »

Bert
IIVMW (It is very much worth) :lol:

Just one version more back in history....

MoManager-20140303 should do it for now.

Tested in precise5.7.1

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

Re: bug

#205 Post by ASRI éducation »

L18L wrote:IIVMW (It is very much worth) :lol:
The advantage of the problems: they allow us to provide solutions.
:D
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

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

Re: bug

#206 Post by Bert »

L18L wrote:Bert
IIVMW (It is very much worth) :lol:

Just one version more back in history....

MoManager-20140303 should do it for now.

Tested in precise5.7.1
MM-20140303 tested OK in Precise 5.7.2 :wink:
Edited file is on top of the drop-down list again.

Your detective work can start :lol:
[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
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#207 Post by Bert »

For the sake of completeness:

Barry has MM-20140326 in his new Quirky Unicorn.
Just tested and yes, same problem.
[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: bug

#208 Post by L18L »

Bert wrote:Your detective work can start :lol:
success
New function no_to_yes:

Code: Select all

no_to_yes() {   # update YES file and NO file using $APKGNAME #130505
#ex no_to_yes "$CACHE/YESMO_XML" "${ATEXTDOMAIN}.mo" "$CACHE/YESMO_XML" "$IN" #140308 #141120

 #passed param $1 is NO file	ex: NOMO_XML
 #passed param $2 is identifier ex: xwin.mo
 #passed param $3 is YES file	ex: YESMO_XML
 #passed param $4 is optional: insert $4 after first '>'

 #called from create_mo: $1=$CACHE/NOMO_XML $3=$CACHE/YESMO_XML
 #called from edit_mo:   $1=$3=$CACHE/YESMO_XML
  
 echo "move line of $1 containing "$2 " to begin of $3" #for debug only

 LINE_TO_MOVE="`grep $2 $1`" #131212 bug fix #140307
 echo LINE_TO_MOVE=$LINE_TO_MOVE

 JUST_CREATED=${LINE_TO_MOVE//$4/} #remove $4 to avoid doubles
 [ "$4" = "$ISIN" ] && JUST_CREATED=${JUST_CREATED//$NOTIN/}&& JUST_CREATED=${JUST_CREATED//$FUZZIN/} #140228 remove FUZZIN
 [ "$4" = "$NOTIN" ] && JUST_CREATED=${JUST_CREATED//$ISIN/} #140223 remove ISIN

 #build new YESMO_XML
 mv $3 ${3}_
 echo "${JUST_CREATED/>/>$4}" > $3   # line 1
 grep -v "$LINE_TO_MOVE" ${3}_ >> $3 # others appended

}
Do you want version 141120 which is just a bugfix pf 140309 :?:

Code: Select all

#141120 bug fix in no_to_yes; avoid message about zero fuzzy

#############################################################
# use find_fuzzy
if [ -f "$CACHE/fuzzies" ]; then #140228
 CMD="urxvt --hold --title "MoManager : At first please edit these Fuzzy Translations" -fg black -bg lightyellow -e cat "$CACHE/fuzzies""
 #if [ "`tail -n1 $CACHE/fuzzies | cut -d' ' -f1`" = "found" ]; then
 if [ "`tail -n1 $CACHE/fuzzies | cut -d' ' -f1-2`" = "found 0" ]; then #141120
  :
 else 
  find_fuzzy
  FUZZY_PID="`ps | grep 'urxvt --hold --title MoManager :' | grep -v grep | awk '{print $1}'`"
  [ "$FUZZY_PID" ] && kill $FUZZY_PID > /dev/null
  eval $CMD &
 fi
fi #140228
#############################################################

No
Choose 1 fixed version of:

Code: Select all

#140303 fuzzy bug fix
#140307 find all-fuzzies at start, new sort of scripts that have a mo file, refresh button
#140308 update list of fuzzies for YESMO
#140309 update list of fuzzies for NOMO
#140326 pre-caution: if create_pet then clear cache
#140922 by ASRI # improve icons: stop use /usr/local/lib/X11/mini-icons/, now use gtk icons # improve interface
#141002 by L18L and ASRI # Main window : change width-request of first hbox
#141007 bug fix: fuzzy was NOT shown for "mo file newer than script"
#141008 keep translations from other puppies to make languagepack useable for more than just 1 distro
Your choice :D

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

Re: bug

#209 Post by Bert »

L18L wrote: Your choice :D
Well, we will have to raise your salary again, seeing the speed with which you debug...

My choice?
That would be MM-201411xx. (the fixed 20141008).

( if possible with the extension that allows me to talk to anybody anywhere in the world in my language while eating my sandwich and they understand me and I understand them in their language, while they're eating no matter what. What do you think? Maybe better wait for gettext2?)
[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: bug

#210 Post by L18L »

Bert wrote: raise your salary again
I like salary :lol:

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

momanager-20141123

#211 Post by L18L »

Bert wrote:That would be MM-201411xx. (the fixed 20141008).

( if possible with the extension that allows me to talk to anybody anywhere in the world in my language while eating my sandwich and they understand me and I understand them in their language, while they're eating no matter what. What do you think? Maybe better wait for gettext2?)
Here it is attached
it allows you to talk to anybody anywhere in the world in your language while eating your sandwich (but don't speak with "mouth too full")
Attachments
momanager-20141123.pet
created and tested in precise5.7.1
(37.28 KiB) Downloaded 500 times

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

Re: momanager-20141123

#212 Post by Bert »

Yes, working well!
Thank you L18L...

L18L wrote:(but don't speak with "mouth too full")
Me? never...
Attachments
HMQvkH7.jpg
(10.83 KiB) Downloaded 619 times
[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
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

Re: momanager-20141123

#213 Post by ASRI éducation »

L18L wrote:Here it is attached
momanager-20141123.pet
I have tested with only one translation. This seems to work.
Thank you L18L!
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#214 Post by ASRI éducation »

@ L18L
Optionally, you can update the first post of this thread, to add a link to your latest package.
Regards
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

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

#215 Post by L18L »

ASRI éducation wrote:... update the first post of this thread, to add a link to your latest package.
...done
Feel free to submit it to woof-ce :wink:

Bert, you made me laugh long, thank you :D

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#216 Post by ASRI éducation »

L18L wrote:
ASRI éducation wrote:... update the first post of this thread, to add a link to your latest package.
...done
Feel free to submit it to woof-ce :wink:
Thank you L18L.
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#217 Post by ASRI éducation »

From woof-ce forum:
L18L wrote:Last version of momanager (by L18L) seems to be ok to be integrated in woof-ce.
mavrothal wrote:It might be better to remove it from woof and just add it as a pet instead.
Is not needed for any fundamental OS function. Does it?
I think that BK put it originally in woof because he had no better place for it ;)
Though the fixmenus bit is good speed-wise but brakes the hight adjustment introduced some time ago.
I agree with mavrothal, this will leave us more freedom to change/improve momanager (which is not an application for all users).
In this case, it will be necessary to point out precisely the existence of this package: on the wiki, the forum, etc.
What is your opinion?
Regards,
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

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

momanager

#218 Post by L18L »

ASRI éducation wrote:From woof-ce forum:
L18L wrote:Last version of momanager (by L18L) seems to be ok to be integrated in woof-ce.
mavrothal wrote:It might be better to remove it from woof and just add it as a pet instead.
Is not needed for any fundamental OS function. Does it?
I think that BK put it originally in woof because he had no better place for it ;)
Though the fixmenus bit is good speed-wise but brakes the hight adjustment introduced some time ago.
I agree with mavrothal, this will leave us more freedom to change/improve momanager (which is not an application for all users).
In this case, it will be necessary to point out precisely the existence of this package: on the wiki, the forum, etc.
What is your opinion?
Regards,
fundamental OS function?
If "English only" is fundamental I am no fundamentalist.
woof built puppies and quirkies were so nice because they did contain everything for worldwide use.
momanager was not in devx, in Barry's latest builts there was no devx needed because other "not fundamental" functions (xgettext, msgfmt, etc) were included.

Anyone could immediately start translating for any language.
Is there any other OS where this is possible?

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#219 Post by don570 »

Anyone could immediately start translating for any language.
There seems to be a flaw with LANG=zh_CN and LANG=zh_SG

The mo file can be created but it takes some clever manipulation to get
it to show in Chinese. Instead everything remains in English.

Even mainstream apps such as mtpaint or deadbeef will show only
English menus until forum member 'icake' does his magic.

I made a special page on installing Chinese menus when using LANG=zh_CN
http://www.murga-linux.com/puppy/viewtopic.php?t=87045


_______________________________________________________

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

#220 Post by L18L »

don570 wrote:
Anyone could immediately start translating for any language.
There seems to be a flaw with LANG=zh_CN and LANG=zh_SG

The mo file can be created but it takes some clever manipulation to get
it to show in Chinese. Instead everything remains in English.
Never got any bug report from China.
So what?
... and the method of producing different language packs for every version of any puppy is ... mh... not for my taste

Post Reply