diff options
Diffstat (limited to 'src/math-buttons.c')
-rw-r--r-- | src/math-buttons.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/math-buttons.c b/src/math-buttons.c index 016ca41..3c71ed3 100644 --- a/src/math-buttons.c +++ b/src/math-buttons.c @@ -429,7 +429,7 @@ update_angle_label (MathButtons *buttons) mp_multiply_integer(&fraction, 360, &output); mp_cast_to_string(&output, 10, 10, 2, false, output_text, 1024); - label = g_strdup_printf("%s radians = %s degrees", input_text, output_text); + label = g_strdup_printf(_("%s radians = %s degrees"), input_text, output_text); break; case MP_GRADIANS: /* Clip to the range ±400 */ @@ -449,7 +449,7 @@ update_angle_label (MathButtons *buttons) mp_multiply_integer(&fraction, 360, &output); mp_cast_to_string(&output, 10, 10, 2, false, output_text, 1024); - label = g_strdup_printf("%s gradians = %s degrees", input_text, output_text); + label = g_strdup_printf(_("%s gradians = %s degrees"), input_text, output_text); break; } @@ -554,7 +554,10 @@ update_currency_label(MathButtons *buttons) for (i = 0; strcmp(math_equation_get_target_currency(buttons->priv->equation), currency_names[i].short_name) != 0; i++); target_symbol = currency_names[i].symbol; - label = g_strdup_printf("%s%s = %s%s", + /* Translators: first and third %s are currency symbols, second + * and fourth are amounts in these currencies, you may want to change + * the order of these, example: $100 = €100 */ + label = g_strdup_printf(_("%s%s = %s%s"), source_symbol, input_text, target_symbol, output_text); } |