Welcome Guest ( Log In | Register )


Recommended Addon
sponsored link
Sponsored link

 
Reply to this topicStart new topic
> Attachment Sizes - Ver. 0.0.5, Updated: 13/05/08 12:32
ausdilecce
post Aug 10 2005, 05:07
Post #1


Member
**

Group: Members
Posts: 10
Joined: 6-August 05
From: Australia
Member No.: 74
Extension Developer: Yes
Translator for [No translator]



Creator: Frank DiLecce (Ausdilecce)
Ext. Version: 0.0.5

Extension is compatible to:
( 0.8 - 1.0+)
Included locales: en-US
Description: Ability to see attachment sizes on messages and composes.

View on WTS -- Download the extension
Go to the top of the page
 
+Quote Post
Pedro
post Aug 11 2005, 00:58
Post #2


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



I attach here the italian locale, but I have some suggest...

In italian attachment is --->Allegat(o) and attachments is--->Allegat(i)

Obviously it's not possible to make the plural only by adding a letter! sad.gif Can you add a variable for singular too? tongue.gif

In some language, like french for example, KiB is Ko (in italian is KB) is possible to localize this too? smile.gif

I swear that I do not have other requests!user posted image

(Removed old zip file)


--------------------
Are you sure that I am a translator? Have you seen my english? IPB Image
IPB Image IPB Image IPB Image
Goofy's corrections © inside. The dog with the glasses has come back.
Go to the top of the page
 
+Quote Post
Ptit Lutin
post Aug 11 2005, 01:23
Post #3


Tech Admin
Group Icon

Group: Admin
Posts: 901
Joined: 30-July 05
Member No.: 21


Extension Developer: No
Translator for French (fr)



Hi Frank smile.gif

Some more strings to localize:
in attbytes.js
KiB (Kilo Bytes) : in France, for example, we say Ko (Kilo octets)

in attbytesC.js
KiB
Attachment

About "plural"
en-US: Attachment, plural : Attachments
fr-FR: Fichier joint, plural : Fichiers joints

Thus that code doesn't work in French:
CODE
var tttext = bucket.childNodes.length + " Attachment" + s + ", " + ttl.toFixed(2) + " KiB " + totalWord;


Instead of this code:
CODE

var s = "";
var totalWord = "";
try {
s = document.getElementById("attbytesBundle").getString('plural')
} catch(e) {}
try {
totalWord = document.getElementById("attbytesBundle").getString('totalword')
} catch(e) {}
if (bucket.childNodes.length == 1) s = "";
var tttext = bucket.childNodes.length + " Attachment" + s + ", " + ttl.toFixed(2) + " KiB " + totalWord;

I propose:
CODE
var atts = "";
var totalWord = "";
var kiloB = "";
try {
if (bucket.childNodes.length > 1)
 atts = document.getElementById("attbytesBundle").getString('plural');
else
 atts = document.getElementById("attbytesBundle").getString('singular');
} catch(e) {}
try {
totalWord = document.getElementById("attbytesBundle").getString('totalword');
} catch(e) {}
try {
kiloB = document.getElementById("attbytesBundle").getString('kilobytes');
} catch(e) {}
var tttext = bucket.childNodes.length + atts + ", " + totalWord + ": " + ttl.toFixed(2) + kiloB;


in attbytes.properties (en-US)
kilobytes=KiB
singular=Attachment
plural=Attachments

in attbytes.properties (fr-FR)
kilobytes=Ko
singular=Fichier joint
plural=Fichiers joints

Do you agree ?

I see Pedro posted before me tongue.gif
Go to the top of the page
 
+Quote Post
Pedro
post Aug 11 2005, 01:31
Post #4


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("Ptit Lutin")
I see Pedro posted before me tongue.gif


We have the same requests laugh.gif ....but you have been much more accurate than me!user posted image


--------------------
Are you sure that I am a translator? Have you seen my english? IPB Image
IPB Image IPB Image IPB Image
Goofy's corrections © inside. The dog with the glasses has come back.
Go to the top of the page
 
