small fixes
This commit is contained in:
parent
5ff26ff48b
commit
5696759910
|
@ -256,13 +256,13 @@ gboolean darksnow2darkice_cfg() {
|
||||||
|
|
||||||
/* write bitratemode */
|
/* write bitratemode */
|
||||||
fprintf(f_darkice_cfg, "\nbitrateMode = ");
|
fprintf(f_darkice_cfg, "\nbitrateMode = ");
|
||||||
if (!strcmp("Constant", bitratemode))
|
if (!strcmp(gettext("Constant"), bitratemode))
|
||||||
fprintf(f_darkice_cfg, "cbr"); /* Constant bitrate mode */
|
fprintf(f_darkice_cfg, "cbr"); /* Constant bitrate mode */
|
||||||
else
|
else
|
||||||
if (!strcmp("Average", bitratemode))
|
if (!strcmp(gettext("Average"), bitratemode))
|
||||||
fprintf(f_darkice_cfg, "abr"); /* average bitrate mode */
|
fprintf(f_darkice_cfg, "abr"); /* average bitrate mode */
|
||||||
else
|
else
|
||||||
if (!strcmp("Variable", bitratemode))
|
if (!strcmp(gettext("Variable"), bitratemode))
|
||||||
fprintf(f_darkice_cfg, "vbr"); /* variable bitrate mode */
|
fprintf(f_darkice_cfg, "vbr"); /* variable bitrate mode */
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -304,7 +304,7 @@ int main( int argc, char *argv[], char *envp[]) {
|
||||||
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_bitratemode), gettext("Constant"));
|
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_bitratemode), gettext("Constant"));
|
||||||
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_bitratemode), gettext("Average"));
|
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_bitratemode), gettext("Average"));
|
||||||
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_bitratemode), gettext("Variable"));
|
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_bitratemode), gettext("Variable"));
|
||||||
gtk_entry_set_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (combo_bitratemode))),"Constant");
|
gtk_entry_set_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (combo_bitratemode))), gettext("Constant"));
|
||||||
|
|
||||||
label_bitrate = gtk_label_new ( gettext("BitRate: "));
|
label_bitrate = gtk_label_new ( gettext("BitRate: "));
|
||||||
combo_bitrate = gtk_combo_box_text_new_with_entry ();
|
combo_bitrate = gtk_combo_box_text_new_with_entry ();
|
||||||
|
@ -340,7 +340,7 @@ int main( int argc, char *argv[], char *envp[]) {
|
||||||
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_samplerate), "44100");
|
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_samplerate), "44100");
|
||||||
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_samplerate), "48000");
|
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_samplerate), "48000");
|
||||||
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_samplerate), "96000");
|
gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT (combo_samplerate), "96000");
|
||||||
gtk_entry_set_text ( GTK_ENTRY(gtk_bin_get_child (GTK_BIN (combo_samplerate))),"44100");
|
gtk_entry_set_text ( GTK_ENTRY(gtk_bin_get_child (GTK_BIN (combo_samplerate))),"48000");
|
||||||
|
|
||||||
label_quality = gtk_label_new ( gettext("Quality: "));
|
label_quality = gtk_label_new ( gettext("Quality: "));
|
||||||
combo_quality = gtk_combo_box_text_new_with_entry ();
|
combo_quality = gtk_combo_box_text_new_with_entry ();
|
||||||
|
|
Loading…
Reference in New Issue