xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit a71e0f5b829fd00d1ec592cbebdf6c6372a3e381

Update 3 more places to say "items"
This is a follow-up on commit d9e492e70b604 (Use more generic "items"
instead of "files").
Author: xaizek
Author date (UTC): 2025-08-18 12:56
Committer name: xaizek
Committer date (UTC): 2025-08-18 12:56
Parent(s): a7d9a874d0fc64470ea8537d9f45d4c75d13ce03
Signing key: 99DC5E4DB05F6BE2
Tree: a6f95d853ba58c8b86be3b6e4169c23a3caf9d11
File Lines added Lines deleted
src/fops_misc.c 2 3
src/modes/modes.c 3 2
src/ui/statusline.c 2 2
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
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master