]> git.sesse.net Git - vlc/blobdiff - plugins/gtk/gnome_interface.c
* ./po/*: re-ran make update-po, fixed a few translations.
[vlc] / plugins / gtk / gnome_interface.c
index 76e440c742becef492d9417e68ec3189bdc44273..6f71771186de54288eb67318fce525b864eae701 100644 (file)
@@ -123,7 +123,7 @@ static GnomeUIInfo menubar_settings_menu_uiinfo[] =
   },
   {
     GNOME_APP_UI_ITEM, N_("_Subtitles"),
-    N_("Select subtitle unit"),
+    N_("Select subtitles channel"),
     (gpointer) NULL, NULL, NULL,
     GNOME_APP_PIXMAP_NONE, NULL,
     0, (GdkModifierType) 0, NULL
@@ -927,7 +927,7 @@ static GnomeUIInfo intf_popup_uiinfo[] =
   },
   {
     GNOME_APP_UI_ITEM, N_("_Subtitles"),
-    N_("Select subtitle channel"),
+    N_("Select subtitles channel"),
     (gpointer) NULL, NULL, NULL,
     GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_FONT,
     0, (GdkModifierType) 0, NULL
@@ -1109,30 +1109,14 @@ GtkWidget*
 create_intf_about (void)
 {
   const gchar *authors[] = {
-    "Régis Duchesne <regis@via.ecp.fr>",
-    "Michel Lespinasse <walken@zoy.org>",
-    "Olivier Pomel <pomel@via.ecp.fr>",
-    "Pierre Baillet <oct@zoy.org>",
-    "Jean-Philippe Grimaldi <jeanphi@via.ecp.fr>",
-    "Andres Krapf <dae@via.ecp.fr>",
-    "Christophe Massiot <massiot@via.ecp.fr>",
-    "Vincent Seguin <seguin@via.ecp.fr>",
-    "Benoit Steiner <benny@via.ecp.fr>",
-    "Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>",
-    "Jean-Marc Dressler <polux@via.ecp.fr>",
-    "Gaël Hendryckx <jimmy@via.ecp.fr>",
-    "Samuel Hocevar <sam@zoy.org>",
-    "Brieuc Jeunhomme <bbp@via.ecp.fr>",
-    "Michel Kaempf <maxx@via.ecp.fr>",
-    "Stéphane Borel <stef@via.ecp.fr>",
-    "Renaud Dartus <reno@via.ecp.fr>",
-    "Henri Fallon <henri@via.ecp.fr>",
+    "the VideoLAN team <videolan@videolan.org>",
+    "http://www.videolan.org/",
     NULL
   };
   GtkWidget *intf_about;
 
   intf_about = gnome_about_new ("VideoLAN Client", VERSION,
-                        _("(C) 1996, 1997, 1998, 1999, 2000, 2001 - the VideoLAN Team"),
+                        _("(C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 - the VideoLAN Team"),
                         authors,
                         _("This is the VideoLAN client, a DVD and MPEG player. It can play MPEG and MPEG 2 files from a file or from a network source."),
                         NULL);
@@ -2637,12 +2621,16 @@ create_intf_sat (void)
   GtkObject *sat_freq_adj;
   GtkWidget *sat_freq;
   GtkWidget *label31;
-  GSList *table5_group = NULL;
+  GSList *pol_group = NULL;
   GtkWidget *sat_pol_hor;
   GtkWidget *sat_pol_vert;
   GtkWidget *label33;
   GtkObject *sat_srate_adj;
   GtkWidget *sat_srate;
+  GtkWidget *label35;
+  GtkWidget *sat_fec;
+  GList *sat_fec_items = NULL;
+  GtkWidget *combo_entry4;
   GtkWidget *hbuttonbox2;
   GtkWidget *sat_ok;
   GtkWidget *sat_cancel;
@@ -2663,14 +2651,14 @@ create_intf_sat (void)
   gtk_widget_show (hbox10);
   gtk_box_pack_start (GTK_BOX (vbox15), hbox10, TRUE, TRUE, 0);
 
-  frame13 = gtk_frame_new (_("Transponder Settings"));
+  frame13 = gtk_frame_new (_("Transponder settings"));
   gtk_widget_ref (frame13);
   gtk_object_set_data_full (GTK_OBJECT (intf_sat), "frame13", frame13,
                             (GtkDestroyNotify) gtk_widget_unref);
   gtk_widget_show (frame13);
   gtk_box_pack_start (GTK_BOX (hbox10), frame13, TRUE, TRUE, 0);
 
-  table5 = gtk_table_new (4, 2, FALSE);
+  table5 = gtk_table_new (5, 2, FALSE);
   gtk_widget_ref (table5);
   gtk_object_set_data_full (GTK_OBJECT (intf_sat), "table5", table5,
                             (GtkDestroyNotify) gtk_widget_unref);
@@ -2690,7 +2678,7 @@ create_intf_sat (void)
                     (GtkAttachOptions) (0), 0, 0);
   gtk_misc_set_alignment (GTK_MISC (label30), 0, 0.5);
 
-  sat_freq_adj = gtk_adjustment_new (12553, 1, 65536, 1, 10, 10);
+  sat_freq_adj = gtk_adjustment_new (11954, 10000, 12999, 1, 10, 10);
   sat_freq = gtk_spin_button_new (GTK_ADJUSTMENT (sat_freq_adj), 1, 0);
   gtk_widget_ref (sat_freq);
   gtk_object_set_data_full (GTK_OBJECT (intf_sat), "sat_freq", sat_freq,
@@ -2710,8 +2698,8 @@ create_intf_sat (void)
                     (GtkAttachOptions) (0), 0, 0);
   gtk_misc_set_alignment (GTK_MISC (label31), 0, 0.5);
 
-  sat_pol_hor = gtk_radio_button_new_with_label (table5_group, _("Horizontal"));
-  table5_group = gtk_radio_button_group (GTK_RADIO_BUTTON (sat_pol_hor));
+  sat_pol_hor = gtk_radio_button_new_with_label (pol_group, _("Horizontal"));
+  pol_group = gtk_radio_button_group (GTK_RADIO_BUTTON (sat_pol_hor));
   gtk_widget_ref (sat_pol_hor);
   gtk_object_set_data_full (GTK_OBJECT (intf_sat), "sat_pol_hor", sat_pol_hor,
                             (GtkDestroyNotify) gtk_widget_unref);
@@ -2720,8 +2708,8 @@ create_intf_sat (void)
                     (GtkAttachOptions) (GTK_FILL),
                     (GtkAttachOptions) (0), 0, 0);
 
-  sat_pol_vert = gtk_radio_button_new_with_label (table5_group, _("Vertical"));
-  table5_group = gtk_radio_button_group (GTK_RADIO_BUTTON (sat_pol_vert));
+  sat_pol_vert = gtk_radio_button_new_with_label (pol_group, _("Vertical"));
+  pol_group = gtk_radio_button_group (GTK_RADIO_BUTTON (sat_pol_vert));
   gtk_widget_ref (sat_pol_vert);
   gtk_object_set_data_full (GTK_OBJECT (intf_sat), "sat_pol_vert", sat_pol_vert,
                             (GtkDestroyNotify) gtk_widget_unref);
@@ -2741,7 +2729,7 @@ create_intf_sat (void)
                     (GtkAttachOptions) (0), 0, 0);
   gtk_misc_set_alignment (GTK_MISC (label33), 0, 0.5);
 
-  sat_srate_adj = gtk_adjustment_new (27500, 0, 100, 1, 10, 10);
+  sat_srate_adj = gtk_adjustment_new (27500, 1000, 30000, 1, 10, 10);
   sat_srate = gtk_spin_button_new (GTK_ADJUSTMENT (sat_srate_adj), 1, 0);
   gtk_widget_ref (sat_srate);
   gtk_object_set_data_full (GTK_OBJECT (intf_sat), "sat_srate", sat_srate,
@@ -2751,6 +2739,41 @@ create_intf_sat (void)
                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                     (GtkAttachOptions) (0), 0, 0);
 
+  label35 = gtk_label_new (_("FEC"));
+  gtk_widget_ref (label35);
+  gtk_object_set_data_full (GTK_OBJECT (intf_sat), "label35", label35,
+                            (GtkDestroyNotify) gtk_widget_unref);
+  gtk_widget_show (label35);
+  gtk_table_attach (GTK_TABLE (table5), label35, 0, 1, 4, 5,
+                    (GtkAttachOptions) (GTK_FILL),
+                    (GtkAttachOptions) (0), 0, 0);
+  gtk_misc_set_alignment (GTK_MISC (label35), 0, 0.5);
+
+  sat_fec = gtk_combo_new ();
+  gtk_widget_ref (sat_fec);
+  gtk_object_set_data_full (GTK_OBJECT (intf_sat), "sat_fec", sat_fec,
+                            (GtkDestroyNotify) gtk_widget_unref);
+  gtk_widget_show (sat_fec);
+  gtk_table_attach (GTK_TABLE (table5), sat_fec, 1, 2, 4, 5,
+                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
+                    (GtkAttachOptions) (0), 0, 0);
+  sat_fec_items = g_list_append (sat_fec_items, (gpointer) _("1/2"));
+  sat_fec_items = g_list_append (sat_fec_items, (gpointer) _("2/3"));
+  sat_fec_items = g_list_append (sat_fec_items, (gpointer) _("3/4"));
+  sat_fec_items = g_list_append (sat_fec_items, (gpointer) _("4/5"));
+  sat_fec_items = g_list_append (sat_fec_items, (gpointer) _("5/6"));
+  sat_fec_items = g_list_append (sat_fec_items, (gpointer) _("6/7"));
+  sat_fec_items = g_list_append (sat_fec_items, (gpointer) _("7/8"));
+  gtk_combo_set_popdown_strings (GTK_COMBO (sat_fec), sat_fec_items);
+  g_list_free (sat_fec_items);
+
+  combo_entry4 = GTK_COMBO (sat_fec)->entry;
+  gtk_widget_ref (combo_entry4);
+  gtk_object_set_data_full (GTK_OBJECT (intf_sat), "combo_entry4", combo_entry4,
+                            (GtkDestroyNotify) gtk_widget_unref);
+  gtk_widget_show (combo_entry4);
+  gtk_entry_set_text (GTK_ENTRY (combo_entry4), _("3/4"));
+
   hbuttonbox2 = GNOME_DIALOG (intf_sat)->action_area;
   gtk_object_set_data (GTK_OBJECT (intf_sat), "hbuttonbox2", hbuttonbox2);
   gtk_widget_show (hbuttonbox2);