[TC 10.50b6] missing translation string in the Edit/View dialog

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[TC 10.50b6] missing translation string in the Edit/View dialog

Post by *petermad »

In the Edit/View dialog If no External Viewer if chosen for F3 and no Editor is chosen for F4 then when reopening the dilaog these two fields shows "none" - always in English.

For now I could recommend using string 667 for this, but maybe later make a new string for this - maybe even two new strings since it could be conjugated differently for Viewer and Editor in some languages.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.50b6] missing translation string in the Edit/View dialog

Post by *ghisler(Author) »

It's not translated so TC doesn't suddenly try to run a none.exe after switching languages.
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [TC 10.50b6] missing translation string in the Edit/View dialog

Post by *Usher »

2ghisler(Author)
There are already two similar strings:
658="_none_"
667="(none)"

I think that translatable <none> would be better for all three cases. it definitely doesn't look like a filename.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.50b6] missing translation string in the Edit/View dialog

Post by *petermad »

2Usher
I think that translatable <none> would be better for all three cases. it definitely doesn't look like a filename.
< and > are not even allowed in filenames, so that is a good solution.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.50b6] missing translation string in the Edit/View dialog

Post by *ghisler(Author) »

These strings may not work in all languages because they are referring to other things than editors.
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [TC 10.50b6] missing translation string in the Edit/View dialog

Post by *Usher »

2ghisler(Author)
All the three strings refer to similar filename-like values.

1. 658="_none_" is used for missing volume label. Characters <> are NOT allowed for FAT volume label and cannot be used directly in LABEL command. However, they can be used for NTFS volume, when changing label from GUI or when running LABEL command interactively. What is more, any character listed in the message "The volume label contains inadmissible characters like *?/¦.,;:+=<>[ ]( )&^!" (string 136) can be used for NTFS volume label. You can test it yourself, any picture can be faked.

2. 667="(none)" and new "none" are used in the same place in Options for Edit/VIew. The first one is hidden under "Associations..." button (and used also for Associations in the main menu), but all cases have the same meaning - lack of full path/filename for some program (in this case - viewer/editor). Therefore "<>" characters are disallowed here.

As anyone can see, there is NO better solution for these 3 strings than using disallowed characters in something looking like a placeholder: <none>.
Andrzej P. Wozniak
Polish subforum moderator
Post Reply