Re: F7 button label

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

User avatar
DRP535
Senior Member
Senior Member
Posts: 303
Joined: 2003-03-03, 11:25 UTC

Re: F7 button label

Post by *DRP535 »

Sorry to drag up an ancient zombie thread, but I searched for the question I wanted to ask before starting a new one and this was very close. If "New Directory" is too long for the available space on the bottom toolbar, then could the label of that F7 toolbar be at least spelt as F7 New Folder (ie. with a space between the New and Folder). I'm specifically referring to the 32bit installation version display here, not the x64. On 64bit it displays correctly as F7 New Folder, however on x86 versions it displays as F7 NewFolder which looks weird and wrong.

I use both versions installed on separate computers. One looks right and the other looks weird.

Moderator message from: white » 2023-06-27, 09:33 UTC

Since you made a new thread, I moved this post from this thread to here.
It contains important information about how you use your TC versions.
User avatar
DRP535
Senior Member
Senior Member
Posts: 303
Joined: 2003-03-03, 11:25 UTC

X86 version has misspelt F7 NewFolder label

Post by *DRP535 »

Only applicable to x86 32bit version installation, but the label of the F7 NewFolder button on bottom toolbar has no space between New and Folder.

This is correctly labelled as F7 New Folder in x64 versions.
User avatar
white
Power Member
Power Member
Posts: 5174
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Re: F7 button label

Post by *white »

Apparently, you use the external English language on the computer with the 64-bit Total Commander and the internal English language on the computer with the 32-bit version.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49100
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Re: F7 button label

Post by *ghisler(Author) »

Currently there are no plans to change this, sorry.
Author of Total Commander
https://www.ghisler.com
User avatar
DRP535
Senior Member
Senior Member
Posts: 303
Joined: 2003-03-03, 11:25 UTC

Re: Re: F7 button label

Post by *DRP535 »

white wrote: 2023-06-27, 09:38 UTC Apparently, you use the external English language on the computer with the 64-bit Total Commander and the internal English language on the computer with the 32-bit version.
Genuine serious question, since the misspelling won't be fixed natively within the program, how would I go about using an external language file on the XP computer to correct the spelling on the F7 button please?
User avatar
petermad
Power Member
Power Member
Posts: 15479
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Re: F7 button label

Post by *petermad »

2DRP535
how would I go about using an external language file on the XP computer to correct the spelling on the F7 button please?
Make a file in your total commander Language directory with the name wcmd_eng.lng

Put this in the file:

Code: Select all

English - External
1076="F7 New Folder"
Now, in TC's Language configuration, choose "English - External (wcmd_eng.lng)"

Or get the full wcmd_eng.lng file here: https://www.ghisler.com/b/difres1100.zip (for TC 11.00) or here: https://plugins.ghisler.com/languages/wcmd_eng.zip (for TC 10.52)
License #524 (1994)
Danish Total Commander Translator
TC 11.50b4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
DRP535
Senior Member
Senior Member
Posts: 303
Joined: 2003-03-03, 11:25 UTC

Re: Re: F7 button label

Post by *DRP535 »

ghisler(Author) wrote: 2023-06-27, 10:39 UTC Currently there are no plans to change this, sorry.
Thank you petermad that has worked perfectly. I have to ask though, why, when the solution seems to be so trivially easy, is this not going to be changed in the native program coding so that tweaking the language file isn't necessary?
User avatar
petermad
Power Member
Power Member
Posts: 15479
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Re: F7 button label

Post by *petermad »

2DRP535
I agree - there is no reason for the Internal English to be different from the external English - And I agree that there should be a space between "New" and "Folder" in the internal English too.
Last edited by petermad on 2023-07-09, 23:40 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.50b4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
JOUBE
Power Member
Power Member
Posts: 1561
Joined: 2004-07-08, 08:58 UTC

Re: Re: F7 button label

Post by *JOUBE »

There can be several reasons why this is not changed:

- Ever heard of camelcase?

- it's a feature of the program and one can perhaps be proud of using a program that has such a special feature.

- Ghisler(author) perhaps associates this with a memory of the beginnings of the development of the - at that time - Windows Commander. (e.g. He was interrupted while developing the line and then later forgot it)

- Anyone who is bothered by it can easily change it themselves - as described in the posts above. And that's one of the principles here: if something can be solved by everyone, it won't be changed in the program code.

