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 26 May 2018, 04:09
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 14 of 20 [298 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14, 15, 16, 17, 18, 19, 20 Next
Author Message
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Wed 08 Oct 2014, 13:42    Post subject: momanager
Subject description: 20141008
 

If you like to have just 1 languagepack for 1 language
(and not 1 languagepack for each puppy)
try this please:

Code:
#141008 keep translations from other puppies to make languagepack useable for more than just 1 distro


insert 2 lines (the lines containing the date #141008) it is near line number 550:
Code:
  case "$METHOD" in
   gettext) NOFUZZY='' ;;
   t12s)    NOFUZZY='--no-fuzzy-matching' ;;
  esac         
  msgmerge -q $NOFUZZY --no-wrap ${ATEXTDOMAIN}1 ${ATEXTDOMAIN}.pot -o - > ${ATEXTDOMAIN}.po
  #141008 remove comment sign, ex: change #~ msgid "bla" to msgid "bla"
  sed -ir 's/^#~ //' ${ATEXTDOMAIN}.po #141008
 done < $SOURCE_LIST 


or simply download and install attached pet.
momanager-20141008.pet
Description 
pet

 Download 
Filename  momanager-20141008.pet 
Filesize  36.88 KB 
Downloaded  151 Time(s) 
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 3203
Location: France

PostPosted: Tue 11 Nov 2014, 09:57    Post subject: Re: momanager
Subject description: bug fix
 

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?

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids

Last edited by ASRI éducation on Tue 11 Nov 2014, 09:59; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
ASRI éducation


Joined: 09 May 2009
Posts: 3203
Location: France

PostPosted: Tue 11 Nov 2014, 09:58    Post subject: Re: momanager
Subject description: bug fix
 

double post, sorry
_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Tue 11 Nov 2014, 14:15    Post subject: Re: momanager
Subject description: bug fix
 

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?

Generally answered: No
When I translate an application:
0 - I launch application in console and momanager in another console.
1 - I edit the translation with geany.
2 - I do close geany and click some buttons öf momanager.
3 - I continue testing translation.
4 - Go to 1 or end.

But I think "the devil is in detail"
Please post
-which application
-which puppy
you are using when these things happen to you
and I will try to reproduce it.
I am much interested in solving this issue.
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 3203
Location: France

PostPosted: Tue 11 Nov 2014, 14:34    Post subject: Re: momanager
Subject description: bug fix
 

L18L wrote:
But I think "the devil is in detail"
Please post
-which application
-which puppy
you are using when these things happen to you
and I will try to reproduce it.
I am much interested in solving this issue.

I use a base Precise CE (woof 0.3) slightly modified.

To simplify testing, I will create a test script. As soon as it's ready, I communicate it on this forum.

Regards

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
Bert


Joined: 30 Jun 2006
Posts: 1106

PostPosted: Sat 15 Nov 2014, 16:18    Post subject: Re: momanager
Subject description: bug fix
 

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.

_________________


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

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Wed 19 Nov 2014, 14:42    Post subject: Re: momanager
Subject description: bug fix
 

Bert wrote:
Hope this helps L18L Wink


It is a bug, really Shocked

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


Joined: 30 Jun 2006
Posts: 1106

PostPosted: Wed 19 Nov 2014, 18:11    Post subject:  

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

_________________


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

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Thu 20 Nov 2014, 14:02    Post subject: bug  

Bert
IIVMW (It is very much worth) Laughing

Just one version more back in history....

MoManager-20140303 should do it for now.

Tested in precise5.7.1
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 3203
Location: France

PostPosted: Thu 20 Nov 2014, 14:46    Post subject: Re: bug  

L18L wrote:
IIVMW (It is very much worth) Laughing

The advantage of the problems: they allow us to provide solutions.
Very Happy

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
Bert


Joined: 30 Jun 2006
Posts: 1106

PostPosted: Thu 20 Nov 2014, 15:37    Post subject: Re: bug  

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

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 Laughing

_________________


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


Joined: 30 Jun 2006
Posts: 1106

PostPosted: Thu 20 Nov 2014, 16:04    Post subject:  

For the sake of completeness:

Barry has MM-20140326 in his new Quirky Unicorn.
Just tested and yes, same problem.

_________________


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

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Fri 21 Nov 2014, 12:49    Post subject: Re: bug
Subject description: detective work
 

Bert wrote:
Your detective work can start Laughing

success
New function no_to_yes:
Code:
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 Question
Code:

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


Joined: 30 Jun 2006
Posts: 1106

PostPosted: Fri 21 Nov 2014, 16:34    Post subject: Re: bug
Subject description: detective work
 

L18L wrote:

Your choice Very Happy


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

_________________


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

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Sun 23 Nov 2014, 10:52    Post subject: Re: bug
Subject description: detective work
 

Bert wrote:
raise your salary again

I like salary Laughing
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 14 of 20 [298 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14, 15, 16, 17, 18, 19, 20 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.1047s ][ Queries: 14 (0.0415s) ][ GZIP on ]