From e6ad2e33f7a62324b73bcda79c072090a532a030 Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Thu, 18 Apr 2013 20:31:43 +0200 Subject: Add tooltip mentioning keys to shift buttons again. Also, change them in all translations with the help of find and sed. I am not entirely sure if this is correct for RTL languages like arabic, but it does look similar to the other tooltips :) Commands used: find . -name "*.po" -print | xargs sed -i '{N s/msgid "Shift Left"\n\(.*\)"/msgid "Shift Left [<<]"\n\1 [<<]"/g}' find . -name "*.po" -print | xargs sed -i '{N s/msgid "Shift Right"\n\(.*\)"/msgid "Shift Right [>>]"\n\1 [>>]"/g}' --- src/math-buttons.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/math-buttons.c b/src/math-buttons.c index ade7efc..518a487 100644 --- a/src/math-buttons.c +++ b/src/math-buttons.c @@ -247,10 +247,10 @@ static ButtonData button_data[] = { N_("Undo [Ctrl+Z]")}, {"shift_left", NULL, ACTION, /* Tooltip for the shift left button */ - N_("Shift Left")}, + N_("Shift Left [<<]")}, {"shift_right", NULL, ACTION, /* Tooltip for the shift right button */ - N_("Shift Right")}, + N_("Shift Right [>>]")}, {"finc_compounding_term", NULL, FUNCTION, /* Tooltip for the compounding term button */ N_("Compounding Term")}, -- cgit v1.2.1