official (momanager) language packs

For efforts in internationalising Puppy and solving problems in this area
Message
Author
User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

MoManager

#163 Post by L18L »

What's new
- no more special handling for Quirky
- bug fixed with "up-to-date" and "check-needed"


The picture is showing all is up-to-date

Note,
if all #~ in po file are removed, ex:

Code: Select all

#: ui_Classic.sh:34 ui_Ziggy.sh:65
msgid "Quirky Package Manager"
msgstr "Quirky Paketmanager"

#~ msgid "Puppy Package Manager"
#~ msgstr "Puppy Paketmanager"
...and it will be good for Puppy and Quirky


Please give some feedback before I am going to submit it to woof.


EDIT
download recent MoManager from http://www.murga-linux.com/puppy/viewto ... &start=169 which can find fuzzy translations
_______________________________________________
Attachments
momanager_quirky_up-to-date.png
(59.59 KiB) Downloaded 326 times
momanager-20140223.pet
(35.77 KiB) Downloaded 444 times
Last edited by L18L on Mon 03 Mar 2014, 15:03, edited 1 time in total.

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#164 Post by vicmz »

L18L wrote: Trying to reproduce your observation
I am running slack05.6.5.6 pfix=ram now
devx_slacko_5.6.5.6.sfs loaded on-the-fly

I did choose 1st entry of "Scripts that do not have a mo file"
and rc.shutdown.po was opened in geany.
msgfmt works:

Code: Select all

