mirror of
https://github.com/MidnightCommander/mc
synced 2025-04-02 13:12:53 +03:00
Merge branch '2704_search_dialog_hotkeys'
* 2704_search_dialog_hotkeys: Updated Russian translation Fixed hotkeys in 'Search' dialog in mcdiff viewer. Fixed hotkeys in 'Search' and 'Replace' dialogs in mcedit. Fixed hotkeys in 'Search' dialog in mcviewer. Ticket #2704: added hotkeys for search types.
This commit is contained in:
commit
5d90c5d14e
@ -46,10 +46,10 @@
|
|||||||
/*** file scope variables ************************************************************************/
|
/*** file scope variables ************************************************************************/
|
||||||
|
|
||||||
static const mc_search_type_str_t mc_search__list_types[] = {
|
static const mc_search_type_str_t mc_search__list_types[] = {
|
||||||
{N_("Normal"), MC_SEARCH_T_NORMAL},
|
{N_("&Normal"), MC_SEARCH_T_NORMAL},
|
||||||
{N_("&Regular expression"), MC_SEARCH_T_REGEX},
|
{N_("Re&gular expression"), MC_SEARCH_T_REGEX},
|
||||||
{N_("Hexadecimal"), MC_SEARCH_T_HEX},
|
{N_("He&xadecimal"), MC_SEARCH_T_HEX},
|
||||||
{N_("Wildcard search"), MC_SEARCH_T_GLOB},
|
{N_("Wil&dcard search"), MC_SEARCH_T_GLOB},
|
||||||
{NULL, -1}
|
{NULL, -1}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
43
po/ru.po
43
po/ru.po
@ -18,8 +18,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: ru\n"
|
"Project-Id-Version: ru\n"
|
||||||
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
|
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
|
||||||
"POT-Creation-Date: 2011-12-13 13:55+0300\n"
|
"POT-Creation-Date: 2011-12-27 21:26+0300\n"
|
||||||
"PO-Revision-Date: 2011-12-13 14:05+0300\n"
|
"PO-Revision-Date: 2011-12-27 21:29+0300\n"
|
||||||
"Last-Translator: Andrew Borodin <aborodin@vmail.ru>\n"
|
"Last-Translator: Andrew Borodin <aborodin@vmail.ru>\n"
|
||||||
"Language-Team: Russian (http://www.transifex.net/projects/p/mc/team/ru/)\n"
|
"Language-Team: Russian (http://www.transifex.net/projects/p/mc/team/ru/)\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -124,17 +124,17 @@ msgstr "Неправильный шаблон цели %d"
|
|||||||
msgid "Regular expression error"
|
msgid "Regular expression error"
|
||||||
msgstr "Ошибка в регулярном выражении"
|
msgstr "Ошибка в регулярном выражении"
|
||||||
|
|
||||||
msgid "Normal"
|
msgid "&Normal"
|
||||||
msgstr "Обычный"
|
msgstr "О&бычный"
|
||||||
|
|
||||||
msgid "&Regular expression"
|
msgid "Re&gular expression"
|
||||||
msgstr "&Регулярное выражение"
|
msgstr "&Регулярное выражение"
|
||||||
|
|
||||||
msgid "Hexadecimal"
|
msgid "He&xadecimal"
|
||||||
msgstr "Шестнадцатеричный"
|
msgstr "Шестнад&цатеричный"
|
||||||
|
|
||||||
msgid "Wildcard search"
|
msgid "Wil&dcard search"
|
||||||
msgstr "По шаблону"
|
msgstr "По &шаблону"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
@ -585,6 +585,9 @@ msgstr "Редактировать файл"
|
|||||||
msgid "Forces xterm features"
|
msgid "Forces xterm features"
|
||||||
msgstr "Подразумевать свойства xterm"
|
msgstr "Подразумевать свойства xterm"
|
||||||
|
|
||||||
|
msgid "Disable X11 support"
|
||||||
|
msgstr "Не использовать X11 для получения состояния модификаторов Alt, Ctrl, Shift."
|
||||||
|
|
||||||
msgid "Tries to use an old highlight mouse tracking"
|
msgid "Tries to use an old highlight mouse tracking"
|
||||||
msgstr "Пытаться использовать старый способ трэкинга мыши"
|
msgstr "Пытаться использовать старый способ трэкинга мыши"
|
||||||
|
|
||||||
@ -746,8 +749,8 @@ msgstr ""
|
|||||||
msgid "&Dismiss"
|
msgid "&Dismiss"
|
||||||
msgstr "&Закрыть"
|
msgstr "&Закрыть"
|
||||||
|
|
||||||
msgid "All charsets"
|
msgid "&All charsets"
|
||||||
msgstr "Все кодировки"
|
msgstr "&Все кодировки"
|
||||||
|
|
||||||
msgid "&Whole words"
|
msgid "&Whole words"
|
||||||
msgstr "&Слово целиком"
|
msgstr "&Слово целиком"
|
||||||
@ -755,8 +758,8 @@ msgstr "&Слово целиком"
|
|||||||
msgid "&Backwards"
|
msgid "&Backwards"
|
||||||
msgstr "&Назад"
|
msgstr "&Назад"
|
||||||
|
|
||||||
msgid "Case &sensitive"
|
msgid "Cas&e sensitive"
|
||||||
msgstr "Учет ре&гистра"
|
msgstr "У&чёт регистра"
|
||||||
|
|
||||||
msgid "Enter search string:"
|
msgid "Enter search string:"
|
||||||
msgstr "Введите строку для поиска:"
|
msgstr "Введите строку для поиска:"
|
||||||
@ -793,9 +796,6 @@ msgstr ""
|
|||||||
"Невозможно создать временный файл слияния\n"
|
"Невозможно создать временный файл слияния\n"
|
||||||
"%s"
|
"%s"
|
||||||
|
|
||||||
msgid "&Normal"
|
|
||||||
msgstr "О&бычный"
|
|
||||||
|
|
||||||
msgid "&Fastest (Assume large files)"
|
msgid "&Fastest (Assume large files)"
|
||||||
msgstr "Б&ыстрый (для больших файлов)"
|
msgstr "Б&ыстрый (для больших файлов)"
|
||||||
|
|
||||||
@ -1166,7 +1166,7 @@ msgstr ""
|
|||||||
"Продолжение операции приведет к потере изменений"
|
"Продолжение операции приведет к потере изменений"
|
||||||
|
|
||||||
msgid "In se&lection"
|
msgid "In se&lection"
|
||||||
msgstr "В вы&деленном"
|
msgstr "В в&ыделенном"
|
||||||
|
|
||||||
msgid "Enter replacement string:"
|
msgid "Enter replacement string:"
|
||||||
msgstr "Введите текст для замены:"
|
msgstr "Введите текст для замены:"
|
||||||
@ -2501,27 +2501,18 @@ msgstr "Найден: %ld"
|
|||||||
msgid "Malformed regular expression"
|
msgid "Malformed regular expression"
|
||||||
msgstr "Регулярное выражение сформировано неверно"
|
msgstr "Регулярное выражение сформировано неверно"
|
||||||
|
|
||||||
msgid "Cas&e sensitive"
|
|
||||||
msgstr "У&чёт регистра"
|
|
||||||
|
|
||||||
msgid "&Find recursively"
|
msgid "&Find recursively"
|
||||||
msgstr "Найти ре&курсивно"
|
msgstr "Найти ре&курсивно"
|
||||||
|
|
||||||
msgid "S&kip hidden"
|
msgid "S&kip hidden"
|
||||||
msgstr "Пропускать скр&ытые"
|
msgstr "Пропускать скр&ытые"
|
||||||
|
|
||||||
msgid "&All charsets"
|
|
||||||
msgstr "&Все кодировки"
|
|
||||||
|
|
||||||
msgid "Sea&rch for content"
|
msgid "Sea&rch for content"
|
||||||
msgstr "Поиск по содер&жимому"
|
msgstr "Поиск по содер&жимому"
|
||||||
|
|
||||||
msgid "Case sens&itive"
|
msgid "Case sens&itive"
|
||||||
msgstr "Учёт ре&гистра"
|
msgstr "Учёт ре&гистра"
|
||||||
|
|
||||||
msgid "Re&gular expression"
|
|
||||||
msgstr "&Регулярное выражение"
|
|
||||||
|
|
||||||
msgid "Fir&st hit"
|
msgid "Fir&st hit"
|
||||||
msgstr "До первого в&хождения"
|
msgstr "До первого в&хождения"
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ mcdiffview_dialog_search (WDiff * dview)
|
|||||||
B_ENTER, NULL),
|
B_ENTER, NULL),
|
||||||
/* 2 */
|
/* 2 */
|
||||||
#ifdef HAVE_CHARSET
|
#ifdef HAVE_CHARSET
|
||||||
QUICK_CHECKBOX (33, SEARCH_DLG_WIDTH, 8, SEARCH_DLG_HEIGHT, N_("All charsets"),
|
QUICK_CHECKBOX (33, SEARCH_DLG_WIDTH, 8, SEARCH_DLG_HEIGHT, N_("&All charsets"),
|
||||||
&mcdiffview_search_options.all_codepages),
|
&mcdiffview_search_options.all_codepages),
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -116,7 +116,7 @@ mcdiffview_dialog_search (WDiff * dview)
|
|||||||
QUICK_CHECKBOX (33, SEARCH_DLG_WIDTH, 6, SEARCH_DLG_HEIGHT, N_("&Backwards"),
|
QUICK_CHECKBOX (33, SEARCH_DLG_WIDTH, 6, SEARCH_DLG_HEIGHT, N_("&Backwards"),
|
||||||
&mcdiffview_search_options.backwards),
|
&mcdiffview_search_options.backwards),
|
||||||
/* 4 */
|
/* 4 */
|
||||||
QUICK_CHECKBOX (33, SEARCH_DLG_WIDTH, 5, SEARCH_DLG_HEIGHT, N_("Case &sensitive"),
|
QUICK_CHECKBOX (33, SEARCH_DLG_WIDTH, 5, SEARCH_DLG_HEIGHT, N_("Cas&e sensitive"),
|
||||||
&mcdiffview_search_options.case_sens),
|
&mcdiffview_search_options.case_sens),
|
||||||
/* 5 */
|
/* 5 */
|
||||||
QUICK_RADIO (3, SEARCH_DLG_WIDTH, 5, SEARCH_DLG_HEIGHT,
|
QUICK_RADIO (3, SEARCH_DLG_WIDTH, 5, SEARCH_DLG_HEIGHT,
|
||||||
|
@ -105,7 +105,7 @@ editcmd_dialog_replace_show (WEdit * edit, const char *search_default, const cha
|
|||||||
/* 1 */ QUICK_BUTTON (2, 10, 13, REPLACE_DLG_HEIGHT, N_("&OK"), B_ENTER, NULL),
|
/* 1 */ QUICK_BUTTON (2, 10, 13, REPLACE_DLG_HEIGHT, N_("&OK"), B_ENTER, NULL),
|
||||||
#ifdef HAVE_CHARSET
|
#ifdef HAVE_CHARSET
|
||||||
/* 2 */ QUICK_CHECKBOX (33, REPLACE_DLG_WIDTH, 11, REPLACE_DLG_HEIGHT,
|
/* 2 */ QUICK_CHECKBOX (33, REPLACE_DLG_WIDTH, 11, REPLACE_DLG_HEIGHT,
|
||||||
N_("All charsets"),
|
N_("&All charsets"),
|
||||||
&edit_search_options.all_codepages),
|
&edit_search_options.all_codepages),
|
||||||
#endif
|
#endif
|
||||||
/* 3 */ QUICK_CHECKBOX (33, REPLACE_DLG_WIDTH, 10, REPLACE_DLG_HEIGHT,
|
/* 3 */ QUICK_CHECKBOX (33, REPLACE_DLG_WIDTH, 10, REPLACE_DLG_HEIGHT,
|
||||||
@ -117,7 +117,7 @@ editcmd_dialog_replace_show (WEdit * edit, const char *search_default, const cha
|
|||||||
/* 5 */ QUICK_CHECKBOX (33, REPLACE_DLG_WIDTH, 8, REPLACE_DLG_HEIGHT, N_("&Backwards"),
|
/* 5 */ QUICK_CHECKBOX (33, REPLACE_DLG_WIDTH, 8, REPLACE_DLG_HEIGHT, N_("&Backwards"),
|
||||||
&edit_search_options.backwards),
|
&edit_search_options.backwards),
|
||||||
/* 6 */ QUICK_CHECKBOX (33, REPLACE_DLG_WIDTH, 7, REPLACE_DLG_HEIGHT,
|
/* 6 */ QUICK_CHECKBOX (33, REPLACE_DLG_WIDTH, 7, REPLACE_DLG_HEIGHT,
|
||||||
N_("Case &sensitive"),
|
N_("Cas&e sensitive"),
|
||||||
&edit_search_options.case_sens),
|
&edit_search_options.case_sens),
|
||||||
/* 7 */ QUICK_RADIO (3, REPLACE_DLG_WIDTH, 7, REPLACE_DLG_HEIGHT,
|
/* 7 */ QUICK_RADIO (3, REPLACE_DLG_WIDTH, 7, REPLACE_DLG_HEIGHT,
|
||||||
num_of_types, (const char **) list_of_types,
|
num_of_types, (const char **) list_of_types,
|
||||||
@ -177,7 +177,7 @@ editcmd_dialog_search_show (WEdit * edit)
|
|||||||
QUICK_BUTTON (2, 10, 11, SEARCH_DLG_HEIGHT, N_("&OK"), B_ENTER, NULL),
|
QUICK_BUTTON (2, 10, 11, SEARCH_DLG_HEIGHT, N_("&OK"), B_ENTER, NULL),
|
||||||
#ifdef HAVE_CHARSET
|
#ifdef HAVE_CHARSET
|
||||||
/* 3 */
|
/* 3 */
|
||||||
QUICK_CHECKBOX (33, SEARCH_DLG_WIDTH, 9, SEARCH_DLG_HEIGHT, N_("All charsets"),
|
QUICK_CHECKBOX (33, SEARCH_DLG_WIDTH, 9, SEARCH_DLG_HEIGHT, N_("&All charsets"),
|
||||||
&edit_search_options.all_codepages),
|
&edit_search_options.all_codepages),
|
||||||
#endif
|
#endif
|
||||||
/* 4 */
|
/* 4 */
|
||||||
@ -190,7 +190,7 @@ editcmd_dialog_search_show (WEdit * edit)
|
|||||||
QUICK_CHECKBOX (33, SEARCH_DLG_WIDTH, 6, SEARCH_DLG_HEIGHT, N_("&Backwards"),
|
QUICK_CHECKBOX (33, SEARCH_DLG_WIDTH, 6, SEARCH_DLG_HEIGHT, N_("&Backwards"),
|
||||||
&edit_search_options.backwards),
|
&edit_search_options.backwards),
|
||||||
/* 7 */
|
/* 7 */
|
||||||
QUICK_CHECKBOX (33, SEARCH_DLG_WIDTH, 5, SEARCH_DLG_HEIGHT, N_("Case &sensitive"),
|
QUICK_CHECKBOX (33, SEARCH_DLG_WIDTH, 5, SEARCH_DLG_HEIGHT, N_("Cas&e sensitive"),
|
||||||
&edit_search_options.case_sens),
|
&edit_search_options.case_sens),
|
||||||
/* 8 */
|
/* 8 */
|
||||||
QUICK_RADIO (3, SEARCH_DLG_WIDTH, 5, SEARCH_DLG_HEIGHT,
|
QUICK_RADIO (3, SEARCH_DLG_WIDTH, 5, SEARCH_DLG_HEIGHT,
|
||||||
|
@ -92,14 +92,14 @@ mcview_dialog_search (mcview_t * view)
|
|||||||
QUICK_BUTTON (2, 10, SEARCH_DLG_HEIGHT - 3, SEARCH_DLG_HEIGHT, N_("&OK"), B_ENTER, NULL),
|
QUICK_BUTTON (2, 10, SEARCH_DLG_HEIGHT - 3, SEARCH_DLG_HEIGHT, N_("&OK"), B_ENTER, NULL),
|
||||||
#ifdef HAVE_CHARSET
|
#ifdef HAVE_CHARSET
|
||||||
QUICK_CHECKBOX (SEARCH_DLG_WIDTH / 2 + 3, SEARCH_DLG_WIDTH, 8, SEARCH_DLG_HEIGHT,
|
QUICK_CHECKBOX (SEARCH_DLG_WIDTH / 2 + 3, SEARCH_DLG_WIDTH, 8, SEARCH_DLG_HEIGHT,
|
||||||
N_("All charsets"), &mcview_search_options.all_codepages),
|
N_("&All charsets"), &mcview_search_options.all_codepages),
|
||||||
#endif
|
#endif
|
||||||
QUICK_CHECKBOX (SEARCH_DLG_WIDTH / 2 + 3, SEARCH_DLG_WIDTH, 7, SEARCH_DLG_HEIGHT,
|
QUICK_CHECKBOX (SEARCH_DLG_WIDTH / 2 + 3, SEARCH_DLG_WIDTH, 7, SEARCH_DLG_HEIGHT,
|
||||||
N_("&Whole words"), &mcview_search_options.whole_words),
|
N_("&Whole words"), &mcview_search_options.whole_words),
|
||||||
QUICK_CHECKBOX (SEARCH_DLG_WIDTH / 2 + 3, SEARCH_DLG_WIDTH, 6, SEARCH_DLG_HEIGHT,
|
QUICK_CHECKBOX (SEARCH_DLG_WIDTH / 2 + 3, SEARCH_DLG_WIDTH, 6, SEARCH_DLG_HEIGHT,
|
||||||
N_("&Backwards"), &mcview_search_options.backwards),
|
N_("&Backwards"), &mcview_search_options.backwards),
|
||||||
QUICK_CHECKBOX (SEARCH_DLG_WIDTH / 2 + 3, SEARCH_DLG_WIDTH, 5, SEARCH_DLG_HEIGHT,
|
QUICK_CHECKBOX (SEARCH_DLG_WIDTH / 2 + 3, SEARCH_DLG_WIDTH, 5, SEARCH_DLG_HEIGHT,
|
||||||
N_("Case &sensitive"), &mcview_search_options.case_sens),
|
N_("Cas&e sensitive"), &mcview_search_options.case_sens),
|
||||||
QUICK_RADIO (3, SEARCH_DLG_WIDTH, 5, SEARCH_DLG_HEIGHT,
|
QUICK_RADIO (3, SEARCH_DLG_WIDTH, 5, SEARCH_DLG_HEIGHT,
|
||||||
num_of_types, (const char **) list_of_types,
|
num_of_types, (const char **) list_of_types,
|
||||||
(int *) &mcview_search_options.type),
|
(int *) &mcview_search_options.type),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user