Jump to content


Important Announcement!

Please read this post about our new Privacy Policy


Photo

Attachment Sizes - Ver. 0.0.5


  • Please log in to reply
12 replies to this topic

#1 ausdilecce

ausdilecce

    Member

  • Members
  • 10 posts
  • Location:Australia
  • Translator for [No translator]
  • Extension Developer: Yes

Posted 10 August 2005 - 05:07 AM

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

#2 Pedro

Pedro

    eXtenZilla IT Member

  • Members
  • 711 posts
  • Gender:Male
  • Location:Ferrara - Italia


  • Extension Developer: No
  • Translation Credits to Luca Pedrazzi - www.extenzilla.org

Posted 11 August 2005 - 12:58 AM

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.

#3 Ptit Lutin

Ptit Lutin

    Tech Admin

  • Admin
  • 901 posts


  • Translator for French (fr)
  • Extension Developer: No

Posted 11 August 2005 - 01:23 AM

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

#4 Pedro

Pedro

    eXtenZilla IT Member

  • Members
  • 711 posts
  • Gender:Male
  • Location:Ferrara - Italia


  • Extension Developer: No
  • Translation Credits to Luca Pedrazzi - www.extenzilla.org

Posted 11 August 2005 - 01:31 AM

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.

#5 ausdilecce

ausdilecce

    Member

  • Members
  • 10 posts
  • Location:Australia
  • Translator for [No translator]
  • Extension Developer: Yes

Posted 13 August 2005 - 05:56 AM

Regarding KiB vs kB ( Ko )

http://www.dewassoc....measurement.htm

What to do ?

I will fix up the plurality thing.. Apologies.. I should have known better..

#6 Ptit Lutin

Ptit Lutin

    Tech Admin

  • Admin
  • 901 posts


  • Translator for French (fr)
  • Extension Developer: No

Posted 13 August 2005 - 09:41 AM

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

http://www.dewassoc....measurement.htm

What to do ?

View Post


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

Ki seems to be the right prefix... but many programs use k instead of Ki. That's a hard question huh.gif


#7 batuhancetin

batuhancetin

    Moderator for Turkish language forum

  • BabelZillian Mods
  • 61 posts
  • Gender:Male
  • Location:Turkey


  • Translator for Turkish (tr)
  • Extension Developer: Yes

Posted 15 December 2005 - 01:26 AM

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

#8 Viper

Viper

    Member

  • Members
  • 10 posts
  • Extension Developer: No

Posted 28 January 2006 - 03:35 AM

ru-RU locale now available in WTS.
---/)/)---(\.../)---(\(\
--(':'=)---(=';'=)---(=':')
(")(")..)-(").--.(")-(..(")(")

#9 fheub

fheub

    Newbie

  • Members
  • 2 posts
  • Extension Developer: No

Posted 25 July 2006 - 11:59 AM

Added de-DE.

This is my first translation - please tell me, if I got it right. Thank you!

#10 StiffeL

StiffeL

    Member

  • Members
  • 28 posts
  • Gender:Male
  • Location:Skåne, Sweden
  • Translator for Swedish (sv-SE)
  • Extension Developer: No

Posted 13 January 2007 - 12:00 PM

Swedish translation completed on the WTS!
StiffeL

#11 Risse

Risse

    Advanced Member

  • Members
  • 52 posts
  • Gender:Male
  • Location:Oulu, Finland
  • Translator for Finnish (is obsolete, use fi instead)
  • Extension Developer: No

Posted 19 April 2007 - 10:48 PM

Finnish Translation 100% completed!

#12 Risse

Risse

    Advanced Member

  • Members
  • 52 posts
  • Gender:Male
  • Location:Oulu, Finland
  • Translator for Finnish (is obsolete, use fi instead)
  • Extension Developer: No

Posted 19 April 2007 - 10:50 PM

Finnish Translation 100% completed!

#13 brainbulb

brainbulb

    Newbie

  • Members
  • 6 posts
  • Gender:Male
  • Location:Estonia
  • Translator for Estonian (et-EE/Estonia)
  • Extension Developer: No

Posted 02 August 2007 - 11:09 PM

I completed et-EE (Estonian) translation.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users