Ymount 002

Core libraries and systems
Message
Author
User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#53 Post by L18L »

Here is version 0.9

bugfixes
comeback of preferences
language switcher

Requires rox and yad

yad should run on all recent puppies (5xxx)
seaside wrote:Here's a link for yad compiled for pup431
http://murga-linux.com/puppy/viewtopic. ... h&id=38895
in case anyone would like it.

Cheers,
s
Thanks seaside :)


Edited 2011-09-11
Link to latest version provided always here:
http://www.murga-linux.com/puppy/viewtopic.php?p=557739
Attachments
ymount-0.9.png
mount or unmount multiple partitions
(29.01 KiB) Downloaded 1385 times
ymount-0.9.pet
mount or unmount multiple partitions
requires rox and yad
(13.05 KiB) Downloaded 744 times
Last edited by L18L on Sun 11 Sep 2011, 13:09, edited 1 time in total.

stu90

#54 Post by stu90 »

Thanks for the 0.9 update L18L :)

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

Russian l10n

#55 Post by rodin.s »

I've translated pot-file into Russian. But is there a possibility to make yad buttons localized?
And the language name is Ру
Attachments
l10n_ru.tar.gz
Russian l10n
(3.52 KiB) Downloaded 706 times

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#56 Post by Iguleder »

Wow, Pmount definitely should be kicked out in favor of Ymount :D

Great work, L18L! I think it could be nice if I had a quick solution for partition mounting under Window Maker ... I'm seriously considering to learn how to write dockapps and make some dockapp that works with Ymount :)
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

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

#57 Post by Bert »

Thanks for your translation rodin s.!

I believe L18L is actively looking into the problem.
It could even be not yad related... (?)

One question, does the Ukrainian locale work as it should?

Yes, L18L likes to add an "e" to the language name :wink:
(in my Dutch case "Nederlands" becomes "Nederlandse" ...)

