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

#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 744 times
Last edited by L18L on Sun 11 Sep 2011, 13:07, edited 3 times in total.

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

UTF-8 support.

#73 Post by rodin.s »

When I mount my USB-flash with ymount Russian characters displayed as '???????'. It's OK with pmount or event manager.

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

Re: UTF-8 support.

#74 Post by L18L »

rodin.s wrote:When I mount my USB-flash with ymount Russian characters displayed as '???????'. It's OK with pmount or event manager.
Now in wary5141
I have tried to reproduce it. (täßt is misspelled for test)
But for me it is not clear where are the '????????'
:?:

Is your locale set to utf8 ?
Attachments
ymount-ru.png
(41.33 KiB) Downloaded 1572 times

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

?????? mount

#75 Post by rodin.s »

I found out that this command mounts my USB-flash with no '??????'

Code: Select all

# mount /dev/sdc1 /mnt/sdc1 -o shortname=mixed,quiet,utf8
I have fixed it. I have changed mount lines in /usr/local/ymount/functions.
Attachments
functions.gz
mounts utf-8
(3.22 KiB) Downloaded 720 times

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

Re: ?????? mount

#76 Post by L18L »

rodin.s wrote:I found out that this command mounts my USB-flash with no '??????'

Code: Select all

# mount /dev/sdc1 /mnt/sdc1 -o shortname=mixed,quiet,utf8
I have fixed it. I have changed mount lines in /usr/local/ymount/functions.
Our international quality controlling is working well :D

I think version 1.0 has to come out soon.

Thank you very much.

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

ymount

#77 Post by L18L »

Here is version 1.0 of ymount, mount or unmount multiple partitions.

New:
Sizes (Gig, Meg or K) can be set in preferences now.
G might be useful for owners of T devices
K is still useful for floppies :)

fixes might be of interest for non-English users only:
rodin.s's fix applied for fs type unknown
no more dependent of yad-NLS if latest version of ymount_NLS.pet
is installed

Have fun
L

Edited 2011-09-15
Do NOT use this version.
Link to latest stable version provided always here:
http://www.murga-linux.com/puppy/viewtopic.php?p=557739
Attachments
ymount-1.0.png
setting size unit in preferences dialog
(11.96 KiB) Downloaded 968 times
ymount-1.0.pet
(15.8 KiB) Downloaded 648 times
Last edited by L18L on Thu 15 Sep 2011, 20:12, edited 2 times in total.

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

#78 Post by Bert »

Thank you L18L!

Wow, version 1.0 Congrats!


No problems to report :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]

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

ymount

#79 Post by L18L »

Bert wrote:Thank you L18L!

Wow, version 1.0 Congrats!


No problems to report :wink:
Glad you are happy :)
Let us hope that rodin.s is happy, too :wink:

Testers of CD/DVD and floppies ?

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

I have questions, ymount.mo

#80 Post by rodin.s »

I have questions in file names but I guess I know how to fix it. And also ru.mo in NLS pet should be renamed to ymount.mo.
Attachments
mount.png
(43.26 KiB) Downloaded 696 times
ymount.png
questions in file names of mounted flash
(96.34 KiB) Downloaded 717 times

Post Reply