From e0781f0390291e264e6dd9c17beae1342e87f9a2 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 26 Jul 2011 18:50:29 +0200 Subject: core: add mouse support (task #5435), free cursor movement, hook_focus, fix bugs with key "^" (bug #32072, bug #21381), fix bugs with bar windows, completion and /buffer New features and bugs fixed: - mouse support: new command /mouse, new option weechat.look.mouse, new key context "mouse" - free movement of cursor: new command /cursor, new key context "cursor" - new hook_focus (used by cursor and mouse) - info "cursor_mode" - bugs fixed with key "^" - allow plugin name in /buffer name - fix bugs with bar windows: do not create bar windows for hidden bars - fix completion bug when two words for completion are equal but with different case - automatic scroll direction in /bar scroll (x/y is now optional) --- po/weechat.pot | 129 ++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 115 insertions(+), 14 deletions(-) (limited to 'po/weechat.pot') diff --git a/po/weechat.pot b/po/weechat.pot index 96aa3f134..98c6d043d 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-07-10 23:03+0200\n" +"POT-Creation-Date: 2011-07-26 14:08+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -334,12 +334,14 @@ msgstr "" msgid "default command:" msgstr "" +#. TRANSLATORS: first "%d" is number of keys #, c-format -msgid "Key bindings added or redefined (%d) for context \"%s\":" +msgid "%d key bindings added or redefined for context \"%s\":" msgstr "" +#. TRANSLATORS: first "%d" is number of keys #, c-format -msgid "Key bindings deleted (%d) for context \"%s\":" +msgid "%d key bindings deleted for context \"%s\":" msgstr "" #, c-format @@ -370,16 +372,18 @@ msgstr "" msgid "No key binding defined for context \"%s\"" msgstr "" +#. TRANSLATORS: first "%d" is number of keys #, c-format -msgid "Key bindings (%d) for context \"%s\":" +msgid "%d key bindings for context \"%s\":" msgstr "" #, c-format msgid "No default key binding for context \"%s\"" msgstr "" +#. TRANSLATORS: first "%d" is number of keys #, c-format -msgid "Default key bindings (%d) for context \"%s\":" +msgid "%d default key bindings for context \"%s\":" msgstr "" msgid "Key:" @@ -786,9 +790,9 @@ msgid "" " scroll: scroll bar\n" " buffer: name of buffer to scroll ('*' means current buffer, you " "should use '*' for root bars)\n" -" scroll_value: value for scroll: 'x' or 'y', followed by '+', '-', " -"'b' (beginning) or 'e' (end), value (for +/-), and optional %% (to scroll by " -"%% of width/height, otherwise value is number of chars)\n" +" scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', " +"'-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to " +"scroll by % of width/height, otherwise value is number of chars)\n" "\n" "Examples:\n" " create a bar with time, buffer number + name, and completion:\n" @@ -895,12 +899,40 @@ msgid "" "beginning of command)" msgstr "" +msgid "" +"free movement of cursor on screen to execute actions on specific areas of " +"screen" +msgstr "" + +msgid "" +"go chat||, || move up|down|left|right|area_up|area_down|area_left|" +"area_right || stop" +msgstr "" + +msgid "" +" go: move cursor to chat area, a bar (using bar name) or coordinates \"x,y" +"\"\n" +"move: move cursor with direction\n" +"stop: stop cursor mode\n" +"\n" +"Without argument, this command toggles cursor mode.\n" +"\n" +"When mouse is enabled (see /help mouse), by default a middle click will " +"start cursor mode at this point.\n" +"\n" +"Examples:\n" +" go to nicklist:\n" +" /cursor go nicklist\n" +" go to coordinates x=10, y=5:\n" +" /cursor go 10,5" +msgstr "" + msgid "control debug for core/plugins" msgstr "" msgid "" -"list || set || dump [] || buffer|color|infolists|" -"memory|tags|term|windows || hdata [free]" +"list || set || dump [] || buffer|color|cursor|" +"infolists|memory|mouse|tags|term|windows || hdata [free]" msgstr "" msgid "" @@ -912,10 +944,12 @@ msgid "" "WeeChat crashes)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " color: display infos about current color pairs\n" +" cursor: toggle debug for cursor mode\n" " hdata: display infos about hdata (with free: remove all hdata in " "memory)\n" "infolists: display infos about infolists\n" " memory: display infos about memory usage\n" +" mouse: toggle debug for mouse\n" " tags: display tags for lines\n" " term: display infos about terminal\n" " windows: display windows tree" @@ -1054,8 +1088,10 @@ msgid "" " jump_previously_visited_buffer: jump to previously visited buffer\n" " jump_next_visited_buffer: jump to next visited buffer\n" " hotlist_clear: clear hotlist\n" -" grab_key: grab a key\n" -" grab_key_command: grab a key with its associated command\n" +" grab_key: grab a key (optional argument: delay for end of grab, default is " +"500 milliseconds)\n" +" grab_key_command: grab a key with its associated command (optional " +"argument: delay for end of grab, default is 500 milliseconds)\n" " scroll_unread: scroll to unread marker\n" " set_unread: set unread marker for all buffers\n" " set_unread_current_buffer: set unread marker for current buffer\n" @@ -1100,6 +1136,15 @@ msgid "" "then k), and then press the key to bind: this will insert key code in " "command line.\n" "\n" +"For context \"mouse\" (possible in context \"cursor\" too), key has format: " +"\"@area:key\" where area can be:\n" +" *: any area on screen\n" +" chat: chat area\n" +" bar(*): any bar\n" +" bar(xxx): bar \"xxx\"\n" +" item(*): any bar item\n" +" item(xxx): bar item \"xxx\"\n" +"\n" "Examples:\n" " key alt-x to toggle nicklist bar:\n" " /key bind meta-x /bar toggle nicklist\n" @@ -1108,7 +1153,10 @@ msgid "" " restore default binding for key alt-r:\n" " /key reset meta-r\n" " key \"tab\" to stop search in buffer:\n" -" /key bindctxt search ctrl-I /input search_stop" +" /key bindctxt search ctrl-I /input search_stop\n" +" middle button of mouse on a nick to retrieve info on nick:\n" +" /key bindctxt mouse @item(buffer_nicklist):button3 /msg nickserv info " +"${nick}" msgstr "" msgid "save/apply/reset layout for buffers and windows" @@ -1128,6 +1176,29 @@ msgid "" "Without argument, this command displays saved layout." msgstr "" +msgid "mouse control" +msgstr "" + +msgid "enable|disable|toggle []" +msgstr "" + +msgid "" +" enable: enable mouse\n" +"disable: disable mouse\n" +" toggle: toggle mouse\n" +" delay: delay (in seconds) after which initial mouse state is restored " +"(useful to temporarily disable mouse)\n" +"\n" +"To enable/disable mouse at startup, use:\n" +" /set weechat.look.mouse on/off\n" +"\n" +"Examples:\n" +" enable mouse:\n" +" /mouse enable\n" +" toggle mouse for 5 seconds:\n" +" /mouse toggle 5" +msgstr "" + msgid "execute a command silently" msgstr "" @@ -1498,6 +1569,9 @@ msgstr "" msgid "key codes that can be reset (keys added, redefined or removed)" msgstr "" +msgid "areas (\"chat\" or bar name) for free cursor movement" +msgstr "" + msgid "" "Warning: you should now issue /save to write \"save_config_on_exit\" option " "in configuration file" @@ -1683,6 +1757,9 @@ msgid "" "jump to buffer number - 1)" msgstr "" +msgid "enable mouse support at startup (to enable it now, see /help mouse)" +msgstr "" + msgid "display nick mode ((half)op/voice) before each nick" msgstr "" @@ -2301,6 +2378,12 @@ msgstr "" msgid "Signal SIGHUP received, reloading configuration files" msgstr "" +msgid "Mouse is enabled" +msgstr "" + +msgid "Mouse is disabled" +msgstr "" + #, c-format msgid " TERM='%s', size: %dx%d" msgstr "" @@ -2398,11 +2481,17 @@ msgstr "" msgid "%sError: it is only possible to merge buffers with formatted content" msgstr "" +msgid "Debug enabled for cursor mode" +msgstr "" + +msgid "Debug disabled for cursor mode" +msgstr "" + msgid "Error: not enough memory to add a buffer to hotlist" msgstr "" #, c-format -msgid "New key binding: %s%s => %s%s" +msgid "New key binding (context \"%s\"): %s%s => %s%s" msgstr "" #, c-format @@ -2415,6 +2504,12 @@ msgstr "" msgid "Not enough memory for new line" msgstr "" +msgid "Debug enabled for mouse" +msgstr "" + +msgid "Debug disabled for mouse" +msgstr "" + #, c-format msgid "%s%s: error, circular reference when calling alias \"%s\"" msgstr "" @@ -5316,6 +5411,9 @@ msgstr "" msgid "1 if filters are enabled" msgstr "" +msgid "1 if cursor mode is enabled" +msgstr "" + msgid "list of bars" msgstr "" @@ -5420,6 +5518,9 @@ msgstr "" msgid "bar item" msgstr "" +msgid "bar window" +msgstr "" + msgid "buffer" msgstr "" -- cgit v1.2.3