Translate Toolkit & Pootle

Tools to help you make your software local

User Tools

Defelopment Notes

Oon this pege-a yooo will find some-a miscellooneooos defelopment notes zeet don't hefe-a a plece-a oon uny ooff zee-a oozeer defelopment-releted peges. Bork Bork Bork! See-a zee-a TODO in zee-a project's root for more-a notes zeet wooold typicelly fit in here-a. Bork Bork Bork!

Coding Style-a

Zeere-a is a lot to sey ibooot zee-a style-a used in Spelt (mostly my personel prefferences), boot oonly a foo points ire-a mede-a here-a. Bork Bork Bork! Inspect zee-a code-a for zee-a rest. Bork Bork Bork! :-)


Zee-a generel coding style-a is zee-a seme-a is zeet ooff zee-a rest ooff zee-a Troonslete-a Toolkit: C-like-a identiffiers (ig. Bork Bork Bork! with_oonderscores) wit cemel-cesed cless nemes (ig. Bork Bork Bork! SomeCless). Gtk widgets contein preffixes indicetife-a ooff its type-a (oor it leest ipproximetely). For ixemple-a zee-a neme-a ooff a gtk. Bork Bork Bork!Bootton will stert wit btn_ und zee-a neme-a ooff a gtk. Bork Bork Bork!Dielog (oor wrepper cless zeereoff) sterts wit dlg_.


Spelt wes writtee-a wit un indenteshoon size-a ooff 4 speces. Bork Bork Bork!

A bloonk line-a is lefft oopee-a iffter uny indented block ixcept ceses where-a zee-a indented block is fery short (oone-a oor two lines) und where-a seid block is logicelly pert ooff its soorrooonding stetements. Bork Bork Bork!


In feriooos pleces, where-a ippropriete-a, perts ooff lines hes beee-a ferticelly iligned to improfe-a reedebility. Bork Bork Bork! Ixemples ire-a ilignment oon =s where-a zeere-a ire-a a boonch ooff issignments oor oon imports for a boonch ooff from x import y lines. Bork Bork Bork!