# msgfmt
msgfmt: no input file given
Try `msgfmt --help' for more information.
#
Thus builtin MoManager (official from #130807) works for me.

Which one of the unofficial MoManagers are you trying to use?
Did you load devx_slacko_5.6.5.6?
In RAM mode and devx loaded buitin Momanager works, but the same with the langpack installed gives errors trying to update strings. For example, I chose quicksetup from the list of existing translations, clicked 'edit' and got what you can see in the screenshots above. This means a new langpack would have to be created from the beginning, not a practical solution.

The unofficial FFMM versions I tried (to be able to use POedit and make translations faster, builtin Momanager does not allow these) were 20131110 and 20140104, they load but the window never shows up, only a window button on the taskbar is visible.
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

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

#165 Post by L18L »

vicmz wrote:The unofficial FFMM versions I tried (to be able to use POedit and make translations faster, builtin Momanager does not allow these) were 20131110 and 20140104, they load but the window never shows up, only a window button on the taskbar is visible.
That was because slacko's gtkdialog does not display with --geometry parameter.

Anyhow please try recent momanager-20140223 that is really a "release candidate" for woof-CE.

Thank you

EDIT

vicmz,
I am now in slacko5.5.6 using momanager-140223
Nothing special with my quickset.po
(maybe there is something faulty in your langpack_es?)

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#166 Post by vicmz »

L18L wrote:
vicmz wrote:The unofficial FFMM versions I tried (to be able to use POedit and make translations faster, builtin Momanager does not allow these) were 20131110 and 20140104, they load but the window never shows up, only a window button on the taskbar is visible.
That was because slacko's gtkdialog does not display with --geometry parameter.
I see. That's why those versions didn't work properly.
L18L wrote:vicmz,
I am now in slacko5.5.6 using momanager-140223
Nothing special with my quickset.po
(maybe there is something faulty in your langpack_es?)
I didn't try that version because it was released after I first had the problem. :lol: Now I did tried it, and in fact it updates existing translations straightforward. Thank you very much! :D
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

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

MoManager create and maintain non-English translations

#167 Post by L18L »

L18L wrote:The picture is showing all is up-to-date
That was version 20140223
But there were several fuzzy translations in my files.
Remember: Translations made by gettext are marked as fuzzy and have to be checked by humans, then the fuzzy line has to be removed.

How to find fuzzy translations?
Very easy: install momanager-20140228 coming soon.

EDIT
..uploaded
.

EDIT
6 times downloaded
deleted
use bug fixedversion 20140303 3 posts down please
Attachments
fuzzy_2014-03-02_144457.png
new version is finding fuzzy translations
(57.23 KiB) Downloaded 650 times
Last edited by L18L on Mon 03 Mar 2014, 14:56, edited 2 times in total.

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

#168 Post by Bert »

Hi L18L,

Maybe I'm being fuzzy, but after installing momanager-20140228, the "about" tooltip says "date of last update #140223".
Checked PPM: yes, 140228 is installed...
Just wanted to let you know.

Thanks for the new version!
Bert
[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/

MoManager20140228

#169 Post by L18L »

Bert wrote:Maybe I'm being fuzzy, but after installing momanager-20140228, the "about" tooltip says "date of last update #140223".
Thank you Bert.

No, I have been fuzzy when copying working script into my pet template and failed renaming (from mymomanager_faster_fuzzy_faster :lol: to momanager 8) ) correctly.

@all:
Sorry for your inconveniences :oops:
The old momanager is still there if you did not uninstall it.

Now the good news:
if you launch from console:

Code: Select all

mymomanager
then you have version 20140228.

I have been changing the code so that the launched script is used , be it momanager or any other name (for coders: $0)

Note,
the fuzzy thing is displayed after first action (or just look into preferences)

Please report any issue you find and I will do my best to improve our little tool.

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

MoManager-20140303

#170 Post by L18L »

Code: Select all

#140104 LANGPACK=langpack | langpack_fatdog | langpack_quirky
#140223 LANGPACK=langpack | langpack_fatdog only; bug fix for "up-to-date" or "check-needed"
#140227 running  faster
#140228 code cleaning, find fuzzy
#140303 fuzzy bug fix
How the fuzzy thing is working now:
A rox window "/tmp/momanager_fuzzies" is opened
number of objects blinking
When the rox window "/tmp/momanager_fuzzies" is automatically closed
then the next action (ex: preferences) will show the fuzzies if any.

Of course you can start working while that window is yet open.
Attachments
fuzzy_2014-03-03_160639.png
(24.07 KiB) Downloaded 491 times
momanager-20140303.pet
(37.53 KiB) Downloaded 404 times

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

MoManager-20140303

#171 Post by L18L »

Fast code was false code.
Change (copy and paste into /usr/sbin/momanager) code around line 1146 as in:

Code: Select all

     #EXTRASCRIPTS="$(echo "${GETTEXTSCRIPTS}" | tr ' ' '\n' | xargs -I INPUTFILE grep --files-with-matches -w "${tdPTN}" INPUTFILE | sed -e 's%SPACECHAR% %g')" # 2 min 18 sec
     ##EXTRASCRIPTS="$(grep "$tdPTN" `cat $CACHE/GETTEXTSCRIPTS` | cut -d':' -f1)" # false

     EXTRASCRIPTS="$(echo "${GETTEXTSCRIPTS}" | tr ' ' '\n' | xargs -0 grep --files-with-matches -w "${tdPTN}" INPUTFILE)" # 140204 faster and not false


###     if [ "$EXTRASCRIPTS" ];then
      [ "$EXTRASCRIPTS" ] || continue
      echo -n "" > ./xEXTRASCRIPTS

      ##echo "$EXTRASCRIPTS" | #140204
      echo "${EXTRASCRIPTS//SPACECHAR/ }" |
Maybe the blinking phase is so short that we can build it into start phase?
my MoManager : At first.... wrote:---
Check these translations and then delete "fuzzy" line.

started on Tue Mar 4 14:21:35 2014 finished 14:21:45
Waiting for some reports before making a new pet....

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

MoManager-20140304

#172 Post by L18L »

A preview on working without fuzz
Attachments
fuzzy_2014-03-04_170053.png
last fuzz
(27 KiB) Downloaded 457 times
fuzzy_2014-03-04_171028.png
no fuzz
(16.31 KiB) Downloaded 444 times

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

MoManager-20140309

#173 Post by L18L »

Manage fuzzy with MoManager version 20140309

red yellow green ?


red is fuzzy which will automatically re-ckecked

green is outdated, date of script is newer than translation file

yellow is "up-to-date" . Why not green? Because nobody except you can check if it is really up-to-date

Latest edited always on top of list

Note, at first start or click on new reset button all of the up-to-date translations are checked on fuzz, that takes a while (2 min on my 2core 1.8GHz box).


Have fun
Attachments
Momanager_fuzzy_2014-03-09.png
(42.51 KiB) Downloaded 716 times
momanager-20140309.pet
(36.38 KiB) Downloaded 538 times

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

momanager

#174 Post by L18L »

Code: Select all

#140326 pre-caution: if create_pet then clear cache
Without this I was having much trouble: langpack was complete only if startet fresh.
Attachments
momanager-20140326.pet
(36.53 KiB) Downloaded 582 times

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

Re: momanager

#175 Post by ASRI éducation »

L18L wrote:momanager-20140326.pet
Hello L18L,

I want to update the language pack FR to become compatible with woof-ce.
To make my life easier, I planned to use momanager and poedit.
I use a puplet based on Precise Puppy 5.7.1 and woof-ce (20140708).

First note: changes to momanager make this utility much more efficient. Congratulations and thank you for your work!

Second note: I have a problem with the display, the right columns are too small (see screenshot). Do you have a suggestion?

Cordialement,
Attachments
momanager-2014032_right_columns.png
(75.06 KiB) Downloaded 714 times
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:

Re: momanager

#176 Post by ASRI éducation »

ASRI éducation wrote:I have a problem with the display, the right columns are too small (see screenshot).
For a working display (I use a 800x600 display), I changed two lines.

Code: Select all

#COMBOyesWIDTH=$((( $WINDOW_WIDTH  - 260) / 2 ))    #131219 quirky6.0
COMBOyesWIDTH=$((( $WINDOW_WIDTH  - 180) / 2 ))    #131219 quirky6.0

#COMBOnoWIDTH=$((COMBOnoWIDTH - 60));COMBOyesWIDTH=$((COMBOyesWIDTH + 60)) #140228
COMBOnoWIDTH=$((COMBOnoWIDTH + 190));COMBOyesWIDTH=$((COMBOyesWIDTH + 60)) #140228
I took the opportunity to replace the icons (I used gtk icons). Visually, the result seems interesting.
Cordialement,
Attachments
momanager-2014032_right_columns2.png
(145.88 KiB) Downloaded 779 times
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:

#177 Post by ASRI éducation »

I can not contact L18L via PM and I do not see him on the forum.
Does anyone has any news?
I would add to woof-ce his version of momanager.
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:

momanager_20140922

#178 Post by ASRI éducation »

Waiting for the return of L18L, I propose a small update of momanager.
Tested only with Puppy Precise CE 5.7.1 (probably functional with Slacko).
Regards
#140922 by ASRI # improve icons: stop use /usr/local/lib/X11/mini-icons/, now use gtk icons # improve interface
Attachments
momanager_20140922.png
(73.75 KiB) Downloaded 573 times
momanager_20140922.tar.gz
(32.35 KiB) Downloaded 404 times
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

#179 Post by Bert »

Thank you ASRI.

It certainly looks better.
8)
[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:

#180 Post by ASRI éducation »

Hello Bert
Looking at your screenshot, I see that the text displayed at the top of the interface does not appear in entire width.
It should be improved, probably by changing the value width-request=\"750\"
<hbox>
<text use-markup=\"true\" width-request=\"750\"><label>\"First: you need to get all of the files on the right-side drop-down lists over to the left-side lists to ${TRANSLATE} to your <b>${transLANG}</b> language. Then check the left column to update/verify translations.\"</label></text>
</hbox>
What version of Puppy are you using?
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

#181 Post by Bert »

Yes, I had noticed that as well.

For a moment I thought it was intentional, given the content of the sentence :lol:

Changed the \"750\" to \"1300\" and solved.
Thanks!

Puppy version: Barry's 5.7.1
[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:

#182 Post by ASRI éducation »

Bert wrote:Yes, I had noticed that as well.

For a moment I thought it was intentional, given the content of the sentence :lol:

Changed the "750" to "1300" and solved.
Thanks!
This was intentional because I wanted to allow viewing on small screens (I use a 800x600 screen).
It would probably be possible to modify the script so that it automatically adapts to the screen size.
But I do not know how ...
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]

Post Reply