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/pt_BR.po | 152 +++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 134 insertions(+), 18 deletions(-) (limited to 'po/pt_BR.po') diff --git a/po/pt_BR.po b/po/pt_BR.po index 68da9e856..5a6de4a00 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.6-dev\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: 2011-05-15 10:52+0200\n" "Last-Translator: Ivan Sichmann Freitas \n" "Language-Team: weechat-dev \n" @@ -379,12 +379,14 @@ msgstr "Histórico de comandos de buffer:" msgid "default command:" msgstr "comando padrão:" +#. TRANSLATORS: first "%d" is number of keys #, fuzzy, c-format -msgid "Key bindings added or redefined (%d) for context \"%s\":" +msgid "%d key bindings added or redefined for context \"%s\":" msgstr "Atalhos de teclado adicionados ou redefinidos (%d):" +#. TRANSLATORS: first "%d" is number of keys #, fuzzy, c-format -msgid "Key bindings deleted (%d) for context \"%s\":" +msgid "%d key bindings deleted for context \"%s\":" msgstr "Atalhos de teclado deletados (%d):" #, fuzzy, c-format @@ -415,17 +417,19 @@ msgstr "%sTecla \"%s\" não encontrada" msgid "No key binding defined for context \"%s\"" msgstr "Nenhum atalho de teclado definido" +#. TRANSLATORS: first "%d" is number of keys #, fuzzy, c-format -msgid "Key bindings (%d) for context \"%s\":" -msgstr "Atalhos de teclado (%d):" +msgid "%d key bindings for context \"%s\":" +msgstr "Atalhos de teclado deletados (%d):" #, fuzzy, c-format msgid "No default key binding for context \"%s\"" msgstr "Nenhum atalho de teclado padrão" +#. TRANSLATORS: first "%d" is number of keys #, fuzzy, c-format -msgid "Default key bindings (%d) for context \"%s\":" -msgstr "Atalhos de teclado padrão (%d):" +msgid "%d default key bindings for context \"%s\":" +msgstr "Nenhum atalho de teclado padrão" msgid "Key:" msgstr "Tecla:" @@ -864,9 +868,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" @@ -1094,13 +1098,41 @@ msgstr "" "command: comando a ser executado (um '/' é automaticamente adicionado se não " "for encontrado no começo de um comando)" +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 "cotrolar depuração para core/plugins" #, fuzzy 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 "[list | set plugin level | dump [plugin] | buffer | windows | term]" # find a better translation to dump? @@ -1115,10 +1147,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" @@ -1326,8 +1360,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" @@ -1418,6 +1454,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" @@ -1426,7 +1471,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 "" " list: lista todos as teclas atuais (sem argumentos, esta lista é " "mostrada)\n" @@ -1479,6 +1527,29 @@ msgstr "" "\n" "Sem argumentos, este comando mosta a disposição salva" +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 "executa um comando silenciosamente" @@ -2041,6 +2112,9 @@ msgstr "" "códigos de tecla que podem ser restaurados (teclas adicionadas, redefinidas " "ou removidas)" +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" @@ -2278,6 +2352,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 "" @@ -2906,6 +2983,14 @@ msgstr "" msgid "Signal SIGHUP received, reloading configuration files" msgstr "" +#, fuzzy +msgid "Mouse is enabled" +msgstr "Filtro de mensagens habilitado" + +#, fuzzy +msgid "Mouse is disabled" +msgstr "Filtro de mensagens desabilitado" + #, c-format msgid " TERM='%s', size: %dx%d" msgstr "" @@ -3003,12 +3088,20 @@ msgstr "" msgid "%sError: it is only possible to merge buffers with formatted content" msgstr "" +#, fuzzy +msgid "Debug enabled for cursor mode" +msgstr "Debug desabilitado para \"%s\"" + +#, fuzzy +msgid "Debug disabled for cursor mode" +msgstr "Debug desabilitado para \"%s\"" + msgid "Error: not enough memory to add a buffer to hotlist" msgstr "" -#, c-format -msgid "New key binding: %s%s => %s%s" -msgstr "" +#, fuzzy, c-format +msgid "New key binding (context \"%s\"): %s%s => %s%s" +msgstr "Nenhum atalho de teclado padrão" #, c-format msgid "Error: unable to bind key \"%s\"" @@ -3020,6 +3113,14 @@ msgstr "" msgid "Not enough memory for new line" msgstr "" +#, fuzzy +msgid "Debug enabled for mouse" +msgstr "Debug desabilitado para \"%s\"" + +#, fuzzy +msgid "Debug disabled for mouse" +msgstr "Debug desabilitado para \"%s\"" + #, c-format msgid "%s%s: error, circular reference when calling alias \"%s\"" msgstr "" @@ -5933,6 +6034,9 @@ msgstr "" msgid "1 if filters are enabled" msgstr "" +msgid "1 if cursor mode is enabled" +msgstr "" + msgid "list of bars" msgstr "" @@ -6038,6 +6142,10 @@ msgstr "" msgid "bar item" msgstr "Lista de itens da barra:" +#, fuzzy +msgid "bar window" +msgstr "gerencia janelas" + #, fuzzy msgid "buffer" msgstr "gerenciar buffers" @@ -7085,6 +7193,14 @@ msgstr "" msgid "Lists" msgstr "" +#, fuzzy +#~ msgid "Key bindings (%d) for context \"%s\":" +#~ msgstr "Atalhos de teclado (%d):" + +#, fuzzy +#~ msgid "Default key bindings (%d) for context \"%s\":" +#~ msgstr "Atalhos de teclado padrão (%d):" + #, fuzzy #~ msgid "completion" #~ msgstr "compilado em" -- cgit v1.2.3