diff --git a/src/Views/SystemView/SystemCPUView.vala b/src/Views/SystemView/SystemCPUView.vala index a17ff781d..e4a648902 100644 --- a/src/Views/SystemView/SystemCPUView.vala +++ b/src/Views/SystemView/SystemCPUView.vala @@ -16,7 +16,9 @@ public class Monitor.SystemCPUView : Monitor.WidgetResource { public SystemCPUView (CPU _cpu) { cpu = _cpu; - title = cpu.model_name; + + title = _("Processor"); + description = cpu.model_name; set_popover_more_info (new SystemCPUInfoPopover (cpu)); diff --git a/src/Views/SystemView/SystemGPUView.vala b/src/Views/SystemView/SystemGPUView.vala index 57f90f66a..441f852de 100644 --- a/src/Views/SystemView/SystemGPUView.vala +++ b/src/Views/SystemView/SystemGPUView.vala @@ -60,7 +60,8 @@ public class Monitor.SystemGPUView : Monitor.WidgetResource { public SystemGPUView (IGPU _gpu) { gpu = _gpu; - title = gpu.name; + title = _("Graphics"); + description = gpu.name; gpu_chart = new Chart (1); gpu_chart.set_serie_color (0, Utils.Colors.get_rgba_color (Utils.Colors.LIME_500)); diff --git a/src/Widgets/WidgetResource/WidgetResource.vala b/src/Widgets/WidgetResource/WidgetResource.vala index 39ed97572..8628b0948 100644 --- a/src/Widgets/WidgetResource/WidgetResource.vala +++ b/src/Widgets/WidgetResource/WidgetResource.vala @@ -10,6 +10,12 @@ public class Monitor.WidgetResource : Gtk.Box { } } + public string description { + set { + _title.secondary_text = value; + } + } + public string main_metric_value { set { main_metric_label.label = value;