Welcome Guest ( Log In | Register )


2 Pages V   1 2 >  
Reply to this topicStart new topic
> Aardvark - Ver. 2.8, Updated: 05/04/08 02:10
robbrown
post Apr 4 2008, 17:58
Post #1


Newbie
*

Group: Members
Posts: 6
Joined: 7-December 07
Member No.: 6.738
Extension Developer: Yes
Extensions: Aardvark
Translator for [No translator]



Creator: Rob Brown
Ext. Version: 2.8

Extension is compatible to:
Firefox: 2.0 - 3.0pre
Included locales: en-US
Description: Utility for cleaning up a page prior to printing, and for analyzing a page.

 View on WTS -- Download the extension

This post has been edited by robbrown: Apr 5 2008, 01:10
Go to the top of the page
 
+Quote Post
Goofy
post Apr 4 2008, 19:03
Post #2


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.420
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



welcomeani.gif

@ translators

Two observations about the properties file
1. Keep in mind that in the present state of the extension, the very first letter of each command will be automatically set as "command key", so you must be careful to have different first letters for your translated command words. This is how it is diplayed in the extension help.
EDIT biggrin.gif With the last updated version, you have to determine which letter will be the command key for the aardvark function (this is process similar to accesskey setting).

Use the & (ampersand) special char


Howto:

You just stick an & (ampersand) before the character you want for the key
example, if you choose to write
CODE
narro&wer

letter W will be capitalized in the help window and become the command letter fro the narrower function.

If you don't insert any ampersand, then by default, the very first letter of the word will be capitalized and command key.

Just like for accesskeys, you must not use twice the same letter in the commands list smile.gif

Attached File  aadrvark_layout.png ( 3.99K ) Number of downloads: 16


2. Once you have tested and released your translation, you have the opportunity to fill this aardwarkStrings.js file with the same translation as in your locale .properties file. Be careful when inserting strings not to spoil the javascript and embedded html, also stick to UTF-8...
Then you can attach it here on a post to be grabbed by the developer who will insert it in the Aardvark bookmarlet and make it international cool.gif

the Aardvark extension page

the Aardvark bookmarklet page

the Aardvark localized bookmarklet GoofyTest page

the Aardvark discussion thread on BabelZilla


--------------------
Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post
Fux
post Apr 8 2008, 02:57
Post #3


Rescue & Intervention Super
Group Icon

Group: Admin
Posts: 178
Joined: 6-August 05
From: Germany
Member No.: 77


Extension Developer: No
Translator for German (de)
Translation Credits to Fux - BabelZilla.org



Hi Rob,

is it possible to use capital letters at the beginning of each line in the help box? It would look much better in german translation.

If I use a capital letters now, the keystrokes are not working.


Second, there is one string in aardvarkDBox.js (line 105) a.innerHTML = "select all";

Is it possible we can translate this?


--------------------
Regards, Fux


Fux is a member of Team erweiterungen.de

Chat: irc://irc.mozilla.org/babelzilla
Go to the top of the page
 
+Quote Post
markh
post Apr 8 2008, 09:34
Post #4


BZ Jungle Guide
Group Icon

Group: Admin
Posts: 3.991
Joined: 24-April 06
From: the culinary and touristically unchallenged parts of the Netherlands
Member No.: 1.264


Extension Developer: No
Translator for Dutch (nl)
My OS Windows
Translation Credits to markh van BabelZilla.org



Dutch locale added, tested and released cool.gif


--------------------
While the bankers all get their bonuses I’ll just get along with what I’ve got

Go to the top of the page
 
+Quote Post
saster
post Apr 9 2008, 17:01
Post #5


[hu-HU] Moderator
***

Group: BabelZillian Mods
Posts: 156
Joined: 28-July 06
From: Budapest, Hungary
Member No.: 2.018


Extension Developer: Yes
Extensions: mid - mozilla internet dictionary

Translator for Hungarian (hu)
My OS Gnu/Linux



Hi Rob,

Hungarian locale is tested and released. I attach aardvarkStrings.js, in UTF-8, too.

Attila
Attached File(s)
Attached File  aardvarkStrings_hu_HU.zip ( 979bytes ) Number of downloads: 3
 
Go to the top of the page
 
+Quote Post
Goofy
post Apr 10 2008, 21:33
Post #6


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.420
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 (saster @ Apr 9 2008, 18:01) *
Hi Rob,

Hungarian locale is tested and released. I attach aardvarkStrings.js, in UTF-8, too.

Attila


smile.gif Thanks Attila, I have uploaded your new file on my bookmarklet test page , please have a look at and see if everything is displaying as it should for your special Hungarian chars (remember to browse with UTF-8 encoding)


--------------------
Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post
saster
post Apr 15 2008, 12:12
Post #7


[hu-HU] Moderator
***

Group: BabelZillian Mods
Posts: 156
Joined: 28-July 06
From: Budapest, Hungary
Member No.: 2.018


Extension Developer: Yes
Extensions: mid - mozilla internet dictionary