People like you and L18L give me the energy needed to keep believing one day Puppy will be globally understood. 8)
Last edited by Bert on Fri 19 Aug 2011, 20:29, edited 1 time in total.
[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

#58 Post by Bert »

Iguleder wrote:Wow, Pmount definitely should be kicked out in favor of Ymount :D

Great work, L18L! I think it could be nice if I had a quick solution for partition mounting under Window Maker ... I'm seriously considering to learn how to write dockapps and make some dockapp that works with Ymount :)
It's all your fault Igu, you started it :lol: L18L just made it extremely useful, usable and fool proof. And I'm 100% sure about the latter :wink:
[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]

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

Ukrainian yad buttons

#59 Post by rodin.s »

Ukrainian is the same. No localization.

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

Re: Ukrainian yad buttons

#60 Post by Bert »

rodin.s wrote:Ukrainian is the same. No localization.
Below is a screenshot of Ymount in Dutch.

In the bottom task bar "Language" is translated ( "Taal"), but nothing else.
Is it correct to say L18L's yad translation is working just fine, but not the Gtk buttons?
Attachments
ymount-scrn.jpg
(42.58 KiB) Downloaded 614 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
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#61 Post by L18L »

Iguleder,
thank you for your comment but ymount did not succed international quality control yet :lol:

rodin.s and Bert,
thank you for reporting.
I have corrected the language names in /usr/l0cal/ymount/lang_list

Code: Select all

ru Ру
Attachments
with-yad-NLS.png
Russian with yad-NLS installed
(30.25 KiB) Downloaded 1438 times

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

#62 Post by Bert »

Hi L18L,

First off, thanks for all your efforts trying to help us!

I installed yad-NLS (from Barry's blog). It made no difference.

I then moved the german yad.mo to the nl-LC_Messages. Only "language" button becomes "Sprache"...

I then changed my locale settings to German. Still no luck..

The only difference I can see now is that you are running Wary and I (and maybe rodin.s too?) am using Lucid.

Could that be the reason?
Thanks!
[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/

ymount

#63 Post by L18L »

Bert wrote:... I (and maybe rodin.s too?) am using Lucid.
So I will test it in Lupu525 now (I have lang_packs converted to sfs)
Thank you Bert. :)

Now in lupu525 (not lupq)
No yad-NLS installed
working correct
-> yad-NLS is not required
---------------------------------
Edited 2011-08-29
Now in wary514
yad-NLS is required to show gtk button text localized
---------------------------------
Bert, rodin.s,
are you using lupq or lupu :?:
Attachments
ymount_without_yad-NLS.png
in lupu525
(25.87 KiB) Downloaded 1292 times
Last edited by L18L on Mon 29 Aug 2011, 19:14, edited 1 time in total.

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

#64 Post by Bert »

L18L, I'm using Lupu, in fact Three Headed Dog (5.2.9)

I just tested Ymount localization In Wary, with and without yad-NLS, with and without utf-8..
No luck :(
[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

#65 Post by Bert »

Hi again L18L,

What's the gtk20.mo you are using, or rather where did you get it from?
Thanks
[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]

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

yad_NLS

#66 Post by rodin.s »

I'm using Wary-5.1.3. And installation of yad_NLS-0.12.4-w5.pet from Barry's blog helped. On clean system it doesn't work but on localized one it does.
I have the same result as on the picture above.
I've noticed on another yad application - urxvtset that NLS-pet somehow allows localization. urxvtset calls gcolor2 and without yad_NLS pet installed it is in English but with it installed it's in Russian.

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

Re: yad_NLS

#67 Post by Bert »

rodin.s wrote:I'm using Wary-5.1.3. And installation of yad_NLS-0.12.4-w5.pet from Barry's blog helped. On clean system it doesn't work but on localized one it does.
I have the same result as on the picture above.
Thanks for your testing rodin.s!

So, the plot thickens..L18L is able to get full localization, without the need of yad-NLS and in your testing adding yad-NLS helped to get full translation of the buttons.

Did you add anything to /usr/share/locale/ru/LC_MESSAGES that wasn't part of the pristine Wary-5.1.3?

Thank you! I'm sure we'll find the solution. (What a great forum this is 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]

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

Re: yad_NLS

#68 Post by rodin.s »

Bert wrote:Did you add anything to /usr/share/locale/ru/LC_MESSAGES that wasn't part of the pristine Wary-5.1.3?
I've added a lot of ru.mo files.
yad_NLS contains only mo-files so maybe yad.mo for different languages was already included in Lupu so no NLS-pet was needed.

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

ymount

#69 Post by L18L »

Hello Bert and rodin.s,

sorry, I cannot share Bert's hope :(
ru and de OK
nl not OK

yad has localization for de sk ru and uk.

That is what de and ru have in common. :?

The gtk button texts are translated by gtk20.mo (Bert, I have used what is in lang_pack)

Maybe a gtk guru can solve the problem.
And I will roll back to text only buttons to be on the safe side.

The new language switcher was just an experiment and I am thinking it is sufficient to use just plain text buttons which are always translated by ymount.mo

The icons on the buttons are really not necessary, we all can read and the language switcher is about text, not about pictures. :lol:

Another change will be to correct the following bad behavior:
Trying to mount /initrd/mnt/dev_save (open /mnt/home in rox) results in an error message. I have to change this and then it is version 1.0

Have a nice weekend and
thank you for your help :)
L

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

#70 Post by Bert »

Okay, one last try for today,
L18L wrote:sorry, I cannot share Bert's hope Sad
ru and de OK
nl not OK
But how then did you arrive at this result, with all the buttons correctly localized :
Attachments
ymount_without_yad-NLS.png
(25.87 KiB) Downloaded 1043 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
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

gtk button text

#71 Post by L18L »

Bert wrote:Okay, one last try for today,
L18L wrote:sorry, I cannot share Bert's hope Sad
ru and de OK
nl not OK
But how then did you arrive at this result, with all the buttons correctly localized :
wary513
loaded lang_packs: de ru nl
yad-0.12.2-1

Code: Select all

# locale -a
C
de_DE@euro
de_DE.utf8
en_US
POSIX
#
That is what we know so far:
- use of LANGUAGE shows languages other than my de !
- LANGUAGE is a list of languages separated by colon
- it is set in the script to: LANGUAGE:$LANG
- it is working with LANG=de and LANG=ru

Perhaps you might try changing your locale (Configure Puppy for your country) to Deutsch or Ру

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

ymount

#72 Post by L18L »

L18L wrote:And I will roll back to text only buttons to be on the safe side.
No roll back but something better now :!:

In Preferences there is a button now
which toggles gtk buttons or text only buttons.
(some changes in translations needed)

Another improvement
/initrd/mnt/dev_save is showing as /mnt/home and can be opened in rox.

Note, no limit in partition numbering, see screenshot.

Separate NLS package to keep package size low.
There is just one language included so that the language switcher has something useful to do.

Have fun
L

Edited 2011-08-29
yad and yad-NLS required

Get NativeLanguageSupport ymount-NLS.pet from
Localization

Edited 2011-09-11
Link to latest version provided always here:
http://www.murga-linux.com/puppy/viewtopic.php?p=557739
Attachments
ymount-0.9.1.png
-
(38.26 KiB) Downloaded 1620 times
ymount-0.9.1.pet
mount and unmount multiple partitions
(10.48 KiB) Downloaded 747 times
Last edited by L18L on Sun 11 Sep 2011, 13:07, edited 3 times in total.

Post Reply