Retrovol 0.13.1 (Volume mixer)
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
Retrovol localization?
Hello,
Trying to compile a French localized version of retrovol from source files, I don't see exactly how to proceed to make the translation working? I created a fr.po file from pot, then a French fr.mo file that I both copied into ./po directory and also specified "fr" in ./po/LINGUAS file (while compiling, the right locale directory is created, but it is empty and even when I copy my mo file manually to the right directory, localization doesn't work...)!
Any idea of what's going wrong?
Thank you for your attention.
Cordialement.
Trying to compile a French localized version of retrovol from source files, I don't see exactly how to proceed to make the translation working? I created a fr.po file from pot, then a French fr.mo file that I both copied into ./po directory and also specified "fr" in ./po/LINGUAS file (while compiling, the right locale directory is created, but it is empty and even when I copy my mo file manually to the right directory, localization doesn't work...)!
Any idea of what's going wrong?
Thank you for your attention.
Cordialement.
Last edited by Argolance on Fri 20 Jan 2012, 11:56, edited 2 times in total.
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
Hello,
Just a little suggestion: margins for GUI full window...
Cordialement.
Just a little suggestion: margins for GUI full window...
Cordialement.
- Attachments
-
- retrovol_margins.jpg
- (37.12 KiB) Downloaded 988 times
Last edited by Argolance on Fri 20 Jan 2012, 12:01, edited 2 times in total.
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
Tray icon background color
Hello,
I noticed that theme background colors using equivalent for Hex value as 'grey 30' for #333333, or "red", "yellow"... are not working and make the icon not to be loaded at startup...
Cordialement.
I noticed that theme background colors using equivalent for Hex value as 'grey 30' for #333333, or "red", "yellow"... are not working and make the icon not to be loaded at startup...
Cordialement.
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
Hello,
Don't know if I understand how retrovol is configured or not (?) but, while translating po file in French and testing parameters directly into the application, I noticed that something seems working wrong when choosing which sliders to enable or disable... Sliders actually displayed in the main menu are shown in the field "Inactive sliders" of the config window . If I choose to deactivate one of them, then the main window just shows that one and all others are hidden... Strange indeed!
Cordialement.
Don't know if I understand how retrovol is configured or not (?) but, while translating po file in French and testing parameters directly into the application, I noticed that something seems working wrong when choosing which sliders to enable or disable... Sliders actually displayed in the main menu are shown in the field "Inactive sliders" of the config window . If I choose to deactivate one of them, then the main window just shows that one and all others are hidden... Strange indeed!
Cordialement.
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
It is supposed to set the spacing between the segments, e.g. the dark bits between the parts that light up. Another thing to fix.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
Translation
Hello,
Here are the French UTF-8 po and mo files for retrovol.
=> This thread should be useful to know/solve encountered issues with UTF-8 mo files!
Something else: While running retrovol in console, I get:
Cordialement.
Here are the French UTF-8 po and mo files for retrovol.
=> This thread should be useful to know/solve encountered issues with UTF-8 mo files!
Something else: While running retrovol in console, I get:
This is probably not important but perhaps this may be solved at the same time?(retrovol:29010): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
Cordialement.
- Attachments
-
- retrovol_0.11_po_mo_utf8_fr.tar
- (18.5 KiB) Downloaded 564 times
Last edited by Argolance on Sun 29 Jan 2012, 15:23, edited 1 time in total.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Translation
attached.
We have a C coded gettexted app now
Thank you
__________________________
edited:
Note, you can see another language in action
without having to install the other locale
I have done it with French:
1- right click the icon and stop retrovol
2- start it in the other language from command line
LANGUAGE=fr retrovol
Have fun
We have a C coded gettexted app now
Thank you
__________________________
edited:
Note, you can see another language in action
without having to install the other locale
I have done it with French:
1- right click the icon and stop retrovol
2- start it in the other language from command line
LANGUAGE=fr retrovol
Have fun
- Attachments
-
- retrovol-fr.png
- (2.11 KiB) Downloaded 971 times
-
- retrovol.mo.gz
- move it to:
/usr/share/locale/de/LC_MESSAGES/retrovol.mo - (6.42 KiB) Downloaded 552 times
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
The problem with the segment thickness is now fixed in SVN, as well as the warning about deprecated page values.
Having an option to set margins in the windows would be nice I guess. I really hate GUI programming though, so I'll put that off until next time
Oh, and thanks for the translations!
Having an option to set margins in the windows would be nice I guess. I really hate GUI programming though, so I'll put that off until next time
So you mean, you're trying to use the string "grey 30" instead of "#333333"? That is not supported, and frankly I don't care enough to figure out how to do it myself. Retrovol is open source for a reason though - if you or anybody else sends me a patch that makes it happen, I'd be glad to include it. There should exist a GTK or Cairo function already that provides the functionality, so it would just need to be identified and the source for retrovol adjusted to use it.Argolance wrote:I noticed that theme background colors using equivalent for Hex value as 'grey 30' for #333333, or "red", "yellow"... are not working and make the icon not to be loaded at startup...
If you're talking about how when no sliders are enabled, it shows them all instead of not showing any, that is intentional. If you're talking about something else, then there may be a bug and I'd like more information.Argolance wrote:I noticed that something seems working wrong when choosing which sliders to enable or disable... Sliders actually displayed in the main menu are shown in the field "Inactive sliders" of the config window . If I choose to deactivate one of them, then the main window just shows that one and all others are hidden... Strange indeed!
Oh, and thanks for the translations!
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
Hello pizzasgood,
Now, if user, with green arrow, make any slider going from disabled sliders list to enabled sliders list, this slider will be the only one to be displayed in the 'full window' and all the others will disappear!
To make this coherent, user has to make all sliders going from disabled sliders list to enabled sliders list. So, they are all shown as enabled sliders in the left column, and all displayed inside the 'full window'.
Cordialement.
Great! Thank you!The problem with the segment thickness is now fixed in SVN, as well as the warning about deprecated page values.
Not sure what I noticed and tried to explain is intentional. Again: the first time user runs retrovol,If you're talking about how when no sliders are enabled, it shows them all instead of not showing any, that is intentional. If you're talking about something else, then there may be a bug and I'd like more information.
- - 'full window' (picture above):displays available sliders and they are all enabled.
- Third tab of the 'configuration window' (hardware tab): the left column which is supposed to show enabled sliders list is emply and the right one, which is supposed to show disabled sliders is full.
Now, if user, with green arrow, make any slider going from disabled sliders list to enabled sliders list, this slider will be the only one to be displayed in the 'full window' and all the others will disappear!
To make this coherent, user has to make all sliders going from disabled sliders list to enabled sliders list. So, they are all shown as enabled sliders in the left column, and all displayed inside the 'full window'.
Cordialement.
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Okay, yes, that is intentional. This has to do with the config file, which only stores the enabled sliders, not the disabled sliders. If no sliders are enabled - such as on a fresh empty config file - then it defaults to showing all of the sliders, because not showing any sliders wouldn't make any sense. Once a person enables some specific sliders, then it stops showing the others and only shows the enabled ones.
Another factor to consider is that some people use Puppy on a USB or multisession DVD, and run it on more than one computer using the same save, and therefor the same .retrovolrc file. Different computers have different volume controls, which could cause problems if they enable specific sliders and then try booting on a different machine that doesn't have those sliders. Instead, they can just leave it with no sliders enabled, so that it will automatically use all of them that it finds, whatever the hardware.
Another factor to consider is that some people use Puppy on a USB or multisession DVD, and run it on more than one computer using the same save, and therefor the same .retrovolrc file. Different computers have different volume controls, which could cause problems if they enable specific sliders and then try booting on a different machine that doesn't have those sliders. Instead, they can just leave it with no sliders enabled, so that it will automatically use all of them that it finds, whatever the hardware.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Okay, 0.12 is uploaded.
Warning: The gtk in the puppies I tested on (4.1.2 and 5.25) doesn't seem to like the localization files. Not sure if it's just a fonts issue or what. Works fine in my Arch install, where I originally tested everything. Looks like it's a UTF-8 issue of some sort. Probably something you guys with the non-English Puppies already fixed ages ago? Spits out messages like this:
Anyway, it looks like it still runs just fine, only some of the text gets goofed.
Warning: The gtk in the puppies I tested on (4.1.2 and 5.25) doesn't seem to like the localization files. Not sure if it's just a fonts issue or what. Works fine in my Arch install, where I originally tested everything. Looks like it's a UTF-8 issue of some sort. Probably something you guys with the non-English Puppies already fixed ages ago? Spits out messages like this:
Code: Select all
(retrovol:5747): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 24: Invalid UTF-8 encoded text in name - not valid 'Lautst\x34rke: 21%'
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
Hello pizzasgood,
Did you have a look at this thread (given above in my previous post)?=> This thread should be useful to know/solve encountered issues with UTF-8 mo files!
Regards.
Did you have a look at this thread (given above in my previous post)?=> This thread should be useful to know/solve encountered issues with UTF-8 mo files!
Regards.
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
- Subito Piano
- Posts: 731
- Joined: Mon 28 May 2007, 03:12
- Location: UPSTATE New York
- Contact:
Hmm - problem here. Using 5.2.8 in my trust old Toshiba 64-bit AMD. IDK why, but I lost my volume applet -- poking around I found retrovol and installed. In terminal, I get:
Also of interest:
I already tried pfix=clean option (but not purge)...any ideas what's wrong?
Code: Select all
retrovol: hcontrol.c:573: snd_hctl_load: Assertion `hctl->count == 0' failed.
Aborted
Code: Select all
sh-4.1# alsamixer
cannot open mixer: Input/output error
sh-4.1# amixer
amixer: Mixer attach default error: Input/output error
Is your sound actually working otherwise?
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
Hello,
Sorry, did not succeed in compiling this 0.12 release:
Error message:
Sorry, did not succeed in compiling this 0.12 release:
Error message:
Regards./usr/lib/gcc/i486-t2-linux-gnu/4.2.2/../../../../i486-t2-linux-gnu/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [retrovol] Error 1
make[1]: Leaving directory `/mnt/sdb2/my-documents/Telechargements/retrovol-0.12 /src'
make: *** [install-recursive] Error 1