File src/fops_misc.c changed (mode: 100644) (index 73db1a73d..f0a09b4af) |
... |
... |
fops_delete(view_t *view, int reg, int use_trash) |
189 |
189 |
ui_view_reset_selection_and_reload(view); |
ui_view_reset_selection_and_reload(view); |
190 |
190 |
ui_view_schedule_reload(view == curr_view ? other_view : curr_view); |
ui_view_schedule_reload(view == curr_view ? other_view : curr_view); |
191 |
191 |
|
|
192 |
|
ui_sb_msgf("%d %s %celeted%s", ops->succeeded, |
|
193 |
|
(ops->succeeded == 1) ? "file" : "files", use_trash ? 'd' : 'D', |
|
194 |
|
fops_get_cancellation_suffix()); |
|
|
192 |
|
ui_sb_msgf("%d item%s %celeted%s", ops->succeeded, psuffix(ops->succeeded), |
|
193 |
|
use_trash ? 'd' : 'D', fops_get_cancellation_suffix()); |
195 |
194 |
|
|
196 |
195 |
fops_free_ops(ops); |
fops_free_ops(ops); |
197 |
196 |
regs_sync_to_shared_memory(); |
regs_sync_to_shared_memory(); |
File src/modes/modes.c changed (mode: 100644) (index 0be8b5432..7260e5119) |
30 |
30 |
#include "../ui/ui.h" |
#include "../ui/ui.h" |
31 |
31 |
#include "../utils/log.h" |
#include "../utils/log.h" |
32 |
32 |
#include "../utils/macros.h" |
#include "../utils/macros.h" |
|
33 |
|
#include "../utils/str.h" |
33 |
34 |
#include "../compare.h" |
#include "../compare.h" |
34 |
35 |
#include "../event_loop.h" |
#include "../event_loop.h" |
35 |
36 |
#include "../status.h" |
#include "../status.h" |
|
... |
... |
modes_statusbar_update(void) |
215 |
216 |
} |
} |
216 |
217 |
else if(curr_view->selected_files) |
else if(curr_view->selected_files) |
217 |
218 |
{ |
{ |
218 |
|
ui_sb_msgf("%d %s selected", curr_view->selected_files, |
|
219 |
|
curr_view->selected_files == 1 ? "file" : "files"); |
|
|
219 |
|
ui_sb_msgf("%d item%s selected", curr_view->selected_files, |
|
220 |
|
psuffix(curr_view->selected_files)); |
220 |
221 |
curr_stats.save_msg = 2; |
curr_stats.save_msg = 2; |
221 |
222 |
} |
} |
222 |
223 |
else if(cv_compare(curr_view->custom.type)) |
else if(cv_compare(curr_view->custom.type)) |
File src/ui/statusline.c changed (mode: 100644) (index 29837bad9..3ca375d1a) |
... |
... |
update_stat_window_old(view_t *view, int lazy_redraw) |
221 |
221 |
mvwaddstr(stat_win, 0, cur_x, perm_buf); |
mvwaddstr(stat_win, 0, cur_x, perm_buf); |
222 |
222 |
cur_x += 11; |
cur_x += 11; |
223 |
223 |
|
|
224 |
|
snprintf(name_buf, sizeof(name_buf), "%d %s filtered", view->filtered, |
|
225 |
|
(view->filtered == 1) ? "file" : "files"); |
|
|
224 |
|
snprintf(name_buf, sizeof(name_buf), "%d item%s filtered", view->filtered, |
|
225 |
|
psuffix(view->filtered)); |
226 |
226 |
if(view->filtered > 0) |
if(view->filtered > 0) |
227 |
227 |
mvwaddstr(stat_win, 0, x - (strlen(name_buf) + 2), name_buf); |
mvwaddstr(stat_win, 0, x - (strlen(name_buf) + 2), name_buf); |
228 |
228 |
|
|