|
Show me
|
||
Sep 19 2006, 07:10
Post
#1
|
|
![]() Advanced Member ![]() Group: Super Mod Posts: 8.352 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 also began a babelwiki page which is uncomplete and needing screenshots among others. [color=#FF0000]* trim the length of the created entities to a customized number of characters. In the current version there is manual work to limit the length to something reasonable. So the entitizing process itself is very quick and spares much time, but you have to check every file afterwards for empty strings and too long entity names. * add the extension name (or first chars of it) at the beginning of entity names (as it is common use for most of manually created entities) * detect empty strings from the xul files and avoid creating empty useless entities * make the .txt files editable and customizable throughout the extension interface * fix a kind of mess that may happen when creating the doctype line in case there already is one (a "public" one, referring to FF chrome itself) * add an extra dialog popping when a file is processed, telling "Strings from this file are now successfully entitized, do you want to process another file ? (Y/N)" . When there are numerous files to "externalize", user has to restart the main dialog for each file, it would be quicker to leave the main dialog (file selector) open as long as there are files to process -------------------- 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 10 2006, 06:49
Post
#2
|
|
![]() Advanced Member ![]() Group: Super Mod Posts: 8.352 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 for the new features! I used Externalize to localize Platypus, an extension with many xul and many js files, and it was working fine. * Accurate report for the js string count * Good detection of duplicate strings (listed like e.g "Platypus Help on lines 223, 257, 670") * no problem to change the variable names I suggest it is satisfactory and should be uploaded on dafzilla --------about comments If we have this kind of codelines : CODE //alert(itemFrames.length); //alert(itemiFrames.length); var frame, iframe; if (itemFrames.length > 0) { for (var i = 0; i< itemFrames.length; i++) { frame = itemFrames[i].contentDocument; this.CheckFrames(frame, id); // recursion for frames } } if (itemiFrames.length > 0) { for (var i = 0; i < itemiFrames.length; i++) { iframe = itemiFrames[i].contentDocument; this.CheckFrames(iframe, id); // recursion for iframes } } } this.onToolsMenu=function() //open setting dialog! { var win=window.openDialog("chrome://batchdownload/content/config.xul", "Batchdownload", "chrome,centerscreen",null); win.focus(); I suppose it will not be difficult to declare : if // is detected then skip this line and go to the next one but then a line with an address including double slash will be skipped too with possible string on the same line being ignored... Unless some declaration tells : - ignore double slash inside " " quotation marks. ...but I am sure you have already thought of all that before me and much more accurately. -------------------- 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 10 2006, 07:03
Post
#3
|
|
![]() 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 10 2006, 07:49) [snapback]20010[/snapback] * Accurate report for the js string count * Good detection of duplicate strings (listed like e.g "Platypus Help on lines 223, 257, 670") * no problem to change the variable names I suggest it is satisfactory and should be uploaded on dafzilla Very good news Ok I upload on dafizilla ASAP. QUOTE(Goofy @ Oct 10 2006, 07:49) [snapback]20010[/snapback] If we have this kind of codelines : [CUT] I suppose it will not be difficult to declare : if // is detected then skip this line and go to the next one but then a line with an address including double slash will be skipped too with possible string on the same line being ignored... Unless some declaration tells : - ignore double slash inside " " quotation marks. ...but I am sure you have already thought of all that before me and much more accurately. Detect comments ins't difficult but there are two types of comment: 1. inline comment starting with // 2. multiple line comment starting with /* and ending with */ Detecting inline comment is easy, detecting multiple line is a bit more complicated due to my extraction strings algorithm. I need to change algorithm and this is a bit invaside. As you know I'm working to fix this problem that fortunately is affordable -------------------- |
|
|
|
Goofy Developing Externalize extension Sep 19 2006, 07:10
dafi QUOTE(Goofy @ Sep 19 2006, 08:10) 19046
I... Sep 19 2006, 08:07
Goofy QUOTEdefinition files can be downloaded from a wel... Sep 19 2006, 10:30
dafi QUOTE(Goofy @ Sep 19 2006, 11:30) 19060
I... Sep 19 2006, 10:41
Goofy Yes you are wise, let's have an "official... Sep 19 2006, 10:49
Pedro QUOTE(Goofy @ Sep 19 2006, 08:10) 19046..... Sep 19 2006, 14:31
dafi QUOTE(Pedro @ Sep 19 2006, 15:31) 19063
I... Sep 19 2006, 18:27
Pedro QUOTE(dafi @ Sep 19 2006, 19:27) 19072
Co... Sep 19 2006, 19:12
dafi Another brick in the wall.
Here you find the new ... Sep 23 2006, 11:40
Goofy amazing work and improvements, dear Davide ! ... Sep 23 2006, 13:27
dafi QUOTE(Goofy @ Sep 23 2006, 14:27) 19166
Y... Sep 23 2006, 13:34
Goofy QUOTE(dafi @ Sep 23 2006, 14:34) 19167
To... Sep 23 2006, 13:49
Goofy Just to remember :
you added this line in the wish... Sep 28 2006, 22:54
dafi QUOTE(Goofy @ Sep 28 2006, 23:54) 19450
... Sep 29 2006, 06:01
Goofy QUOTEThe steps should be:
1. detect every single a... Sep 29 2006, 06:33
dafi QUOTE(Goofy @ Sep 29 2006, 07:33) 19456
... Sep 30 2006, 13:27
Goofy Wow impressive stuff again.
First tests seem to gi... Sep 30 2006, 16:26
dafi QUOTE(Goofy @ Sep 30 2006, 17:26) 19503
-... Sep 30 2006, 18:06
Goofy I attach here a zipped .js file for testing purpos... Sep 30 2006, 18:27
dafi QUOTE(Goofy @ Sep 30 2006, 19:27) 19513
... Sep 30 2006, 18:52
dafi You can find a new build here.
Fixed bugs describe... Oct 1 2006, 08:37
Pedro QUOTE(dafi @ Oct 1 2006, 09:37) 19546Goof... Oct 1 2006, 14:07
Goofy yes successful first test (see attachment with ori... Oct 1 2006, 09:21
dafi QUOTE(Goofy @ Oct 1 2006, 10:21) 19547
1.... Oct 1 2006, 09:44
Goofy No dear friend there is nothing difficult in its u... Oct 1 2006, 14:14
Pedro QUOTE(Goofy @ Oct 1 2006, 15:14) 19560
No... Oct 1 2006, 14:21
Pedro Great job JeanBernard: your new improvements on th... Oct 1 2006, 20:50
dafi Another little fix.
Now xml and js share the excl... Oct 2 2006, 06:28
Goofy Very good news again, thanks so much Davide!
(... Oct 2 2006, 07:32
Pedro Sure Jean Bernard
If it's on time I will do ... Oct 2 2006, 09:12
Goofy QUOTE(Pedro @ Oct 2 2006, 10:12) 19590
Su... Oct 2 2006, 11:07
Goofy hello Davide
I copy for you some bits of our exc... Oct 2 2006, 22:37
dafi QUOTE(Goofy @ Oct 2 2006, 23:37) 19626
he... Oct 3 2006, 06:21
Goofy QUOTEWell I can add two buttons:
1. uncheck all
2.... Oct 3 2006, 07:10
dafi QUOTE(Goofy @ Oct 3 2006, 08:10) 19633
ah... Oct 4 2006, 19:32
Pedro Thanks Davide
I download it immediately Oct 4 2006, 19:50
Goofy Grazie mille Davide Oct 4 2006, 19:54
dafi About measureit.
The problem is the drag&drop... Oct 5 2006, 13:47
Goofy QUOTEprobably adding a <stringbundle/> into ... Oct 6 2006, 19:32
dafi QUOTE(Goofy @ Oct 6 2006, 20:32) 19817
... Oct 7 2006, 08:25
Goofy QUOTEproblem doesn't depend by Externalize
Of... Oct 7 2006, 08:31
Pedro Hi guys,
don't break your head with this exte... Oct 7 2006, 10:10
Goofy A little observation while testing Externalize .js... Oct 7 2006, 19:30
dafi QUOTE(Goofy @ Oct 7 2006, 20:30) 19866
A ... Oct 8 2006, 07:29
Goofy Ah this time I think there is a probable bug in th... Oct 8 2006, 08:08
Goofy I confirm when testing on a very simple file with ... Oct 8 2006, 08:19
dafi QUOTE(Goofy @ Oct 8 2006, 09:19) 19887
I... Oct 8 2006, 08:21
Goofy --- another test with same file
Now I have change... Oct 8 2006, 08:25
dafi QUOTE(Goofy @ Oct 8 2006, 09:25) 19889
--... Oct 8 2006, 08:37
Goofy I am sorry same bug again. (to be confirmed)
Oh ... Oct 8 2006, 08:57
dafi QUOTE(Goofy @ Oct 8 2006, 09:57) 19891
I... Oct 8 2006, 09:00
dafi New build:
- report fixed for JS
- remove duplicat... Oct 8 2006, 12:42
dafi On BabelWiki I read:
QUOTEToDo List
* avoid e... Oct 10 2006, 10:53
Goofy QUOTE(dafi @ Oct 10 2006, 11:53) 20027
On... Oct 10 2006, 11:25
Pedro QUOTE(Goofy @ Oct 10 2006, 12:25) 20028
@... Oct 10 2006, 12:58
Pedro Well Jean Bernard, the screnshoots are updated
... Oct 10 2006, 20:46
Goofy Thanks for your nice screenshots, dear Pedro
(I h... Oct 10 2006, 21:18
Goofy This week I reached my 62nd extension localized wi... Oct 22 2006, 09:02
dafi QUOTE(Goofy @ Oct 22 2006, 10:02) 20624
... Oct 22 2006, 09:14
Goofy QUOTE("dafi")may you send me more info s... Oct 23 2006, 18:34
Goofy hello Davide. I don't know what stupid mistake... Oct 29 2006, 16:09
dafi QUOTE(Goofy @ Oct 29 2006, 17:09) 20988
... Oct 29 2006, 16:32
dafi QUOTE(Goofy @ Oct 29 2006, 17:09) 20988
... Oct 29 2006, 16:45
dafi QUOTE(Goofy @ Oct 29 2006, 17:09) 20988
... Oct 29 2006, 17:12
Pedro It is quite off topic, but I havent caption in my ... Oct 29 2006, 16:16
Pedro Thanks Davide
I try and I have the same result ... Oct 29 2006, 16:45
Goofy Thanks Davide
QUOTE("Luca")It is quite... Oct 29 2006, 16:47
Pedro Thanks Jean Bernard... now the matter is clearer Oct 29 2006, 16:59
Goofy Thanks Davide, I will try tonight.
Now I am skept... Oct 29 2006, 17:30
Goofy QUOTEThanks Davide, I will try tonight.
Done: it ... Oct 29 2006, 21:02
dafi QUOTE(Goofy @ Oct 29 2006, 22:02) 21009
... Oct 30 2006, 07:04
Goofy QUOTE(dafi @ Oct 30 2006, 07:04) 21020
M... Oct 30 2006, 07:37
Goofy @Pedro for information, I am currently trying to e... Nov 11 2006, 16:39
Pedro QUOTE(Goofy @ Nov 11 2006, 16:39) 21619
@... Nov 11 2006, 23:11
Goofy [Done] Nov 12 2006, 00:37
dafi Finally I've restart to develop and I've a... Jan 21 2007, 09:32
Goofy Dear Davide it is just great !
apart from t... Jan 21 2007, 10:25
Goofy Ooops I found a disturbing issue...
I have seen t... Jan 22 2007, 00:20
dafi QUOTE(Goofy @ Jan 22 2007, 00:20) 24383
... Jan 22 2007, 07:12
Goofy well in that case I must have made something wrong... Jan 22 2007, 07:28
dafi QUOTE(Goofy @ Jan 22 2007, 07:28) 24391
... Jan 22 2007, 07:35
Goofy Great Keep rollin' dear Davide! Jan 22 2007, 07:57
dafi I hope this fixes the problem.
Please apologize m... Jan 22 2007, 20:33
Goofy Thanks dear Davide
I tested again with the same t... Jan 22 2007, 22:24
Goofy hey I have been testing version 0.0.6 (the wester... Sep 10 2008, 16:37
dafi QUOTE (Goofy @ Sep 10 2008, 17:37) hey I... Sep 10 2008, 16:39![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 04:12 |