So I understand well why it is not changed by ghisler(author). Yes, more than that, I think it's a good thing.

Joube
User avatar
DRP535
Senior Member
Senior Member
Posts: 303
Joined: 2003-03-03, 11:25 UTC

Re: Re: F7 button label

Post by *DRP535 »

JOUBE wrote: 2023-07-09, 08:24 UTC There can be several reasons why this is not changed:

- Ever heard of camelcase?
Yes. Have you heard of irrelevancies?
User avatar
jonathanpoulin
Member
Member
Posts: 107
Joined: 2020-12-19, 12:09 UTC
Location: Saint-Marc-des-Carrières, QC Canada
Contact:

Re: Re: F7 button label

Post by *jonathanpoulin »

ghisler(Author) wrote: 2023-06-27, 10:39 UTC Currently there are no plans to change this, sorry.
I am really curious to hear a little bit more from you Mr. Ghisler, about it.

Are you keeping "NewFolder" to have it the shorter possible, to support resolution as low as 640x480? If so, why not using "New Dir"? It would be 2 characters shorter, and 1 character shorter when comparing the whole button label, "F7 New Dir" vs. "Alt+F4 Exit" (the longer).

I think (I may be wrong) the word "directory" is used everywhere in TC except for the F7 button and its dialog, where it is "folder" instead. Sounds strange to me. As a side note, in the help file, both "directory" and "folder" are used interchangeably. That's less important though, but maybe it should be changed as well.

By the way, a small detail: For the F7 dialog, it should include the colon, like in "New directory:" or "New folder (directory):", as proposed here, a very long time ago. The colon is used in SHIFT+F4 dialog, in "Split" dialog, in "Find Files", in ftp connection modal window, etc. This is only to respect some sort of standard. But, this is minor of course!
Thanks,
Jonathan Poulin
User avatar
petermad
Power Member
Power Member
Posts: 15479
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Re: F7 button label

Post by *petermad »

I think (I may be wrong) the word "directory" is used everywhere in TC except for the F7 button and its dialog,
In the English language file:
Directory is used in 80 strings
Dir is used in 19 strings
Folder is used in 47 strings
License #524 (1994)
Danish Total Commander Translator
TC 11.50b4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
jonathanpoulin
Member
Member
Posts: 107
Joined: 2020-12-19, 12:09 UTC
Location: Saint-Marc-des-Carrières, QC Canada
Contact:

Re: Re: F7 button label

Post by *jonathanpoulin »

petermad wrote: 2024-07-17, 20:10 UTC In the English language file:
Directory is used in 80 strings
Dir is used in 19 strings
Folder is used in 47 strings
Thanks for the count.

In your Extended Menus, the file WCMD_ENG.LNG is the untouched English language file, the same strings used internally? I am asking because I found the following line (while internally it is "F7 NewFolder".

Code: Select all

1076="F7 New Folder"
Thanks,
Jonathan Poulin
User avatar
white
Power Member
Power Member
Posts: 5174
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Re: F7 button label

Post by *white »

jonathanpoulin wrote: 2024-07-17, 23:42 UTC In your Extended Menus, the file WCMD_ENG.LNG is the untouched English language file, the same strings used internally? I am asking because I found the following line (while internally it is "F7 NewFolder".

Code: Select all

1076="F7 New Folder"
Which is discussed in detail in this thread. I already mentioned it in the third post from the top and it was discussed in more detail in later posts.
User avatar
jonathanpoulin
Member
Member
Posts: 107
Joined: 2020-12-19, 12:09 UTC
Location: Saint-Marc-des-Carrières, QC Canada
Contact:

Re: Re: F7 button label

Post by *jonathanpoulin »

white wrote: 2024-07-18, 01:01 UTC
jonathanpoulin wrote: 2024-07-17, 23:42 UTC In your Extended Menus, the file WCMD_ENG.LNG is the untouched English language file, the same strings used internally? I am asking because I found the following line (while internally it is "F7 NewFolder".

Code: Select all

1076="F7 New Folder"
Which is discussed in detail in this thread. I already mentioned it in the third post from the top and it was discussed in more detail in later posts.
I am not sure I understand, white. I just wanted to know if the WCMD_ENG.LNG found in the Extended Menus package from Peter is an "extraction" of all the "default strings" (english) of TC.
Thanks,
Jonathan Poulin
Post Reply