From 77847bd6c58d4c95c965f053dffad82086bd51aa Mon Sep 17 00:00:00 2001
From: Kamil W <istonar3@gmail.com>
Date: Mon, 26 Sep 2016 19:06:40 +0200
Subject: [PATCH] Add additional hotkeys to find and chown dialogs
---
src/filemanager/chown.c | 4 ++--
src/filemanager/find.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/filemanager/chown.c b/src/filemanager/chown.c
index 69e2daa..fa51786 100644
a
|
b
|
init_chown (void) |
216 | 216 | dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, chown_callback, |
217 | 217 | NULL, "[Chown]", _("Chown command")); |
218 | 218 | |
219 | | add_widget (ch_dlg, groupbox_new (2, 3, GH, GW, _("User name"))); |
| 219 | add_widget (ch_dlg, groupbox_new (2, 3, GH, GW, _("&User name"))); |
220 | 220 | l_user = listbox_new (3, 4, GH - 2, GW - 2, FALSE, NULL); |
221 | 221 | add_widget (ch_dlg, l_user); |
222 | 222 | /* add field for unknown names (numbers) */ |
… |
… |
init_chown (void) |
227 | 227 | listbox_add_item (l_user, LISTBOX_APPEND_SORTED, 0, l_pass->pw_name, NULL, FALSE); |
228 | 228 | endpwent (); |
229 | 229 | |
230 | | add_widget (ch_dlg, groupbox_new (2, 4 + GW, GH, GW, _("Group name"))); |
| 230 | add_widget (ch_dlg, groupbox_new (2, 4 + GW, GH, GW, _("&Group name"))); |
231 | 231 | l_group = listbox_new (3, 5 + GW, GH - 2, GW - 2, FALSE, NULL); |
232 | 232 | add_widget (ch_dlg, l_group); |
233 | 233 | /* add field for unknown names (numbers) */ |
diff --git a/src/filemanager/find.c b/src/filemanager/find.c
index 1db7ccc..b019972 100644
a
|
b
|
find_parameters (char **start_dir, ssize_t * start_dir_len, |
568 | 568 | gboolean return_value; |
569 | 569 | |
570 | 570 | /* file name */ |
571 | | const char *file_name_label = N_("File name:"); |
| 571 | const char *file_name_label = N_("File na&me:"); |
572 | 572 | const char *file_recurs_label = N_("&Find recursively"); |
573 | 573 | const char *file_pattern_label = N_("&Using shell patterns"); |
574 | 574 | #ifdef HAVE_CHARSET |
… |
… |
find_parameters (char **start_dir, ssize_t * start_dir_len, |
578 | 578 | const char *file_skip_hidden_label = N_("S&kip hidden"); |
579 | 579 | |
580 | 580 | /* file content */ |
581 | | const char *content_content_label = N_("Content:"); |
| 581 | const char *content_content_label = N_("Cont&ent:"); |
582 | 582 | const char *content_use_label = N_("Sea&rch for content"); |
583 | 583 | const char *content_regexp_label = N_("Re&gular expression"); |
584 | 584 | const char *content_case_label = N_("Case sens&itive"); |
… |
… |
find_parameters (char **start_dir, ssize_t * start_dir_len, |
669 | 669 | cw = (cols - 7) / 2; |
670 | 670 | y1 = 2; |
671 | 671 | |
672 | | add_widget (find_dlg, label_new (y1++, x1, _("Start at:"))); |
| 672 | add_widget (find_dlg, label_new (y1++, x1, _("Sta&rt at:"))); |
673 | 673 | in_start = |
674 | 674 | input_new (y1, x1, input_colors, cols - b0 - 7, in_start_dir, "start", |
675 | 675 | INPUT_COMPLETE_CD | INPUT_COMPLETE_FILENAMES); |