[TC 10 b3] Issues with String 2101

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

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

[TC 10 b3] Issues with String 2101

Post by *petermad »

String 2102 in wcmd_deu.lng is:

Code: Select all

2101="Partnerdatei mit anderer Endung|Zonen-Id|Server-Url|Verweis-Url|"
In the internal English dialog it is still just:

Code: Select all

2101,	"partner file with other extension"
the last part is missing.

The string is applied when using the tc.plugin in "Find files" and in "Custom Columns" definition.

But it is not used in the Ctrl+L (Calculate Occupied Space) dialog.
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 b3] Issues with String 2101

Post by *ghisler(Author) »

These are not for the dialog, they are for the custom columns.

The Ctrl+L dialog shows the contents of the Zone.Idenfier alternate stream unmodified.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10 b3] Issues with String 2101

Post by *petermad »

These are not for the dialog, they are for the custom columns.
Yes, but could they also be applied to the Ctrl+L dialog ?
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 b3] Issues with String 2101

Post by *ghisler(Author) »

Hmm, I prefer to show the unchanged zone file. What do other testers think?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10 b3] Issues with String 2101

Post by *petermad »

I am not talking about the filename, I am talking about the translation:

If I in the Danish language file use:

Code: Select all

2101="Partnerfil med anden filtype|Zone-ID|Værts-URL|Henvisende-URL|"
Then when I set up Search with plugin or Custom Columns it will show up as this in the plugin list:
Zone-ID
Værts-URL
Henvisende-URL

as it should.

But if I press Ctrl+L on a http-downloaded file it will show up as:
[ZoneTransfer]
ZoneId=3
HostUrl=http://live.sysinternals.com

But I would like it to show up as:
[ZoneTransfer]
Zone-ID=3
Værts-URL=http://live.sysinternals.com
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
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [TC 10 b3] Issues with String 2101

Post by *Usher »

2petermad
ZoneId, HostUrl, and ReferrerURL are names of specific fields of Zone.Identifier. Can you provide any non-English MS documentation which translate those names? I think that they are too advance features to translate those names and using unofficial names may be misleading (Remember translated "Re: " in email Subject, which isn't allowed by Internet standards?)

Note that you can use your own names in custom columns which also support those fields.
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 b3] Issues with String 2101

Post by *petermad »

2Usher

Well Ghisler himself translates them in wcmd_deu.lng:

Code: Select all

2101="Partnerdatei mit anderer Endung|Zonen-Id|Server-Url|Verweis-Url|"
Why translate them for the custom columns list and not in the Ctrl+L dialog?
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
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [TC 10 b3] Issues with String 2101

Post by *Usher »

2petermad
It's a new feature, freshly implemented, and possibly not fully functional. The names are translated for beta testing, I suppose. If I remember correctly, it is you who made reports that TC always uses internal strings instead of translated ones in some cases. For me this is a simple test to ensure that the proper string is used, it's not a final decision yet.
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 b3] Issues with String 2101

Post by *petermad »

it's not a final decision yet.
That is why I am trying to influence the decision ;-)
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
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [TC 10 b3] Issues with String 2101

Post by *Usher »

2petermad
Well, currently Ctrl+L displays the raw content of ADS:

Code: Select all

[ZoneTransfer]
ZoneId=3
Your suggestion is like a suggestion to translate all the settings in wincmd.ini.
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 b3] Issues with String 2101

Post by *petermad »

I can't folow you, [ZoneTransfer] ZoneId=3 are not wincmd.ini settings
[ZoneTransfer] and ZoneId are just strings from TC's stringtable. And 3 is the NFTS stream value for the file's ZoneId


WantZoneData on the other hand is a wincmd.ini setting, and of course I do not want that translated.
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
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: [TC 10 b3] Issues with String 2101

Post by *Dalai »

If the intent is to show the ADS content unchanged, then it shouldn't be translated. Besides, if there are more/other fields in the stream, then they wouldn't be translated, which results in a mix of translated and non-translated strings being shown. OTOH such streams can contain non-printable stuff, even whole files, but I guess TC only shows "Zone.Identifier" ones.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b3] Issues with String 2101

Post by *ghisler(Author) »

Indeed Ctrl+L just shows what is stored in the Zone.Identifier stream, it doesn't try to cut it into fields like the tc plugin fields do.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10 b3] Issues with String 2101

Post by *petermad »

if there are more/other fields in the stream, then they wouldn't be translated, which results in a mix of translated and non-translated strings being shown.
If there is a possibility of more fields than just the 3 recognized by the plugin - then I agree that translation should not be done.
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
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [TC 10 b3] Issues with String 2101

Post by *Usher »

2petermad
Let me explain it once again.

1. Ctrl+L just displays RAW DATA literally read byte-by-byte from ADS (Alternate Data Stream) for any file, if that ADS exists. Yes, that stream is a plain text which looks like any ini file. You can't change any character in that text.
2. The other thing is reusing that ini-like ADS in user defined columns. In this case you should translate the description of ini settings rather than ini settings themselves. For example, translate "Security Zone Identifier" or "Zone Identifier" rather than just "ZoneId".

BTW. I know such translation problems pretty good. There were problems with Polish translation in some Windows versions, because translator didn't know, didn't ask about or ignored the context of translated strings. Some strings were settings, filenames, etc. used in ini files or in registry. Users had to manually edit those files and/or patch binaries.
Some strings are still improperly translated to Polish in all known systems, because programmers use outdated or poorly written, but freely available code rather than system tools. For example, you can see grammatically wrong date "2 Maj 2021" instead of "2 maja 2021" (2021-05-02).

Translate some instances of "system32" to "sistema-32" in Spanish Windows and expect the Spanish Inquisition (or upoming apocalypse, the choice is yours).
Andrzej P. Wozniak
Polish subforum moderator
Post Reply