Jump to content


Important Announcement!

Please read this post about our new Privacy Policy


Photo

PasswordMaker - Ver. 1.7b8


  • Please log in to reply
122 replies to this topic

#1 ericjung

ericjung

    Advanced Member

  • Members
  • 235 posts

Posted 08 July 2007 - 06:18 AM

Creator: LeahScape, Inc.
Ext. Version: 1.7b8

Extension is compatible to:
Firefox: 1.0 - 2.0.0.*
Mozilla Suite: 1.6 - 1.8+
Seamonkey: 1.0 - 1.1.*
Netscape: 8.0 - 8.1
Flock: 1.0+ - 1.0+
Included locales: de-DE en-US es-ES fr-FR nl-NL pl-PL pt-BR zh-CN
Description: Creates and manages passwords and other account information.

 View on WTS -- Download the extension

Edited by grimholtz, 21 September 2007 - 12:56 AM.


#2 Goofy

Goofy

    Advanced Member

  • Super Mod
  • 8437 posts

Posted 08 July 2007 - 07:12 AM

smile.gif Welcome back here with this other celebrated extension of yours.

I am a bit puzzled by the locale files as they are submitted here. There are a huge number of things like

QUOTE
passwdmakerOverlay.006.label
&navigatorOverlay.006.label;

passwdmakerOverlay.006.accesskey
&navigatorOverlay.006.accesskey;

passwdmakerOverlay.007.label
&navigatorOverlay.007.label;

passwdmakerOverlay.007.accesskey
&navigatorOverlay.007.accesskey;

passwdmakerOverlay.008.label
&navigatorOverlay.008.label;


...where each second line is supposed to be a string of the user interface to be translated. But obviously these are not strings but ENTITIES without their corresponding strings.

Would you mind explaining ? What are we supposed to translate in such a case? Just copy-paste the entity name?

Thanks in advance for any guidance smile.gif

[edit] Mmh after having browsed the en-US file, yes, I think we have to do that
QUOTE
Just copy-paste the entity name

Please confirm. rolleyes.gif
Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox

#3 Goofy

Goofy

    Advanced Member

  • Super Mod
  • 8437 posts

Posted 08 July 2007 - 07:35 AM

@ all translator friends.

You can find in the attachment a passwordmaker.dtd fil including ONLY items that need NO translation, as mentioned above. Just grab it and upload it, and your work will be automatically 33% made (255 lines smile.gif )

Attached File  passwdmaker.dtd   17.48KB   5 downloads
mmh a zipped version may be easier to grab
Attached File  passwdmaker_reduced_DTD.zip   1.7KB   4 downloads


@grimholz

I have no objection to unusual things (I even love totally unexpected ones smile.gif ) but I have noticed that
CODE
<!ENTITY advanced-options.100.accesskey "&advanced-options.017.accesskey;">
<!ENTITY advanced-options.100.accesskey "&advanced-options.017.accesskey;">
<!ENTITY advanced-options.102.tooltiptext "&advanced-options.101.tooltiptext;">
<!ENTITY advanced-options.103.tooltiptext "&advanced-options.101.tooltiptext;">
<!ENTITY advanced-options.104.tooltiptext "&advanced-options.101.tooltiptext;">


Is is intentional you dropped twice or three times the same thing with same or different names ?
Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox

#4 ericjung

ericjung

    Advanced Member

  • Members
  • 235 posts

Posted 08 July 2007 - 08:43 PM

QUOTE(Goofy)
Welcome back here with this other celebrated extension of yours.

Thank you!

QUOTE(Goofy @ Jul 8 2007, 07:35) [snapback]30847[/snapback]
Just copy-paste the entity name?

Yes, correct. The person who localized the extension (Mauro, pt-BR) did this when strings were duplicated in the extension. What is normal? To make two or three or four ENTITIES, all with the same quoted string?

