[PATCH] statistics.c: Added missing translation of "<unit>/min"

Lubomir I. Ivanov neolit123 at gmail.com
Sat Feb 23 08:17:36 PST 2013


From: "Lubomir I. Ivanov" <neolit123 at gmail.com>

"<unit>/min" should be OK for most Latin languages, but for Cyrillic
we have to translate "min" as well.

Signed-off-by: Lubomir I. Ivanov <neolit123 at gmail.com>
---
 statistics.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/statistics.c b/statistics.c
index 73c7718..96bc5db 100644
--- a/statistics.c
+++ b/statistics.c
@@ -256,7 +256,7 @@ static void add_cell(GtkTreeStore *store, GtkTreeIter *parent, unsigned int val,
 		snprintf(value_str, sizeof(value_str), "%.*f %s", decimals, value, unit);
 	} else {
 		value = get_volume_units(val, &decimals, &unit);
-		snprintf(value_str, sizeof(value_str), "%.*f %s/min", decimals, value, unit);
+		snprintf(value_str, sizeof(value_str), _("%.*f %s/min"), decimals, value, unit);
 	}
 	add_cell_to_tree(store, value_str, cell, parent);
 }
-- 
1.7.11.msysgit.0



More information about the subsurface mailing list