+Quote Post
ausdilecce
post Aug 13 2005, 05:56
Post #5


Member
**

Group: Members
Posts: 10
Joined: 6-August 05
From: Australia
Member No.: 74
Extension Developer: Yes
Translator for [No translator]



Regarding KiB vs kB ( Ko )

http://www.dewassoc.com/kbase/hard_drives/...measurement.htm

What to do ?

I will fix up the plurality thing.. Apologies.. I should have known better..
Go to the top of the page
 
+Quote Post
Ptit Lutin
post Aug 13 2005, 09:41
Post #6


Tech Admin
Group Icon

Group: Admin
Posts: 901
Joined: 30-July 05
Member No.: 21


Extension Developer: No
Translator for French (fr)



QUOTE(ausdilecce @ Aug 13 2005, 06:56)
Regarding KiB vs kB ( Ko )

http://www.dewassoc.com/kbase/hard_drives/...measurement.htm

What to do ?
[right][snapback]960[/snapback][/right]

http://en.wikipedia.org/wiki/Kilobyte
http://en.wikipedia.org/wiki/Binary_prefix

Ki seems to be the right prefix... but many programs use k instead of Ki. That's a hard question huh.gif
Go to the top of the page
 
+Quote Post
batuhancetin
post Dec 15 2005, 01:26
Post #7


Moderator for Turkish language forum
***

Group: BabelZillian Mods
Posts: 61
Joined: 28-October 05
From: Turkey
Member No.: 221


Extension Developer: Yes
Translator for Turkish (tr)



I see that it had been a long time and I do not know if you still support this extension, but if you do, Turkish (tr-TR) locale added to WTS wink.gif


--------------------
Go to the top of the page
 
+Quote Post
Viper
post Jan 28 2006, 03:35
Post #8


Member
**

Group: Members
Posts: 10
Joined: 10-January 06
Member No.: 493
Extension Developer: No



ru-RU locale now available in WTS.


--------------------
---/)/)---(\.../)---(\(\
--(':'=)---(=';'=)---(=':')
(")(")..)-(").--.(")-(..(")(")
Go to the top of the page
 
+Quote Post
fheub
post Jul 25 2006, 11:59
Post #9


Newbie
*

Group: Members
Posts: 2
Joined: 12-July 06
Member No.: 1.870
Extension Developer: No



Added de-DE.

This is my first translation - please tell me, if I got it right. Thank you!
Go to the top of the page
 
+Quote Post
StiffeL
post Jan 13 2007, 12:00
Post #10


Member
**

Group: Members
Posts: 28
Joined: 13-February 06
From: Skåne, Sweden
Member No.: 693
Extension Developer: No
Translator for Swedish (sv-SE)



Swedish translation completed on the WTS!


--------------------
StiffeL
Go to the top of the page
 
+Quote Post
Risse
post Apr 19 2007, 22:48
Post #11


Advanced Member
***

Group: Members
Posts: 52
Joined: 6-January 07
From: Oulu, Finland
Member No.: 3.518
Extension Developer: No
Translator for Finnish (is obsolete, use fi instead)



Finnish Translation 100% completed!
Go to the top of the page
 
+Quote Post
Risse
post Apr 19 2007, 22:50
Post #12


Advanced Member
***

Group: Members
Posts: 52
Joined: 6-January 07
From: Oulu, Finland
Member No.: 3.518
Extension Developer: No
Translator for Finnish (is obsolete, use fi instead)



Finnish Translation 100% completed!
Go to the top of the page
 
+Quote Post
brainbulb
post Aug 2 2007, 23:09
Post #13


Newbie
*

Group: Members
Posts: 6
Joined: 1-August 07
From: Estonia
Member No.: 5.519
Extension Developer: No
Translator for Estonian (et-EE/Estonia)



I completed et-EE (Estonian) translation.


--------------------
Go to the top of the page
 
+Quote Post

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: 18th May 2013 - 20:40
Bridged By IpbWiki: Integration Of Invision Power Board and MediaWiki © GlobalSoft