|
Show me
|
||
![]() ![]() |
Oct 22 2006, 09:14
Post
#61
|
|
![]() WTS Developer ![]() ![]() ![]() Group: WTS Developer Posts: 498 Joined: 7-August 05 From: Palermo (Italy) Member No.: 79 ![]() Extension Developer: Yes Extensions: Some bonsai extensions Translator for [No translator] |
QUOTE(Goofy @ Oct 22 2006, 10:02) [snapback]20624[/snapback] Sound good for my ears When we (you) reach 100 extension we can organize a party like this. Obviously this is a joke QUOTE(Goofy @ Oct 22 2006, 10:02) [snapback]20624[/snapback] I have noticed there are still sometimes double similar entities created with same name and same strings, I don't know why because generally there is the appending number that allows entity names to be different, but sometimes there is no such number. Bad news, may you send me more info so I try to reproduce the problem. I can't live knowing my friend Goofy encounters similar bugs when he works QUOTE(Goofy @ Oct 22 2006, 10:02) [snapback]20624[/snapback] In a distant future, it would be good to have this feature : For xml files, the user should have the choice between - automatic detecting and replacement (just as it works fine now) - selection of items to be transferred just as it works fine for .js files now I'll add these enough simple modification as soon as possibile, please apologize me for late in fix these problems. QUOTE Thank you again, dear Davide, for the very kind and smart work you have done My pleasure, I'm happy when people use my bonsai apps -------------------- |
|
|
|
Oct 23 2006, 18:34
Post
#62
|
|
![]() Advanced Member ![]() Group: Super Mod Posts: 8.353 Joined: 30-July 05 From: GoofyLand Member No.: 13 ![]() Extension Developer: Yes Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran... Translator for French (fr) My OS Gnu/Linux Translation Credits to Goofy |
QUOTE("dafi") may you send me more info so I try to reproduce the problem. As a sample to give a look, here are 2 files, the dtd is obviously the output result for the xul one. (Some entities are same with same entity names) Thanks for your patience [EDIT] ouch my bad. I realize now that the problem (as in zipped files) occurs because I set the max char to 30 and the strings where <30. I just tested again with char max set to 20 only and all entities have appended numbers so there are no more similar entities, though strings are similar
Attached File(s)
-------------------- Think Global, Make Locales!
![]() You like languages? You should contribute to Tatoeba project! ![]() Sometimes I am on irc://moznet/BabelZilla but you can also drop a word in the shoutbox |
|
|
|
Oct 29 2006, 16:09
Post
#63
|
|
![]() Advanced Member ![]() Group: Super Mod Posts: 8.353 Joined: 30-July 05 From: GoofyLand Member No.: 13 ![]() Extension Developer: Yes Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran... Translator for French (fr) My OS Gnu/Linux Translation Credits to Goofy |
I am currently "extenalizing" an extension which includes accesskeys and though I duly listed "accesskey" in my attrb.txt file, the process seems to ignore accesskey. here I attach my txt file, and one original xul file + its externalize version skipping the ak I am (almost) sure the accesskeys were detected in previous versions... Thanks for any clue you could give
Attached File(s)
-------------------- Think Global, Make Locales!
![]() You like languages? You should contribute to Tatoeba project! ![]() Sometimes I am on irc://moznet/BabelZilla but you can also drop a word in the shoutbox |
|
|
|
Oct 29 2006, 16:16
Post
#64
|
|
![]() eXtenZilla IT Member ![]() ![]() ![]() Group: Members Posts: 711 Joined: 30-July 05 From: Ferrara - Italia Member No.: 11 ![]() Extension Developer: No Translation Credits to Luca Pedrazzi - www.extenzilla.org |
It is quite off topic, but I havent caption in my attrs.txt file... is my old file?
-------------------- |
|
|
|
Oct 29 2006, 16:32
Post
#65
|
|
![]() WTS Developer ![]() ![]() ![]() Group: WTS Developer Posts: 498 Joined: 7-August 05 From: Palermo (Italy) Member No.: 79 ![]() Extension Developer: Yes Extensions: Some bonsai extensions Translator for [No translator] |
QUOTE(Goofy @ Oct 29 2006, 17:09) [snapback]20988[/snapback] I am currently "extenalizing" an extension which includes accesskeys and though I duly listed "accesskey" in my attrb.txt file, the process seems to ignore accesskey. here I attach my txt file, and one original xul file + its externalize version skipping the ak I am (almost) sure the accesskeys were detected in previous versions... Thanks for any clue you could give I'm investigating... QUOTE(Pedro @ Oct 29 2006, 17:16) [snapback]20989[/snapback] It is quite off topic, but I havent caption in my attrs.txt file... is my file old? Consider actually don't exist official files, so it's possibile you have a different (not necessary old) file -------------------- |
|
|
|
Oct 29 2006, 16:45
Post
#66
|
|
![]() eXtenZilla IT Member ![]() ![]() ![]() Group: Members Posts: 711 Joined: 30-July 05 From: Ferrara - Italia Member No.: 11 ![]() Extension Developer: No Translation Credits to Luca Pedrazzi - www.extenzilla.org |
Thanks Davide
I try and I have the same result of Jean Bernard I am now externalizing an extension called Hyperbookmark, and I notice that the entity with only one letter aren't processed... may this help you in your investigation? -------------------- |
|
|
|
Oct 29 2006, 16:45
Post
#67
|
|
![]() WTS Developer ![]() ![]() ![]() Group: WTS Developer Posts: 498 Joined: 7-August 05 From: Palermo (Italy) Member No.: 79 ![]() Extension Developer: Yes Extensions: Some bonsai extensions Translator for [No translator] |
QUOTE(Goofy @ Oct 29 2006, 17:09) [snapback]20988[/snapback] I am currently "extenalizing" an extension which includes accesskeys and though I duly listed "accesskey" in my attrb.txt file, the process seems to ignore accesskey. here I attach my txt file, and one original xul file + its externalize version skipping the ak I am (almost) sure the accesskeys were detected in previous versions... Thanks for any clue you could give Found the problem The new "Regular Expressions used to exclude values" skips the string like "u" or "T". To verify this simply create a file containing the string "nonenone" and use it and all value are generated. This is a very invasive bug -------------------- |
|
|
|
Oct 29 2006, 16:47
Post
#68
|
|
![]() Advanced Member ![]() Group: Super Mod Posts: 8.353 Joined: 30-July 05 From: GoofyLand Member No.: 13 ![]() Extension Developer: Yes Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran... Translator for French (fr) My OS Gnu/Linux Translation Credits to Goofy |
Thanks Davide
QUOTE("Luca") It is quite off topic, but I havent caption in my attrs.txt file... is my Davide is right, this is just one of the files I am currently using, adapting it to the extension I am dealing with (add/remove items as you wish). As an example, today I encountered "tooltipText" -------------------- Think Global, Make Locales!
![]() You like languages? You should contribute to Tatoeba project! ![]() Sometimes I am on irc://moznet/BabelZilla but you can also drop a word in the shoutbox |
|
|
|
Oct 29 2006, 16:59
Post
#69
|
|
![]() eXtenZilla IT Member ![]() ![]() ![]() Group: Members Posts: 711 Joined: 30-July 05 From: Ferrara - Italia Member No.: 11 ![]() Extension Developer: No Translation Credits to Luca Pedrazzi - www.extenzilla.org |
Thanks Jean Bernard... now the matter is clearer
-------------------- |
|
|
|
Oct 29 2006, 17:12
Post
#70
|
|
![]() WTS Developer ![]() ![]() ![]() Group: WTS Developer Posts: 498 Joined: 7-August 05 From: Palermo (Italy) Member No.: 79 ![]() Extension Developer: Yes Extensions: Some bonsai extensions Translator for [No translator] |
QUOTE(Goofy @ Oct 29 2006, 17:09) [snapback]20988[/snapback] I am currently "extenalizing" an extension which includes accesskeys and though I duly listed "accesskey" in my attrb.txt file, the process seems to ignore accesskey. here I attach my txt file, and one original xul file + its externalize version skipping the ak I am (almost) sure the accesskeys were detected in previous versions... Thanks for any clue you could give Try the file in attach with a modified regular expression. This is simply a workaround (may not work) that skips string values with length greater that 2 chars instead of 1 char.
Attached File(s)
-------------------- |
|
|
|
Oct 29 2006, 17:30
Post
#71
|
|
![]() Advanced Member ![]() Group: Super Mod Posts: 8.353 Joined: 30-July 05 From: GoofyLand Member No.: 13 ![]() Extension Developer: Yes Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran... Translator for French (fr) My OS Gnu/Linux Translation Credits to Goofy |
Thanks Davide, I will try tonight.
Now I am skeptical about your answer : the problem is not to skip values > 2 chars, but to detect one-char values like "A" when accesskey="A". But I am so ignorant about regexps that I probably misunderstood the whole trick (?) -------------------- Think Global, Make Locales!
![]() You like languages? You should contribute to Tatoeba project! ![]() Sometimes I am on irc://moznet/BabelZilla but you can also drop a word in the shoutbox |
|
|
|
Oct 29 2006, 21:02
Post
#72
|
|
![]() Advanced Member ![]() Group: Super Mod Posts: 8.353 Joined: 30-July 05 From: GoofyLand Member No.: 13 ![]() Extension Developer: Yes Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran... Translator for French (fr) My OS Gnu/Linux Translation Credits to Goofy |
QUOTE Thanks Davide, I will try tonight. Done: it works fine with your workaround. Thanks! -------------------- Think Global, Make Locales!
![]() You like languages? You should contribute to Tatoeba project! ![]() Sometimes I am on irc://moznet/BabelZilla but you can also drop a word in the shoutbox |
|
|
|
Oct 30 2006, 07:04
Post
#73
|
|
![]() WTS Developer ![]() ![]() ![]() Group: WTS Developer Posts: 498 Joined: 7-August 05 From: Palermo (Italy) Member No.: 79 ![]() Extension Developer: Yes Extensions: Some bonsai extensions Translator for [No translator] |
QUOTE(Goofy @ Oct 29 2006, 22:02) [snapback]21009[/snapback] Done: it works fine with your workaround. Thanks! Honestly I know this is only a workaround not a solution. It is the quickest way to continue to use Externalize without waiting for a new build. Maybe a solution should allow to choose the technique for discarding values per tag. For example CODE Tag/Attribute Discard value RegExpr accesskey None label RE1, RE2 Imagine a UI to obtain a similar result. Adding an UI to handle files is a priority and I'll add it ASAP (but not before December Stay tuned -------------------- |
|
|
|
Oct 30 2006, 07:37
Post
#74
|
|
![]() Advanced Member ![]() Group: Super Mod Posts: 8.353 Joined: 30-July 05 From: GoofyLand Member No.: 13 ![]() Extension Developer: Yes Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran... Translator for French (fr) My OS Gnu/Linux Translation Credits to Goofy |
QUOTE(dafi @ Oct 30 2006, 07:04) [snapback]21020[/snapback] Maybe a solution should allow to choose the technique for discarding values per tag. For example CODE Tag/Attribute Discard value RegExpr accesskey None label RE1, RE2 Imagine a UI to obtain a similar result. Adding an UI to handle files is a priority and I'll add it ASAP (but not before December Stay tuned *For one thing I don't know about regexp syntax (I have read tutorials but I have no mathematician brain- well I suspect I have no brain at all to tell the truth) but what makes things more complicated is that every file may need a specific choice, and also in the same file sometimes a string must be externalized or not. For example, it often happens to have in the same file value="Davide is Great" (-->must be translated in every possible language) and value="Codestuff" (--> must be left as it is to make the extension run smoothly) So the workaround here should be to allow user to select step by step what must be externalized and what mustn't be -------------------- Think Global, Make Locales!
![]() You like languages? You should contribute to Tatoeba project! ![]() Sometimes I am on irc://moznet/BabelZilla but you can also drop a word in the shoutbox |
|
|
|
Nov 11 2006, 16:39
Post
#75
|
|
![]() Advanced Member ![]() Group: Super Mod Posts: 8.353 Joined: 30-July 05 From: GoofyLand Member No.: 13 ![]() Extension Developer: Yes Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran... Translator for French (fr) My OS Gnu/Linux Translation Credits to Goofy |
@Pedro for information, I am currently trying to externalize Chipmark extension
-------------------- Think Global, Make Locales!
![]() You like languages? You should contribute to Tatoeba project! ![]() Sometimes I am on irc://moznet/BabelZilla but you can also drop a word in the shoutbox |
|
|
|
Nov 11 2006, 23:11
Post
#76
|
|
![]() eXtenZilla IT Member ![]() ![]() ![]() Group: Members Posts: 711 Joined: 30-July 05 From: Ferrara - Italia Member No.: 11 ![]() Extension Developer: No Translation Credits to Luca Pedrazzi - www.extenzilla.org |
QUOTE(Goofy @ Nov 11 2006, 16:39) [snapback]21619[/snapback] @Pedro for information, I am currently trying to externalize Chipmark extension Thanks for the info Jean Bernard ![]() -------------------- |
|
|
|
Nov 12 2006, 00:37
Post
#77
|
|
![]() Advanced Member ![]() Group: Super Mod Posts: 8.353 Joined: 30-July 05 From: GoofyLand Member No.: 13 ![]() Extension Developer: Yes Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran... Translator for French (fr) My OS Gnu/Linux Translation Credits to Goofy |
[Done]
-------------------- Think Global, Make Locales!
![]() You like languages? You should contribute to Tatoeba project! ![]() Sometimes I am on irc://moznet/BabelZilla but you can also drop a word in the shoutbox |
|
|
|
Jan 21 2007, 09:32
Post
#78
|
|
![]() WTS Developer ![]() ![]() ![]() Group: WTS Developer Posts: 498 Joined: 7-August 05 From: Palermo (Italy) Member No.: 79 ![]() Extension Developer: Yes Extensions: Some bonsai extensions Translator for [No translator] |
Finally I've restart to develop and I've added to externalize the ability to select items to externalize also for XML files.
The version 0.0.5 is here. Please install it on a clean profile, I've dramatically changed the code so some regression is possibile. The update system is disabled because 0.0.5 is considered a beta I wait for your hints... please post here - bug report - regression report - improvement request - new features request This new version contains the base code for version 1.0 PS The line number isn't present for xml files, this is due to actual parsing algorithm so don't worry about it -------------------- |
|
|
|
Jan 21 2007, 10:25
Post
#79
|
|
![]() Advanced Member ![]() Group: Super Mod Posts: 8.353 Joined: 30-July 05 From: GoofyLand Member No.: 13 ![]() Extension Developer: Yes Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran... Translator for French (fr) My OS Gnu/Linux Translation Credits to Goofy |
Dear Davide it is just great !
apart from this little displaying annoyance for the extraction dialog (appears at first launch, it is fixed once it is manually resized) I cannot find anything wrong with this version. It is very handy to manage possible automatic entity duplicate names and of course to tell precisely which string should be externalize or not
Attached File(s)
-------------------- Think Global, Make Locales!
![]() You like languages? You should contribute to Tatoeba project! ![]() Sometimes I am on irc://moznet/BabelZilla but you can also drop a word in the shoutbox |
|
|
|
Jan 22 2007, 00:20
Post
#80
|
|
![]() Advanced Member ![]() Group: Super Mod Posts: 8.353 Joined: 30-July 05 From: GoofyLand Member No.: 13 ![]() Extension Developer: Yes Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran... Translator for French (fr) My OS Gnu/Linux Translation Credits to Goofy |
I have seen that the original strings are removed from one xul file BUT NOT replaced with the newly created entities. More surprising, the new entity is duly reported in the dtd file with the corresponding strings Here I attach the original xul file, then the processed one (with missing values and labels!) and the resulting dtd. [edit] I think the issue occurs each time I change the entity name in the editing dialog before launching the process (I will check that) [edit2] I checked and unfortunately it trims again some labels and values even if I did not change the entities' names [edit3] for information the same test file is correctly externalized with the previous version, so it is obviously an issue related to the new code part.
Attached File(s)
-------------------- Think Global, Make Locales!
![]() You like languages? You should contribute to Tatoeba project! ![]() Sometimes I am on irc://moznet/BabelZilla but you can also drop a word in the shoutbox |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 26th May 2013 - 08:17 |