Ticket #3685: 0001-Add-additional-hotkeys-to-find-and-chown-dialogs.patch

File 0001-Add-additional-hotkeys-to-find-and-chown-dialogs.patch, 2.8 KB (added by kmws, 8 years ago)
  • src/filemanager/chown.c

    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) 
    216216        dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, chown_callback, 
    217217                    NULL, "[Chown]", _("Chown command")); 
    218218 
    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"))); 
    220220    l_user = listbox_new (3, 4, GH - 2, GW - 2, FALSE, NULL); 
    221221    add_widget (ch_dlg, l_user); 
    222222    /* add field for unknown names (numbers) */ 
    init_chown (void) 
    227227        listbox_add_item (l_user, LISTBOX_APPEND_SORTED, 0, l_pass->pw_name, NULL, FALSE); 
    228228    endpwent (); 
    229229 
    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"))); 
    231231    l_group = listbox_new (3, 5 + GW, GH - 2, GW - 2, FALSE, NULL); 
    232232    add_widget (ch_dlg, l_group); 
    233233    /* add field for unknown names (numbers) */ 
  • src/filemanager/find.c

    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, 
    568568    gboolean return_value; 
    569569 
    570570    /* file name */ 
    571     const char *file_name_label = N_("File name:"); 
     571    const char *file_name_label = N_("File na&me:"); 
    572572    const char *file_recurs_label = N_("&Find recursively"); 
    573573    const char *file_pattern_label = N_("&Using shell patterns"); 
    574574#ifdef HAVE_CHARSET 
    find_parameters (char **start_dir, ssize_t * start_dir_len, 
    578578    const char *file_skip_hidden_label = N_("S&kip hidden"); 
    579579 
    580580    /* file content */ 
    581     const char *content_content_label = N_("Content:"); 
     581    const char *content_content_label = N_("Cont&ent:"); 
    582582    const char *content_use_label = N_("Sea&rch for content"); 
    583583    const char *content_regexp_label = N_("Re&gular expression"); 
    584584    const char *content_case_label = N_("Case sens&itive"); 
    find_parameters (char **start_dir, ssize_t * start_dir_len, 
    669669    cw = (cols - 7) / 2; 
    670670    y1 = 2; 
    671671 
    672     add_widget (find_dlg, label_new (y1++, x1, _("Start at:"))); 
     672    add_widget (find_dlg, label_new (y1++, x1, _("Sta&rt at:"))); 
    673673    in_start = 
    674674        input_new (y1, x1, input_colors, cols - b0 - 7, in_start_dir, "start", 
    675675                   INPUT_COMPLETE_CD | INPUT_COMPLETE_FILENAMES);