QUOTE
I have no objection to unusual things (I even love totally unexpected ones smile.gif ) but I have noticed that
CODE
<!ENTITY advanced-options.100.accesskey "&advanced-options.017.accesskey;">
<!ENTITY advanced-options.100.accesskey "&advanced-options.017.accesskey;">
<!ENTITY advanced-options.102.tooltiptext "&advanced-options.101.tooltiptext;">
<!ENTITY advanced-options.103.tooltiptext "&advanced-options.101.tooltiptext;">
<!ENTITY advanced-options.104.tooltiptext "&advanced-options.101.tooltiptext;">


Is is intentional you dropped twice or three times the same thing with same or different names ?


These ENTITIES I added when Mauro was finished. What is wrong with the names? I don't understand, but I must have done something differently than Mauro?

Thank you,
Eric
p.s. teo--welcome. i see you have registered for the Polish translation. I hope we can work well together this time smile.gif

#5 Goofy

Goofy

    Advanced Member

  • Super Mod
  • 8437 posts

Posted 08 July 2007 - 08:49 PM

unsure.gif

I would not be comfortable to leave two identical entities with different values
QUOTE
<!ENTITY advanced-options.100.accesskey "&advanced-options.017.accesskey;">
<!ENTITY advanced-options.100.accesskey "&advanced-options.017.accesskey;">


