]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Add descriptions to the existing Unicable configuration fields
authorPeter Bašista <pbasista@gmail.com>
Tue, 17 Jan 2023 07:46:08 +0000 (08:46 +0100)
committerFlole998 <Flole998@users.noreply.github.com>
Tue, 24 Jan 2023 02:43:52 +0000 (03:43 +0100)
src/input/mpegts/linuxdvb/linuxdvb_en50494.c
src/input/mpegts/linuxdvb/linuxdvb_satconf.c

index 19b62eb103f9c1026619bb7d5551f7067fc19dcf..7beced5a9bce3b40b547f64e6a9def52ff22c391 100644 (file)
@@ -148,19 +148,22 @@ const idclass_t linuxdvb_en50494_class =
       .type   = PT_U16,
       .id     = "position",
       .name   = N_("Position"),
+      .desc   = N_("Position ID."),
       .off    = offsetof(linuxdvb_en50494_t, le_position),
       .list   = linuxdvb_en50494_position_list,
     },
     {
       .type   = PT_U16,
       .id     = "frequency",
-      .name   = N_("Frequency"),
+      .name   = N_("Frequency (MHz)"),
+      .desc   = N_("User Band Frequency (in MHz)."),
       .off    = offsetof(linuxdvb_en50494_t, le_frequency),
     },
     {
       .type   = PT_U16,
       .id     = "id",
       .name   = N_("SCR (ID)"),
+      .desc   = N_("SCR (Satellite Channel Router) ID."),
       .off    = offsetof(linuxdvb_en50494_t, le_id),
       .list   = linuxdvb_en50494_id_list,
     },
@@ -168,6 +171,7 @@ const idclass_t linuxdvb_en50494_class =
       .type   = PT_U16,
       .id     = "pin",
       .name   = N_("PIN"),
+      .desc   = N_("PIN."),
       .off    = offsetof(linuxdvb_en50494_t, le_pin),
       .list   = linuxdvb_en50494_pin_list,
     },
@@ -186,19 +190,22 @@ const idclass_t linuxdvb_en50607_class =
       .type   = PT_U16,
       .id     = "position",
       .name   = N_("Position"),
+      .desc   = N_("Position ID."),
       .off    = offsetof(linuxdvb_en50494_t, le_position),
       .list   = linuxdvb_en50494_position_list,
     },
     {
       .type   = PT_U16,
       .id     = "frequency",
-      .name   = N_("Frequency"),
+      .name   = N_("Frequency (MHz)"),
+      .desc   = N_("User Band Frequency (in MHz)."),
       .off    = offsetof(linuxdvb_en50494_t, le_frequency),
     },
     {
       .type   = PT_U16,
       .id     = "id",
       .name   = N_("SCR (ID)"),
+      .desc   = N_("SCR (Satellite Channel Router) ID."),
       .off    = offsetof(linuxdvb_en50494_t, le_id),
       .list   = linuxdvb_en50607_id_list,
     },
@@ -206,6 +213,7 @@ const idclass_t linuxdvb_en50607_class =
       .type   = PT_U16,
       .id     = "pin",
       .name   = N_("PIN"),
+      .desc   = N_("PIN."),
       .off    = offsetof(linuxdvb_en50494_t, le_pin),
       .list   = linuxdvb_en50494_pin_list,
     },
index ffbfe0f691b96710c5089299358f2c34220a574e..6a007a78d8e6dd2347c4368c2aa935f305d851e4 100644 (file)
@@ -543,7 +543,7 @@ const idclass_t linuxdvb_satconf_en50494_class =
       .type     = PT_U16,
       .id       = "frequency",
       .name     = N_("Frequency (MHz)"),
-      .desc     = N_("Frequency (in MHz)."),
+      .desc     = N_("User Band Frequency (in MHz)."),
       .get      = linuxdvb_satconf_class_en50494_freq_get,
       .set      = linuxdvb_satconf_class_en50494_freq_set,
       .opts     = PO_NOSAVE,
@@ -607,7 +607,7 @@ const idclass_t linuxdvb_satconf_en50607_class =
       .type     = PT_U16,
       .id       = "frequency",
       .name     = N_("Frequency (MHz)"),
-      .desc     = N_("Frequency (in MHz)."),
+      .desc     = N_("User Band Frequency (in MHz)."),
       .get      = linuxdvb_satconf_class_en50494_freq_get,
       .set      = linuxdvb_satconf_class_en50494_freq_set,
       .opts     = PO_NOSAVE,