Translator for Hungarian (hu)
My OS Gnu/Linux



QUOTE (Goofy @ Apr 10 2008, 22:33) *
smile.gif Thanks Attila, I have uploaded your new file on my bookmarklet test page , please have a look at and see if everything is displaying as it should for your special Hungarian chars (remember to browse with UTF-8 encoding)


Well, if the HTML page itself is in utf-8, it is all right. Otherwise not. I'm going to send you another version with escaped characters (\uxxx), and maybe that'll work fine no matter what is the charset of the HTML.
(The extension is always correct.)
Go to the top of the page
 
+Quote Post
saster
post Apr 16 2008, 08:03
Post #8


[hu-HU] Moderator
***

Group: BabelZillian Mods
Posts: 156
Joined: 28-July 06
From: Budapest, Hungary
Member No.: 2.018


Extension Developer: Yes
Extensions: mid - mozilla internet dictionary

Translator for Hungarian (hu)
My OS Gnu/Linux



QUOTE (saster @ Apr 15 2008, 13:12) *
Well, if the HTML page itself is in utf-8, it is all right. Otherwise not. I'm going to send you another version with escaped characters (\uxxx), and maybe that'll work fine no matter what is the charset of the HTML.
(The extension is always correct.)



Here is the escaped version smile.gif , could you please upload it to your bookmarklet test server.
Thanks a lot in advance.
offtopic P.S.
Do you guys know some tool or a site with a service for escaping strings within a javascript? It is a tedious work to do it by hand. wacko.gif There is an extension for HTML encoding (Unicode Input Tool/Converter), but I couldn't get it to convert to javascript escape form.

Attila



Attached File(s)
Attached File  aardvarkStringsu.zip ( 993bytes ) Number of downloads: 2
 
Go to the top of the page
 
+Quote Post
Goofy
post Apr 16 2008, 09:39
Post #9


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.420
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



smile.gif Thanks Attila!

Of course it is better to avoid boring manual conversion! laugh.gif
Have a look at this little howto
http://www.babelzilla.org/forum/index.php?showtopic=4100 wink.gif


--------------------
Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post
Goofy
post Apr 16 2008, 09:46
Post #10


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.420
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



@ Attila

Your last version is uploaded. Tell me if any prob now. smile.gif


--------------------
Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post
saster
post Apr 16 2008, 09:56
Post #11


[hu-HU] Moderator
***

Group: BabelZillian Mods
Posts: 156
Joined: 28-July 06
From: Budapest, Hungary
Member No.: 2.018


Extension Developer: Yes
Extensions: mid - mozilla internet dictionary

Translator for Hungarian (hu)
My OS Gnu/Linux



QUOTE (Goofy @ Apr 16 2008, 10:46) *
@ Attila

Your last version is uploaded. Tell me if any prob now. smile.gif


Goooooool! Golllllllllllll! It's perfect! smile.gif Thank you for the link, I'm going to check it out .
Attila
Go to the top of the page
 
+Quote Post
Cye3s
post Apr 18 2008, 12:44
Post #12


Member
**

Group: Members
Posts: 18
Joined: 22-October 07
Member No.: 6.252


Extension Developer: No
Translator for Chinese (zh-CN / Simplified)
My OS Windows



Well,I add "&special char"to the end of line,command key works fine now.
But the close button is missing and the help box hight is too small...
Like this:
Help please.gif
Attached File(s)
Attached File  1.png ( 6.28K ) Number of downloads: 15
 
Go to the top of the page
 
+Quote Post
saster
post May 7 2008, 14:07
Post #13


[hu-HU] Moderator
***

Group: BabelZillian Mods
Posts: 156
Joined: 28-July 06
From: Budapest, Hungary
Member No.: 2.018


Extension Developer: Yes
Extensions: mid - mozilla internet dictionary

Translator for Hungarian (hu)
My OS Gnu/Linux



JB,
could you please :

s/paste/beilleszt/

in the hu_HU bookmarklet? ( I missed to translate 'paste' to 'beilleszt' where b is all right to be a keystroke )
thanks smile.gif
Attila
Go to the top of the page
 
+Quote Post
Goofy
post May 7 2008, 14:32
Post #14


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.420
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 (saster @ May 7 2008, 15:07) *
JB,
could you please :

s/paste/beilleszt/

in the hu_HU bookmarklet? ( I missed to translate 'paste' to 'beilleszt' where b is all right to be a keystroke )
thanks smile.gif
Attila


- Done smile.gif Tell me if it is correct now.


--------------------
Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post
saster
post May 7 2008, 15:11
Post #15


[hu-HU] Moderator
***

Group: BabelZillian Mods
Posts: 156
Joined: 28-July 06
From: Budapest, Hungary
Member No.: 2.018


Extension Developer: Yes
Extensions: mid - mozilla internet dictionary

Translator for Hungarian (hu)
My OS Gnu/Linux



QUOTE (Goofy @ May 7 2008, 14:32) *
- Done smile.gif Tell me if it is correct now.


