allow localization of apple cmd keys
authorBenjamin Leduc <g.benjamin.leduc@gmail.com>
Mon, 18 Aug 2014 22:44:56 +0000 (22:44 +0000)
committerBenjamin Leduc <g.benjamin.leduc@gmail.com>
Mon, 18 Aug 2014 22:44:56 +0000 (22:44 +0000)
src/supertux/menu/keyboard_menu.cpp

index 3750a6e..6daef54 100644 (file)
@@ -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);
   }