L10n:MirLua/NamedEvents/ExtDescription: Difference between revisions
Jump to navigation
Jump to search
m (Reverted edits by RMN (talk) to last revision by Wishmaster) |
(bad translation into English - needs revision) |
||
Line 8: | Line 8: | ||
}} | }} | ||
| HookEvent = {{#switch: {{{lang|{{#var:PageLang}} }}} | | HookEvent = {{#switch: {{{lang|{{#var:PageLang}} }}} | ||
| #default = | | #default = Traps are called one by one in the order they were added to the sequence.<br /> | ||
Trap signature: <code>function (wParam, lParam) return 0 end</code>.<br /> | |||
Correct result for a trap is 0. When 1 is returned, the following traps in a sequence won't be called. | |||
| de = HookEvent erweiterte Beschreibung. | | de = HookEvent erweiterte Beschreibung. | ||
| en = | | en = Traps are called one by one in the order they were added to the sequence.<br /> | ||
| ru = | Trap signature: <code>function (wParam, lParam) return 0 end</code>.<br /> | ||
Correct result for a trap is 0. When 1 is returned, the following traps in a sequence won't be called. | |||
| ru = Ловушки вызываются в порядке добавления по цепочке друг за другом.<br /> | |||
Сигнатура ловушки: <code>function (wParam, lParam) return 0 end</code>.<br /> | |||
Корректным результатом работы ловушки является 0. При возврате 1 следующие в цепочке ловушки не будут вызваны. | |||
}} | }} | ||
| UnhookEvent = {{#switch: {{{lang|{{#var:PageLang}} }}} | | UnhookEvent = {{#switch: {{{lang|{{#var:PageLang}} }}} | ||
Line 26: | Line 32: | ||
}} | }} | ||
| DestroyHookableEvent = {{#switch: {{{lang|{{#var:PageLang}} }}} | | DestroyHookableEvent = {{#switch: {{{lang|{{#var:PageLang}} }}} | ||
| #default = | | #default = All traps of the call sequence are destroyed as well. If event call wasn't competed, the call sequence gets broken after the current trap function is executed. | ||
| de = DestroyHookableEvent erweiterte Beschreibung. | | de = DestroyHookableEvent erweiterte Beschreibung. | ||
| en = | | en = All traps of the call sequence are destroyed as well. If event call wasn't competed, the call sequence gets broken after the current trap function is executed. | ||
| ru = | | ru = Также удаляются все ловушки из цепочки вызовов. Если вызов события еще не завершен, то цепочка вызовов обрывается после выполнения текущей ловушки. | ||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> |
Revision as of 18:28, 10 December 2015
Documentation[create]