From d210199da56bb145fdb3542158b450c48a0ce5f0 Mon Sep 17 00:00:00 2001 From: Ell Date: Sun, 26 Aug 2018 15:11:04 -0400 Subject: [PATCH] app: fix dashboard swap read-throughput desc.; add translator comment --- app/widgets/gimpdashboard.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/widgets/gimpdashboard.c b/app/widgets/gimpdashboard.c index ecc836c208..6da9608f60 100644 --- a/app/widgets/gimpdashboard.c +++ b/app/widgets/gimpdashboard.c @@ -532,7 +532,7 @@ static const VariableInfo variables[] = [VARIABLE_SWAP_READ_THROUGHPUT] = { .name = "swap-read-throughput", .title = NC_("dashboard-variable", "Read throughput"), - .description = N_("The rate at which data is written to the swap"), + .description = N_("The rate at which data is read from the swap"), .type = VARIABLE_TYPE_RATE_OF_CHANGE, .color = {0.2, 0.4, 1.0, 1.0}, .sample_func = gimp_dashboard_sample_variable_rate_of_change, @@ -3100,6 +3100,10 @@ gimp_dashboard_field_to_string (GimpDashboard *dashboard, break; case VARIABLE_TYPE_RATE_OF_CHANGE: + /* Translators: This string reports the rate of change of a measured + * value. The "%g" is replaced by a certain quantity, and the "/s" + * is an abbreviation for "per second". + */ str = g_strdup_printf (_("%g/s"), variable_data->value.rate_of_change); static_str = FALSE;