I fear there may be some kind of conflict (well if the extension is working fine, don't worry smile.gif )

[EDIT] now that I see it with less goofy eyes, I suggest the second one is just to be erased, totally useless smile.gif


Here there is nothing weird
CODE
<!ENTITY advanced-options.102.tooltiptext "&advanced-options.101.tooltiptext;">
<!ENTITY advanced-options.103.tooltiptext "&advanced-options.101.tooltiptext;">
<!ENTITY advanced-options.104.tooltiptext "&advanced-options.101.tooltiptext;">


... I was only wondering if the sequence should not have been
QUOTE
<!ENTITY advanced-options.102.tooltiptext "&advanced-options.102.tooltiptext;">
<!ENTITY advanced-options.103.tooltiptext "&advanced-options.103.tooltiptext;">
<!ENTITY advanced-options.104.tooltiptext "&advanced-options.104.tooltiptext;">


I suspected some kind of copy/paste error, but you are the boss after all smile.gif
Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox

#6 ericjung

ericjung

    Advanced Member

  • Members
  • 235 posts

Posted 08 July 2007 - 10:51 PM

QUOTE
... I was only wondering if the sequence should not have been
QUOTE

<!ENTITY advanced-options.102.tooltiptext "&advanced-options.102.tooltiptext;">
<!ENTITY advanced-options.103.tooltiptext "&advanced-options.103.tooltiptext;">
<!ENTITY advanced-options.104.tooltiptext "&advanced-options.104.tooltiptext;">

Yes, it looks suspicious, but it is OK--I checked again to make sure. Thank you for being so diligent!

QUOTE
[EDIT] now that I see it with less goofy eyes, I suggest the second one is just to be erased, totally useless smile.gif

Yes, you are right! This is a copy-paste error. Should I upload new version?

#7 Goofy

Goofy

    Advanced Member

  • Super Mod
  • 8437 posts

Posted 08 July 2007 - 11:03 PM

QUOTE(grimholtz @ Jul 8 2007, 23:51) [snapback]30872[/snapback]
Yes, you are right! This is a copy-paste error. Should I upload new version?


mmmh not necessary for the moment (if your xpi is working as it is), wait to have more changes for an update I should say smile.gif
Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox

#8 ericjung

ericjung

    Advanced Member

  • Members
  • 235 posts

Posted 08 July 2007 - 11:20 PM

QUOTE(Goofy @ Jul 8 2007, 23:03) [snapback]30873[/snapback]
mmmh not necessary for the moment (if your xpi is working as it is), wait to have more changes for an update I should say smile.gif

ok.

#9 teo

teo

    XUL Warrior & Layout Fakir

  • BabelZillian Mods
  • 1437 posts

Posted 09 July 2007 - 02:07 AM

QUOTE(grimholtz @ Jul 8 2007, 21:43) [snapback]30869[/snapback]
p.s. teo--welcome. i see you have registered for the Polish translation. I hope we can work well together this time smile.gif

I hope also. smile.gif
Now you don't wrote files in one line. smile.gif
And now mine first remark.
I saw that will be problem with BabelZilla. WTS when file is downloaded changed all '<' and '>' characters to HTML code
These characters are using in the HTML entities.
Teo

#10 ericjung

ericjung

    Advanced Member

  • Members
  • 235 posts

Posted 09 July 2007 - 04:39 AM

QUOTE(Teo)
I saw that will be problem with BabelZilla. WTS when file is downloaded changed all '<' and '>' characters to HTML code
These characters are using in the HTML entities.

Can you give an example? You mean in DTD file or properties file?

Thanks,
Eric


#11 ericjung

ericjung

    Advanced Member

  • Members
  • 235 posts

Posted 09 July 2007 - 04:50 AM

QUOTE(grimholtz @ Jul 9 2007, 04:39) [snapback]30887[/snapback]
Can you give an example? You mean in DTD file or properties file?

Thanks,
Eric


Nevermind. This is being discussed here, too, and Mauro has provided an example. I wish WTS was smarter unsure.gif

#12 Goofy

Goofy

    Advanced Member

  • Super Mod
  • 8437 posts

Posted 09 July 2007 - 08:12 AM

smile.gif Sure DTD files don't like HTML tags! laugh.gif

From what I have seen, I know only a safe solution which is also a bit tedious. You should leave every html tag in the xul file and slalom around them with entities.
A simple example here :

Initial line 48 in tips.xul
CODE
<li>The order of the characters affects what is generated! Using <b>0123456789abcdef</b> creates different passwords<br/>than using <b>abcdef0123456789</b>"></li><br/>


Final line 48 in tips.xul
CODE
<li>&tip7.1;&nbsp;<b>0123456789abcdef</b>&nbsp;&tip7.2;<br/>&tip7.3;&nbsp;<b>abcdef0123456789</b>"></li><br/>

(Note the addition of non-breaking spaces)

Corresponding entities in the related *.dtd
CODE
<!ENTITY tip7.1 "The order of the characters affects what is generated! Using">
<!ENTITY tip7.2 "creates different passwords">
<!ENTITY tip7.3 "than using"

Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox

#13 Goofy

Goofy

    Advanced Member

  • Super Mod
  • 8437 posts

Posted 09 July 2007 - 05:15 PM

rolleyes.gif No answer? OK I will make it myself laugh.gif

In this attached version Attached File  passwdmakerGoofy_OK_1.7b1.xpi   182.64KB   1 downloads you have only two parts changed:

in the tips.xul
now it looks like that
CODE
<p>&tip1.1;<br/>&tip1.2;
<br/><br/>
<ul>
<li>&tip2.1; <b>0123456789abcdef</b>.</li><br/>
<li>&tip2.2; <b>&tip2.3; </b><br/>&tip2.4; <b>&tip2.5;</b>.</li><br/>
<li>&tips.003.innerHTML;</li><br/>
<li>&tips.004.innerHTML;</li><br/>
<li>&tips.005.innerHTML;</li><br/>
<li>&tips.006.innerHTML;</li><br/>
<li>&tip7.1; <b>0123456789abcdef</b> &tip7.2; <br/>&tip7.3; <b>abcdef0123456789</b></li><br/>
<li>&tip8.1; <a onclick="passwordMaker.openAndReuseOneTabPerURL('http://en.wikipedia.org/wiki/Diacritic');" style="color: blue; cursor: pointer" href="">&tip8.2; </a>&tip8.5;  Ã¢, Ã¥, ç), <a onclick="passwordMaker.openAndReuseOneTabPerURL('http://en.wikipedia.org/wiki/Diaeresis');" style="color: blue; cursor: pointer" href="">&tip8.3; </a>&tip8.5;  Ã¼, ä, ë),<br/><a onclick="passwordMaker.openAndReuseOneTabPerURL('http://en.wikipedia.org/wiki/Ligature_%28typography%29');" style="color: blue; cursor: pointer" href="">&tip8.4; </a>&tip8.5; Æ, Å“, ß), &tip8.6;© ® â„— !@#$%^&amp;*(){};), &tip8.7;<br/>&tip8.8;<br/>&tip8.9; <br/>&tip8.10;<br/>&tip8.11;<b>&#xfe;</b>.</li>
</ul>


