XPIInfo - combined plugin to get info about xpi-files

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

2SeLarin, could you implement to choose the font size?
User avatar
menet
Member
Member
Posts: 199
Joined: 2005-04-21, 12:27 UTC
Location: Paris, France

Post by *menet »

SeLarin wrote:Just treat XPIInfo.wdx as WLX and it will work. :) I have some reasons to include both parts (Lister+Content) in one file...
Thanks that works right now :P

I have to edit the xpiinfo.ini to use the French in the lister (with Template=Text_fr.tmpl). That must be done TC stopped to be taken in account. 8)

I miss always somethings :
- I know how to use the Tooltips (see a previous entry); it is in French if I use French data in the TC configuration.
- I know how to use with Lister in French (see on top) with the tmpl French file created under Templates declared in xpiinfo.ini file.
- But, when is it used the lng file created under Languages ?
- When are used the data from Fra section created in XPIInfo.lng file ?
- When is it used the Templates\bbCode_XX.tmpl files ?

Sorry if all that is already documented inside the Russian help file.

Regards :wink:
#22273 Personal licence
User avatar
SeLarin
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-15, 13:40 UTC
Location: Saint-Petersburg, Russia

Post by *SeLarin »

1. One can change Language or template from the popup menu (right-click in Lister window).
Image: http://slsoft.narod.ru/temp/tmpl.png
Image: http://slsoft.narod.ru/temp/lng.png

2. fra section from XPIInfo.lng is used by TC when it shows field names.
User avatar
menet
Member
Member
Posts: 199
Joined: 2005-04-21, 12:27 UTC
Location: Paris, France

Post by *menet »

Thanks for the explanation. I understand now. :P

We have problems with special French characters (in UTF-8), they are bad displayed in the contextual menu. :?

Should I create a new French.lng file without these characters or will you correct your plugin ? :?:

There is also the problem in the Lister for the {languages}. I have also translated them (also in French.lng) and now several of them contains these type of characters.

I have not understood what are the functions of :
- Auto Save (Save Automatically..., Save Errors, Append to File)
- RexExp for Translator... (Input regular expression to determine extension's translator). I have tried but haven't seen what is the effect
- Where is written "XPIInfo Options"

Regards :wink:
#22273 Personal licence
TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

2menet,

RexExp for Translator
Does this work, if you insert this into xpiinfo.ini and uncomment the other TranslatorRE lines?

TranslatorRE=\b(fr-FR|(?i)(french|fran))

2SeLarin,
revised the german templates to give a better overview:
http://www.famlehm.de/deleteme/tychobarfy/files/XPIInfo_1.1_de.zip
User avatar
menet
Member
Member
Posts: 199
Joined: 2005-04-21, 12:27 UTC
Location: Paris, France

Post by *menet »

2TychoBarfy,
I have already updated the xpiinfo.ini file to add a line like you propose : TranslatorRE=\b(fr-FR|(?i)(french|fran)), and commented the previous one. 8)

Then if I click on RexExp for Translator, it propose to me in answer "\b(fr-FR|(?i)(french|fran))" but after doing OK, what is the effect ?

In your ZIP file you use also special characters in German.lng : ä, Ü, ü, ö, ß, á, å ... But your file is not in UTF-8 format (with or without BOM). Do these characters are well shown with the plugin ? :roll:

Regards :wink:
#22273 Personal licence
TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

menet wrote:2TychoBarfy,
---
Then if I click on RexExp for Translator, it propose to me in answer "\b(fr-FR|(?i)(french|fran))" but after doing OK, what is the effect ?
...
This in your case shows, if there is a french locale in the xpi, the name of the french translator, if not, "Unknown" will be displayed.
In your ZIP file you use also special characters in German.lng : ä, Ü, ü, ö, ß, á, å ... But your file is not in UTF-8 format (with or without BOM). Do these characters are well shown with the plugin ? :roll:
Yes, these chatacters are shown as they should.
User avatar
SeLarin
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-15, 13:40 UTC
Location: Saint-Petersburg, Russia

Post by *SeLarin »

2menet
My plugin is not Unicode-compatible and it can't show any Unicode (or UTF-8 ) characters. One should create translations and templates using ASCII characters only. "Special" national characters will be shown correctly if appropriate locale is chosen on user system.
TranslatorRE is used when plugin tries to determine a translator of an extension.
AutoSave is a feature that allow to save data about extensions into the specified file when viewing it in Lister or in QuickView. When "Append To File" is switched on data will be collected in the file. Try to play with this options. :)

2TychoBarfy
Thanks! I'll update this files in future version.
User avatar
menet
Member
Member
Posts: 199
Joined: 2005-04-21, 12:27 UTC
Location: Paris, France

Post by *menet »

Thanks for your reply.

I have recreated the French files in BabelZilla :Click here to download the ZIP file
The BabelZilla answer :twisted:
Note that I have re-uploaded the file 2 times because I had miss one bad character. :oops:

What does the "Save Errors" check ?
What type of errors is it ?

I believe it will be my last requests... :oops:

Regards :wink:
#22273 Personal licence
User avatar
SeLarin
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-15, 13:40 UTC
Location: Saint-Petersburg, Russia

Post by *SeLarin »

2menet

When plugin retrieve ibfo from xpi file some errors may occur (for example when no install.rdf in jar-package). Plugin show an error message in Lister in such case. "Save Errors" denotes whether error messages would be saved or not. This option have effect on the AutoSave feature.
User avatar
SeLarin
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-15, 13:40 UTC
Location: Saint-Petersburg, Russia

Post by *SeLarin »

TychoBarfy wrote:...could you implement to choose the font size?
This feature is planned.
User avatar
SeLarin
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-15, 13:40 UTC
Location: Saint-Petersburg, Russia

Post by *SeLarin »

New version 1.1c with updated locales have been realesed. French and Dutch translations have been added. The plugin can be downloaded from the page on totalcmd.net
User avatar
menet
Member
Member
Posts: 199
Joined: 2005-04-21, 12:27 UTC
Location: Paris, France

Post by *menet »

Hi,

Using XPIInfo 1.1c and TC 7.02a, I have an Error being with the mouse on one particular XPI file :
Error wrote:Crash in plugin XPIInfo.wdx:
External exception EEDFADE
The choice "OK" or "Cancel" buttons gives a close of TC
You can find this XPI of Text Link for this new 1.3.2007102201 version on the following page : Choose the "Non-secure Download" link

The Web page of this Text Link extension from SHIMODA Hiroshi is HERE

Can you investigate about this problem ?

I haven't this problem with previous versions of Text Link and others extensions for Firefox. :P

Best regards :wink:
#22273 Personal licence
User avatar
SeLarin
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-15, 13:40 UTC
Location: Saint-Petersburg, Russia

Post by *SeLarin »

Hello!!!

Thank you for report. I didn't get any error with this extension but I have slightly different version of the XPIInfo installed. I know that in some cases XPIInfo may cause exceptions but they are not reproducible. So I can't found an immediate cause of these errors.
In addition I have no access to my computer at present. So I'll be able to correct some errors and present new version (new version is practically ready to be presented) of the plugin only in 2008.
User avatar
SeLarin
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-15, 13:40 UTC
Location: Saint-Petersburg, Russia

Post by *SeLarin »

I've released "new" version of the XPIInfo. Only slovak translation (thanks to Peter from SlovakSoft) has been added.
Post Reply