[gcalctool] Make the result of currency conversion translatable.



commit e16ff2bb43195f0ade33c4cb61250769f0829a91
Author: Gabor Kelemen <kelemeng gnome hu>
Date:   Tue Mar 1 21:14:03 2011 +0100

    Make the result of currency conversion translatable.
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=643571

 src/unit-manager.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/unit-manager.c b/src/unit-manager.c
index 01c9fd0..1edb9d3 100644
--- a/src/unit-manager.c
+++ b/src/unit-manager.c
@@ -122,7 +122,8 @@ unit_manager_get_default(void)
         gchar *format;
         Unit *unit;
 
-        format = g_strdup_printf("%s%%s", currency_get_symbol(currency));
+        /* Translators: result of currency conversion, %s is the symbol, %%s is the placeholder for amount, i.e.: USD100 */
+        format = g_strdup_printf(_("%s%%s"), currency_get_symbol(currency));
         unit = unit_new(currency_get_name(currency), currency_get_display_name(currency), format, NULL, NULL, currency_get_name(currency));
         g_free(format);
 



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