and in the passwdmaker.dtd (en-US only) you now have this
CODE
<!ENTITY tip1.1 "The characters field contains the list of characters used in generating this password.">
<!ENTITY tip1.2 "Here are some tips to follow when selecting characters:">
<!ENTITY tip2.1 "If you require passwords compatible with PasswordMaker 0.6 and before, you must use">
<!ENTITY tip2.2 "If your passwords are missing leading zeros which existed in 0.6, try using the hash algorithm">
<!ENTITY tip2.3 "MD5 Version 0.6">
<!ENTITY tip2.4 "or">
<!ENTITY tip2.5 "HMAC-MD5 Version 0.6">
<!ENTITY tips.003.innerHTML "A minimum of two characters is required">
<!ENTITY tips.004.innerHTML "Characters can be repeated">
<!ENTITY tips.005.innerHTML "Using the same character more than once causes that character to appear more often in the generated password">
<!ENTITY tips.006.innerHTML "The more unique characters that are specified, the greater the variety of characters in the generated password">
<!ENTITY tip7.1 "The order of the characters affects what is generated! Using">
<!ENTITY tip7.2 "creates different passwords">
<!ENTITY tip7.3 "than using">
<!ENTITY tip8.1 "You can specify non-English characters like those with">
<!ENTITY tip8.2 "diacritical marks">
<!ENTITY tip8.3 "diaeresis marks">
<!ENTITY tip8.4 "ligature marks">
<!ENTITY tip8.5 "(e.g.">
<!ENTITY tip8.6 "non-alphanumeric characters and symbols (e.g.,">
<!ENTITY tip8.7 "etc. If a">
<!ENTITY tip8.8 "character you desire does not appear on your keyboard, don't fret. Most every Western character can be created by">
<!ENTITY tip8.9 "typing ALT-, OPTION-, or CTRL-code key sequences. The key sequences vary by operating system. For example,">
<!ENTITY tip8.10 "typing ALT+0222 in Windows (numbers must be typed on the numeric keypad) yields the Icelandic upper-case Thorn">
<!ENTITY tip8.11 "character:">


rolleyes.gif One bugreport: in this version as well as in your original one, the 3 links to wikipedia (diacritic etc.) are non-functional unsure.gif
Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox

#14 teo

teo

    XUL Warrior & Layout Fakir

  • BabelZillian Mods
  • 1437 posts

Posted 10 July 2007 - 12:40 AM

I also played with this extension for resolve problem with html in entities. I totally rebuilt 'tips.xul' file and all entities for this file in the 'passwdmaker.dtd' file. I changed 'passwdmaker.css' file and built new 'tips.js' file. Now we haven't html in the entities, translators can adjust one's wikipedia links and text is matching to window size.
All files are in the attached file.
For tests please install extension on new blank profile or remove from 'localstore.rdf' file size window parameters for tips window.

I think we have to play with another window for better matching size to translations.

Attached Files


Teo

#15 ericjung

ericjung

    Advanced Member

  • Members
  • 235 posts

Posted 10 July 2007 - 01:59 AM

...and yet another implementation at http://forums.passwordmaker.org/index.php/...html#msg1280190
Goofy & Teo: how do you like it?

#16 Goofy

Goofy

    Advanced Member

  • Super Mod
  • 8437 posts

Posted 10 July 2007 - 07:51 AM

smile.gif Wow solutions everywhere laugh.gif !

Well, as I cannot judge about code I will state my opinion as a translator and from I have seen I must say that I prefer Teo's proposition.
(*though it seems not fully functional: I have tried to test but encountered that probable css issue on the extended settings dialog )Attached File  pwmakerTeo.png   26.54KB   10 downloads)

