From: Benjamin Leduc Date: Mon, 18 Aug 2014 22:44:56 +0000 (+0000) Subject: allow localization of apple cmd keys X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3f2253fab6f8cead43224c339b2ccbf4d6779cf3;p=supertux.git allow localization of apple cmd keys --- diff --git a/src/supertux/menu/keyboard_menu.cpp b/src/supertux/menu/keyboard_menu.cpp index 3750a6e07..6daef5421 100644 --- a/src/supertux/menu/keyboard_menu.cpp +++ b/src/supertux/menu/keyboard_menu.cpp @@ -79,6 +79,10 @@ KeyboardMenu::get_key_name(SDL_Keycode key) return _("Right Alt"); case SDLK_LALT: return _("Left Alt"); + case SDLK_RGUI: + return _("Right Command"); + case SDLK_LGUI: + return _("Left Command"); default: return SDL_GetKeyName((SDL_Keycode) key); }