[libshumate/tintou/i18n-fix: 2/2] scale: Add comments for translators to understand what m/km/ft/mi mean here




commit 14e68526c808de6707326945c7cbc78710c9d2af
Author: Corentin Noël <corentin noel collabora com>
Date:   Sun May 15 11:36:56 2022 +0200

    scale: Add comments for translators to understand what m/km/ft/mi mean here

 shumate/shumate-scale.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/shumate/shumate-scale.c b/shumate/shumate-scale.c
index 1062383..ecf020e 100644
--- a/shumate/shumate-scale.c
+++ b/shumate/shumate-scale.c
@@ -193,15 +193,19 @@ shumate_scale_on_scale_changed (ShumateScale *self)
   gtk_widget_set_size_request (self->imperial_label, imperial_scale_width, -1);
 
   if (metric_is_small_unit)
+    // m is the unit for meters
     metric_label = g_strdup_printf (_("%d m"), (int) metric_base);
   else
+    // km is the unit for kilometers
     metric_label = g_strdup_printf (_("%d km"), (int) metric_base);
 
   gtk_label_set_label (GTK_LABEL (self->metric_label), metric_label);
 
   if (imperial_is_small_unit)
+    // ft is the unit for feet
     imperial_label = g_strdup_printf (_("%d ft"), (int) imperial_base);
   else
+    // mi is the unit for miles
     imperial_label = g_strdup_printf (_("%d mi"), (int) imperial_base);
 
   gtk_label_set_label (GTK_LABEL (self->imperial_label), imperial_label);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]