diff -r 241e3bb6a146 -r 6800f8aa0184 QTfrontend/binds.cpp --- a/QTfrontend/binds.cpp Mon Oct 12 13:56:07 2009 +0000 +++ b/QTfrontend/binds.cpp Mon Oct 12 16:44:30 2009 +0000 @@ -20,43 +20,50 @@ const BindAction cbinds[BINDS_NUMBER] = { - {"+up", "up", QT_TRANSLATE_NOOP("binds", "up"), false}, - {"+left", "left", QT_TRANSLATE_NOOP("binds", "left"), false}, - {"+right", "right", QT_TRANSLATE_NOOP("binds", "right"), false}, - {"+down", "down", QT_TRANSLATE_NOOP("binds", "down"), false}, - {"ljump", "return", QT_TRANSLATE_NOOP("binds", "jump"), false}, - {"hjump", "backspace", QT_TRANSLATE_NOOP("binds", "jump"), false}, - {"+attack", "space", QT_TRANSLATE_NOOP("binds", "attack"), false}, - {"+precise", "left_shift", QT_TRANSLATE_NOOP("binds", "precise aim"), false}, - {"put", "mousel", QT_TRANSLATE_NOOP("binds", "put"), false}, - {"switch", "tab", QT_TRANSLATE_NOOP("binds", "switch"), false}, - {"findhh", "h", QT_TRANSLATE_NOOP("binds", "find hedgehog"), true}, - {"ammomenu", "mouser", QT_TRANSLATE_NOOP("binds", "ammo menu"), false}, - {"slot 1", "f1", QT_TRANSLATE_NOOP("binds", "slot 1"), false}, - {"slot 2", "f2", QT_TRANSLATE_NOOP("binds", "slot 2"), false}, - {"slot 3", "f3", QT_TRANSLATE_NOOP("binds", "slot 3"), false}, - {"slot 4", "f4", QT_TRANSLATE_NOOP("binds", "slot 4"), false}, - {"slot 5", "f5", QT_TRANSLATE_NOOP("binds", "slot 5"), false}, - {"slot 6", "f6", QT_TRANSLATE_NOOP("binds", "slot 6"), false}, - {"slot 7", "f7", QT_TRANSLATE_NOOP("binds", "slot 7"), false}, - {"slot 8", "f8", QT_TRANSLATE_NOOP("binds", "slot 8"), false}, - {"slot 9", "f9", QT_TRANSLATE_NOOP("binds", "slot 9"), true}, - {"timer 1", "1", QT_TRANSLATE_NOOP("binds", "timer 1 sec"), false}, - {"timer 2", "2", QT_TRANSLATE_NOOP("binds", "timer 2 sec"), false}, - {"timer 3", "3", QT_TRANSLATE_NOOP("binds", "timer 3 sec"), false}, - {"timer 4", "4", QT_TRANSLATE_NOOP("binds", "timer 4 sec"), false}, - {"timer 5", "5", QT_TRANSLATE_NOOP("binds", "timer 5 sec"), true}, - {"chat", "t", QT_TRANSLATE_NOOP("binds", "chat"), false}, - {"history", "`", QT_TRANSLATE_NOOP("binds", "chat history"), false}, - {"pause", "p", QT_TRANSLATE_NOOP("binds", "pause"), false}, - {"confirm", "y", QT_TRANSLATE_NOOP("binds", "confirmation"), false}, - {"+voldown", "9", QT_TRANSLATE_NOOP("binds", "volume down"), false}, - {"+volup", "0", QT_TRANSLATE_NOOP("binds", "volume up"), false}, - {"zoomin", "wheeldown", QT_TRANSLATE_NOOP("binds", "zoom in"), false}, - {"zoomout", "wheelup", QT_TRANSLATE_NOOP("binds", "zoom out"), false}, - {"zoomreset", "mousem", QT_TRANSLATE_NOOP("binds", "reset zoom"), false}, - {"fullscr", "f12", QT_TRANSLATE_NOOP("binds", "change mode"), false}, - {"capture", "c", QT_TRANSLATE_NOOP("binds", "capture"), false}, - {"rotmask", "delete", QT_TRANSLATE_NOOP("binds", "hedgehogs\ninfo"), false}, - {"quit", "escape", QT_TRANSLATE_NOOP("binds", "quit"), true} + {"+up", "up", QT_TRANSLATE_NOOP("binds", "up"), QT_TRANSLATE_NOOP("binds (categories)", "Basic controls"), QT_TRANSLATE_NOOP("binds (descriptions)", "Move your hogs and aim:")}, + {"+left", "left", QT_TRANSLATE_NOOP("binds", "left"), NULL, NULL}, + {"+right", "right", QT_TRANSLATE_NOOP("binds", "right"), NULL, NULL}, + {"+down", "down", QT_TRANSLATE_NOOP("binds", "down"), NULL, NULL}, + {"+precise", "left_shift", QT_TRANSLATE_NOOP("binds", "precise aim"), NULL, NULL}, + {"ljump", "return", QT_TRANSLATE_NOOP("binds", "long jump"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Traverse gaps and obstacles by jumping:")}, + {"hjump", "backspace", QT_TRANSLATE_NOOP("binds", "high jump"), NULL, NULL}, + {"+attack", "space", QT_TRANSLATE_NOOP("binds", "attack"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Fire your selected weapon or trigger an utility item:")}, + {"put", "mousel", QT_TRANSLATE_NOOP("binds", "put"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Pick a weapon or a target location under the cursor:")}, + {"switch", "tab", QT_TRANSLATE_NOOP("binds", "switch"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Switch your currently active hog (if possible):")}, + {"ammomenu", "mouser", QT_TRANSLATE_NOOP("binds", "ammo menu"), QT_TRANSLATE_NOOP("binds (categories)", "Weapon controls"), QT_TRANSLATE_NOOP("binds (descriptions)", "Pick a weapon or utility item:")}, + {"slot 1", "f1", QT_TRANSLATE_NOOP("binds", "slot 1"), NULL, NULL}, + {"slot 2", "f2", QT_TRANSLATE_NOOP("binds", "slot 2"), NULL, NULL}, + {"slot 3", "f3", QT_TRANSLATE_NOOP("binds", "slot 3"), NULL, NULL}, + {"slot 4", "f4", QT_TRANSLATE_NOOP("binds", "slot 4"), NULL, NULL}, + {"slot 5", "f5", QT_TRANSLATE_NOOP("binds", "slot 5"), NULL, NULL}, + {"slot 6", "f6", QT_TRANSLATE_NOOP("binds", "slot 6"), NULL, NULL}, + {"slot 7", "f7", QT_TRANSLATE_NOOP("binds", "slot 7"), NULL, NULL}, + {"slot 8", "f8", QT_TRANSLATE_NOOP("binds", "slot 8"), NULL, NULL}, + {"slot 9", "f9", QT_TRANSLATE_NOOP("binds", "slot 9"), NULL, NULL}, + {"timer 1", "1", QT_TRANSLATE_NOOP("binds", "timer 1 sec"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Set the timer on bombs and timed weapons:")}, + {"timer 2", "2", QT_TRANSLATE_NOOP("binds", "timer 2 sec"), NULL, NULL}, + {"timer 3", "3", QT_TRANSLATE_NOOP("binds", "timer 3 sec"), NULL, NULL}, + {"timer 4", "4", QT_TRANSLATE_NOOP("binds", "timer 4 sec"), NULL, NULL}, + {"timer 5", "5", QT_TRANSLATE_NOOP("binds", "timer 5 sec"), NULL, NULL}, + {"findhh", "h", QT_TRANSLATE_NOOP("binds", "find hedgehog"), QT_TRANSLATE_NOOP("binds (categories)", "Camera and cursor controls"), QT_TRANSLATE_NOOP("binds (descriptions)", "Move the camera to the active hog:")}, + {"+cur_u", "", QT_TRANSLATE_NOOP("binds", "up"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Move the cursor or camera without using the mouse:")}, + {"+cur_l", "", QT_TRANSLATE_NOOP("binds", "left"), NULL, NULL}, + {"+cur_r", "", QT_TRANSLATE_NOOP("binds", "right"), NULL, NULL}, + {"+cur_d", "", QT_TRANSLATE_NOOP("binds", "down"), NULL, NULL}, +// {"+cur_m", "", QT_TRANSLATE_NOOP("binds", "movement key modifier"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Specify a modifier key to move camera and cursor using your default hog movement keys:")}, + {"zoomin", "wheeldown", QT_TRANSLATE_NOOP("binds", "zoom in"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Modify the camera's zoom level:")}, + {"zoomout", "wheelup", QT_TRANSLATE_NOOP("binds", "zoom out"), NULL, NULL}, + {"zoomreset", "mousem", QT_TRANSLATE_NOOP("binds", "reset zoom"), NULL, NULL}, + {"chat", "t", QT_TRANSLATE_NOOP("binds", "chat"), QT_TRANSLATE_NOOP("binds (categories)", "Other"), QT_TRANSLATE_NOOP("binds (descriptions)", "Talk to your team or all participants:")}, + {"history", "`", QT_TRANSLATE_NOOP("binds", "chat history"), NULL, NULL}, + {"pause", "p", QT_TRANSLATE_NOOP("binds", "pause"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Pause, continue or leave your game:")}, + {"quit", "escape", QT_TRANSLATE_NOOP("binds", "quit"), NULL, NULL}, + {"confirm", "y", QT_TRANSLATE_NOOP("binds", "confirmation"), NULL, NULL}, + {"+voldown", "9", QT_TRANSLATE_NOOP("binds", "volume down"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Modify the game's volume while playing:")}, + {"+volup", "0", QT_TRANSLATE_NOOP("binds", "volume up"), NULL, NULL}, +#ifndef _WIN32 + {"fullscr", "f12", QT_TRANSLATE_NOOP("binds", "change mode"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Toggle fullscreen mode:")}, +#endif + {"capture", "c", QT_TRANSLATE_NOOP("binds", "capture"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Take a screenshot:")}, + {"rotmask", "delete", QT_TRANSLATE_NOOP("binds", "hedgehogs\ninfo"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Toggle labels above hedgehogs:")} };