Reasons why I think a html in a locale is not such a good idea :

1. Even though you removed a certain number of tags, translators would have to slalom around "strange" things such as <li>, <ul> and <a href. mellow.gif . Of course it is nothing for old translators like me, but one big idea of BabelZilla is to make translation an easy non-technical game. Translators are not supposed to be coders, and they are allowed to ignore javascript, xul and even html. They should concentrate on what they are required for: translation.
So I would prefer to spare them the handling of an html file: use the proper html editor that will not break the encoding, beware not to translate what should not be, beware not to delete one closing tag here and there etc.

2. The size of an html file in every locale (and you know that this extension will probably get more than 20 language subfolders) is more important than the .dtd with corresponding strings. 20 times a small difference becomes significant difference.

If you stick to your idea the solution could be (my little howto here):
- have one .Xhtml file in the content
- entitize its strings
- drop the entities and strings in the locale .dtd file

About your reluctance to modify your plans to match wts limitations: you are right of course laugh.gif You should not lose your time trying to adjust good work to annoyances, I understand perfectly. Note that the next version of the WTS will allow to edit html online (as html code, so it is not as good as wysiwyg for non-geek translators)

So I think in this case Teo's solution (*IF it matches code standards and is functional) can be better. My 2 GoofyCents. rolleyes.gif
Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox

#17 teo

teo

    XUL Warrior & Layout Fakir

  • BabelZillian Mods
  • 1437 posts

Posted 10 July 2007 - 09:19 AM

QUOTE(Goofy @ Jul 10 2007, 08:51) [snapback]30927[/snapback]
So I think in this case Teo's solution (*IF it matches code standards and is functional) can be better. My 2 GoofyCents. rolleyes.gif

Thanks Goofy. smile.gif You know, I'm translator but I like some play with code. Your bug isn't caused by mine changes.
1. As Goofy wrote - extension (if developer want internationalize them) should easy for translation. IMHO mine proposal is easy for translation and translator without any problem can adjust one's links to explain some terms.
2. IMHO size all dialog and information windows should matching to all translation without translator or user intervention.
These two ideas conducted my work.

Eric,
If in this case you decide leave html, your proposal is good, but I don't like iframe smile.gif.
Teo

#18 ericjung

ericjung

    Advanced Member

  • Members
  • 235 posts

Posted 10 July 2007 - 03:47 PM

OK, we will use Teo's approach. Teo, where are the #passwordmaker-button and #passwordmaker-key-button styles specified in passwordmaker.css used? in tips.xul? I don't see them. Another XUL file? You only included tips.xul.

#19 teo

teo

    XUL Warrior & Layout Fakir

  • BabelZillian Mods
  • 1437 posts

Posted 10 July 2007 - 11:04 PM

QUOTE(grimholtz @ Jul 10 2007, 16:47) [snapback]30939[/snapback]
OK, we will use Teo's approach. Teo, where are the #passwordmaker-button and #passwordmaker-key-button styles specified in passwordmaker.css used? in tips.xul? I don't see them. Another XUL file? You only included tips.xul.

Eric,
I added style for link only . These styles was in the file. Now I'm playing with 'advanced-options.xul' and 'basic-options.xul' files. smile.gif
Teo

#20 Goofy

Goofy

    Advanced Member

  • Super Mod
  • 8437 posts

Posted 11 July 2007 - 06:19 AM

QUOTE(teo @ Jul 11 2007, 00:04) [snapback]30951[/snapback]
I added style for link only . These styles was in the file. Now I'm playing with 'advanced-options.xul' and 'basic-options.xul' files. smile.gif


laugh.gif surprise.gif OMG who'll ever stop teo? laugh.gif laugh.gif

Please cool down teo, otherwise you will rewrite the entire extension. Seriously, you should wait a bit things are carefully tested with your last patch, (see some minor issues here )and moreover be more precise with the changes you made, because it may be a bit confusing. At last, don't take for granted the developer has to change things according to your suggestions (which are often pretty smart I reckon) smile.gif
Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox


1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


    CCBot (1)