Translations by theadmin
theadmin has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.
1 → 10 of 10 results | First • Previous • Next • Last |
1. |
Customizing the Keymap
|
|
2014-03-31 |
Настройка клавиатуры
|
|
2. |
The variable :var:`config.keymap` contains a map from event names to lists of keysyms that cause those events to occur.
|
|
2014-03-31 |
Переменная :var:`config.keymap` содержит словарь от названий событий к спискам клавишных символов, вызывающих эти события.
|
|
3. |
Many players have learned the default set of Ren'Py keybindings, and expect them to be the same from game to game.
|
|
2014-03-31 |
Многие игроки уже выучили стандартные клавиши в Ren'Py и ожидают, что они будут такими же во всех играх.
|
|
4. |
In Ren'Py keysyms are strings representing mouse buttons, joystick buttons, or keyboard keys.
|
|
2014-03-31 |
В Ren'Py клавишные символы - строки, представляющие собой клавиши клавиатуры, кнопки мыши и джойстика.
|
|
5. |
Mouse buttons use keysyms of the form 'mouseup_#' or 'mousedown_#', where # is a button number. Ren'Py assumes a five button mouse, where buttons 1, 2, and 3 are the left, middle, and right buttons, while buttons 4 and 5 are generated by scrolling the wheel up and down. For example, "mousedown_1" is generally a press of the left mouse button, "mouseup_1" is a release of that button, and "mousedown_4" is a turn of the scroll wheel to the top.
|
|
2014-03-31 |
Кнопки мыши используют клавишные символы вида 'mouseup_#' и 'mousedown_#', где # - номер кнопки. Количество кнопок, предполагаемых Ren'Py - 5. Кнопки 1, 2 и 3 - левая, средняя и правая кнопки мыши, а кнопки 4 и 5 - прокрутка колесика вверх или вниз. Например, "mousedown_1" - обычно нажатие левой кнопки мыши, "mouseup_1" - ее отпуск, а "mousedown_4" - поворот колесика наверх.
|
|
6. |
Joystick keysyms begin with joy\_. They are defined in :var:`config.joystick_keys`, and mapped to actual joystick events by the user.
|
|
2014-03-31 |
Клавишные символы джойстика начинаются с joy\_. Они определены в :var:`config.joystick_keys`. На настоящие события джойстика их может назначить пользователь.
|
|
7. |
There are two kinds of keyboard keysyms. The first is a string containing a character that is generated when a key is pressed. This is useful for binding alphabetic keys and numbers. Examples of these keysyms include "a", "A", and "7".
|
|
2014-03-31 |
Существует два вида клавишных символов, связанных с клавиатурой Первые - строки, содержащие символы, создаваемые при нажатии соответствуюющей клавиши. Это полезно для назначения алфавитных клавиш и чисел. Примерами таких символов могут служить "a", "A" и "7".
|
|
8. |
Keboard keysyms can also be the symbolic name for the key. This can be any of the K\_ constants taken from pygame.constants. This type of keysym looks like "K\_BACKSPACE", "K\_RETURN", and "K\_TAB"; a full list of this kind of keysyms may be found `here <http://www.pygame.org/docs/ref/key.html>`_.
|
|
2014-03-31 |
Клавишные символы клавиатуры также могут быть символические имена клавиш. Это может быть любая из K\_ констант из pygame.constants. Такой тип клавишного символа выглядит как "K\_BACKSPACE", "K\_RETURN" и "K\_TAB". Полный список таких символов можно найти `здесь <http://www.pygame.org/docs/ref/key.html>`_.
|
|
9. |
Keyboard keysyms may be preceded by the prefixes "alt\_", "meta\_", "shift\_", or "noshift\_". The first three of these require the corresponding modifier key to be pressed. (Meta is present on Linux keyboards, and corresponds to the Command key on a Mac.) "noshift\_" requires that the shift key not be pressed.
|
|
2014-03-31 |
Клавиатурные символы могут иметь приставки "alt\_", "meta\_", "shift\_" или "noshift\_". Первые три требуют, чтобы соответствующий модификатор был нажат. (Meta присутствует на Linux-клавиатурах и соответствует клавише Command на Mac.) "noshift\_" требует, чтобы клавиша shift не была нажата.
|
|
10. |
To change a binding, update the appropriate list in :var:`config.keymap`. The following code adds the 't' key to the list of keys that dismiss a say statement, and removes the space key from that list. ::
|
|
2014-03-31 |
Чтобы изменить назначение клавиши, обновите соответствующий список в :var:`config.keymap`. Следующий код добавляет клавишу 't' к списку клавиш, которые завершают оператор say, и убирает из него клавишу пробел. ::
|