it is still 'paste' for me not 'beilleszt'.... maybe it comes from some cache? But I don't think so....
Go to the top of the page
 
+Quote Post
Goofy
post May 7 2008, 15:22
Post #16


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.420
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



blink.gif works for me with hu-HU or hu useragent
Attached File(s)
Attached File  aardvark_hu.png ( 42.7K ) Number of downloads: 9
 


--------------------
Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post
saster
post May 7 2008, 15:38
Post #17


[hu-HU] Moderator
***

Group: BabelZillian Mods
Posts: 156
Joined: 28-July 06
From: Budapest, Hungary
Member No.: 2.018


Extension Developer: Yes
Extensions: mid - mozilla internet dictionary

Translator for Hungarian (hu)
My OS Gnu/Linux



QUOTE (Goofy @ May 7 2008, 15:22) *
blink.gif works for me with hu-HU or hu useragent

The picture is all right! but :
downloading http://goofy37.perso.cegetel.net/aardvark/...dvarkStrings.js this is what I see:

aardvark.strings = {

initialTipText : "\u00DCsse le az <span style='padding: 3px 7px; border: 1px solid black; font-family: courier; font-weight: bold; -moz-border-radius: 5px; background-color: #fff'>s</span> bet\u0171t ha seg\u00EDts\u00E9get szeretne kapni.",
viewHtmlSource : "HTML forr\u00E1sk\u00F3d megtekint\u00E9se",
javascriptDomCode : "Javascript DOM k\u00F3d megtekint\u00E9se",
aardvarkKeystrokes : "Aardvark billenty\u0171k",
karmaticsPlug : "<center><span style='font-size: .9em'>©2005-2008 <a href='http://karmatics.com/' target='_new'>karmatics</a><br><span style='font-size: .9em'>( <a href='http://karmatics.com/aardvark/' target='_new'>aardvark docs</a> )</span></center>",
ripHelp : "<center>Ha telep\u00EDti a kit\u0171n\u0151 <a href='http://addons.mozilla.org/firefox/521/' target='_new'>R.I.P.</a>,<br> (Remove It Permanently) kiterjeszt\u00E9st, akkor a 't' parancs<br>v\u00E9gleg elt\u00E1vol\u00EDtja az elemet a weboldalr\u00F3l.</center>",

// commands (precede shortcut letter with & if not first letter)
wider : "sz&\u00E9les\u00EDt",
narrower : "sz&\u0171k\u00EDt",
undo : "vissza&l\u00E9p",
quit : "v\u00E9ge",
remove : "kiv\u00E1g",
kill : "kiv\u00E1g \u00E9s &tilt (<a href='http://addons.mozilla.org/firefox/521/' target='_new'>r.i.p.</a>)",
isolate : "elszigetel",
blackOnWhite : "feh\u00E9ren fekete",
deWidthify : "sz\u00E9les\u00EDt\u00E9s viss&zavon\u00E1sa",
colorize : "sz&\u00EDnez\u00E9s",
viewSource : "forr\u00E1s &megtekint\u00E9se",
javascript : "javascript (<a href='http://karmatics.com/aardvark/javascript-dhtml-tools.html' style='color: #a00' target='_new'>Doksi</a>)",
paste : "",
help : "seg\u00EDts\u00E9g ki- \u00E9s bekapcsol\u00E1sa"
};

where paste is "" !!

I don't quite understand this at the moment. sad.gif
Attila
Go to the top of the page
 
+Quote Post
saster
post May 7 2008, 15:40
Post #18


[hu-HU] Moderator
***

Group: BabelZillian Mods
Posts: 156
Joined: 28-July 06
From: Budapest, Hungary
Member No.: 2.018


Extension Developer: Yes
Extensions: mid - mozilla internet dictionary

Translator for Hungarian (hu)
My OS Gnu/Linux



QUOTE (saster @ May 7 2008, 15:38) *
I don't quite understand this at the moment. sad.gif
Attila


It is correct now! Thank you very much JB smile.gif
(was it a cache issue or did you do something?)
Go to the top of the page
 
+Quote Post
Goofy
post May 7 2008, 15:58
Post #19


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.420
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 (saster @ May 7 2008, 16:40) *
It is correct now! Thank you very much JB smile.gif
(was it a cache issue or did you do something?)


smile.gif sure it was cache related. I modified the file, reuploaded only once at 15:15 then made the screenshot, that is all.


--------------------
Think Global, Make Locales!


Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post
Wacław Jacek
post May 9 2008, 13:20
Post #20


Advanced Member
***

Group: Members
Posts: 114
Joined: 30-October 07
From: Poland
Member No.: 6.340
Extension Developer: No
Translator for Polish (pl)
Translation Credits to Wacław Jacek



The extension is great, however the hotkey system is kind of a problem - I mean, it's great that it automatically generates the keys, but if you use two words that begin with the same letter it doesn't show any other but the first one in the help window.
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd July 2014 - 20:58
Bridged By IpbWiki: Integration Of Invision Power Board and MediaWiki © GlobalSoft