Polishing

This commit is contained in:
Pierre Pronchery 2012-03-21 15:46:57 +00:00
parent a0ce0c4ad6
commit c4e6a598db
2 changed files with 32 additions and 25 deletions

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Mixer 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-21 16:37+0100\n"
"POT-Creation-Date: 2012-03-21 16:46+0100\n"
"PO-Revision-Date: 2010-04-23 04:08+0200\n"
"Last-Translator: Pierre Pronchery <khorben@defora.org>\n"
"Language-Team: French\n"
@ -32,94 +32,94 @@ msgstr ""
" -d\tChoix du périphérique sonore\n"
" -x\tActiver le mode embarqué\n"
#: ../src/mixer.c:141
#: ../src/mixer.c:142
msgid "_Properties"
msgstr "_Propriétés"
#: ../src/mixer.c:143
#: ../src/mixer.c:144
msgid "_Close"
msgstr "_Fermer"
#: ../src/mixer.c:150
#: ../src/mixer.c:151
msgid "_All"
msgstr "_Tous"
#: ../src/mixer.c:153
#: ../src/mixer.c:154
msgid "_Outputs"
msgstr "_Sorties"
#: ../src/mixer.c:155
#: ../src/mixer.c:156
msgid "_Inputs"
msgstr "_Entrées"
#: ../src/mixer.c:157
#: ../src/mixer.c:158
msgid "_Record"
msgstr "En_registrement"
#: ../src/mixer.c:159
#: ../src/mixer.c:160
msgid "Mo_nitor"
msgstr "Sui_vi"
#: ../src/mixer.c:161
#: ../src/mixer.c:162
msgid "_Equalization"
msgstr "É_galisation"
#: ../src/mixer.c:163
#: ../src/mixer.c:164
msgid "Mi_x"
msgstr "Mi_x"
#: ../src/mixer.c:165
#: ../src/mixer.c:166
msgid "_Modem"
msgstr "_Modem"
#: ../src/mixer.c:173
#: ../src/mixer.c:174
msgid "_About"
msgstr "À _propos"
#: ../src/mixer.c:179
#: ../src/mixer.c:180
msgid "_File"
msgstr "_Fichier"
#: ../src/mixer.c:180
#: ../src/mixer.c:181
msgid "_View"
msgstr "_Vue"
#: ../src/mixer.c:181
#: ../src/mixer.c:182
msgid "_Help"
msgstr "_Aide"
#: ../src/mixer.c:336
#: ../src/mixer.c:339
msgid "All"
msgstr "Tous"
#: ../src/mixer.c:608
#: ../src/mixer.c:615
msgid "Mute"
msgstr "Muet"
#: ../src/mixer.c:679
#: ../src/mixer.c:686
msgid "Bind"
msgstr "Lier"
#: ../src/mixer.c:841
#: ../src/mixer.c:848
msgid "translator-credits"
msgstr "Pierre Pronchery <khorben@defora.org>"
#: ../src/mixer.c:874
#: ../src/mixer.c:881
msgid "Mixer properties"
msgstr "Propriétés du mixer"
#: ../src/mixer.c:890
#: ../src/mixer.c:897
msgid "Name: "
msgstr "Nom : "
#: ../src/mixer.c:900
#: ../src/mixer.c:907
msgid "Version: "
msgstr "Version : "
#: ../src/mixer.c:910
#: ../src/mixer.c:917
msgid "Device: "
msgstr "Carte : "
#: ../src/mixer.c:993 ../src/mixer.c:998
#: ../src/mixer.c:1000 ../src/mixer.c:1005
msgid "Error"
msgstr "Erreur"

View File

@ -30,6 +30,7 @@ static char _license[] =
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <libintl.h>
#include <gtk/gtk.h>
@ -228,6 +229,8 @@ Mixer * mixer_new(char const * device, MixerLayout layout, gboolean embedded)
MixerClass * p;
size_t u;
GtkWidget * vbox2;
char * name;
int c;
#else
int value;
char const * labels[] = SOUND_DEVICE_LABELS;
@ -400,8 +403,12 @@ Mixer * mixer_new(char const * device, MixerLayout layout, gboolean embedded)
hbox = mixer->mc[u].hbox;
if(mixer->notebook != NULL)
{
if((name = strdup(mixer->mc[u].label.name))
!= NULL)
name[0] = toupper((c = name[0]));
label = _new_frame_label(NULL,
mixer->mc[u].label.name, NULL);
mixer->mc[u].label.name, name);
free(name);
gtk_widget_show_all(label);
scrolled = gtk_scrolled_window_new(NULL, NULL);
gtk_scrolled_window_set_policy(