Page 1 of 1

Build 4442 "show the number of folders in current panel"

Posted: Thu 29 Oct, 2015 12:06
by pepak
In build 4442, a new functionality "show the number of folders in current panel" was implemented. Alongside that, a companion functionality was added but not documented: when selecting panel items, not only the total size and number of files is displayed, but also the number of directories. Unfortunately, this new feature is HIGHLY annoying in English version of FAR in the traditional 80x25 view, as all numbers displayed must take 9 places or less (i.e., 10000 bytes, 10 files and 5 directories is OK, because it takes up 6 ("10 000") + 2 + 1 = 9 places, but 10000 bytes, 10 files and 10 directories causes overflow and some information starts to come off the screen. With files larger than 999 999 999 bytes, even a single selected file causes the number of gigabytes to disappear off the screen, which is EXTREMELY annoying. Is there a way to disable this functionality? I can solve that temporarily by editing the language file (line 942 in build 4444), but I would rather like a permanent solution. At the very least I would like to propose that the language string was changed to " %1 bytes (F:%2, D:%3) ".

Build 4442 "show the number of folders in current panel"

Posted: Thu 29 Oct, 2015 12:15
by HaRT
pepak wrote: I would like to propose that the language string was changed to " %1 bytes (F:%2, D:%3) "
So far, editing the LNG file is the only solution available but there are some ongoing discussions in Russian: http://forum.farmanager.com/viewtopic.php?f=3&t=9892, http://forum.farmanager.com/viewtopic.php?f=3&t=9896.

PS
Why do you use 80*25?!

Build 4442 "show the number of folders in current panel"

Posted: Thu 29 Oct, 2015 13:17
by pepak
HaRT wrote:Why do you use 80*25?!
Because it is sufficient for most uses and fits quite a few FAR Manager windows next to each other. If I need larger area, I can resize that one FAR windows quickly enough (ALT+F9). Unfortunately, with file selection, I need to be able to do that in multiple FAR windows at a time and suddenly the minor annoyane changes into a major one.

Build 4442 "show the number of folders in current panel"

Posted: Thu 29 Oct, 2015 15:58
by fml2
pepak wrote: Because it is sufficient for most uses and fits quite a few FAR Manager windows next to each other

Build 4442 "show the number of folders in current panel"

Posted: Sat 31 Oct, 2015 14:03
by ragimiri
Agree with pepak, this is really annoying. Also with big files are bytes useless units, MB or GB should be used.

Build 4442 "show the number of folders in current panel"

Posted: Sat 31 Oct, 2015 14:21
by abelenki
ragimiri wrote: Agree with pepak, this is really annoying. Also with big files are bytes useless units, MB or GB should be used.
replace in FarEng.lng:

Code: Select all

" Bytes: %1, files: %2, folders: %3 "
" %1 (%2/%3) %4 %5 "
with:

Code: Select all

" b: %1 | d: %3 | f: %2 "
" %1 (%3/%2) %4 %5 "
it works fine even in 70x26.