Template:OBX pot

From OLPC
Revision as of 16:51, 13 September 2007 by Xavi (talk | contribs) (switching to named parameters for each lang-xx)
Jump to navigation Jump to search
POT NONE


Usage

Used to declare the POT & PO files of the software/activity. Parameters are:

{{OBX pot
 | root   = <-- OPTIONAL - the 'root' directory where l10n resources are located -->
 | pot    = <-- link to the POT file -->
 | am     = <-- link to the PO file in [am] - አማርኛ -->
 | ar     = <-- link to the PO file in [ar] - العربية -->
 | en     = <-- link to the PO file in [en] - English -->
 | es     = <-- link to the PO file in [es] - español -->
 | fr     = <-- link to the PO file in [fr] - français -->
 | ha     = <-- link to the PO file in [ha] - Hausa -->
 | ig     = <-- link to the PO file in [ig] - Igbo -->
 | ne     = <-- link to the PO file in [ne] - नेपाली -->
 | pt     = <-- link to the PO file in [pt] - português -->
 | ro     = <-- link to the PO file in [ro] - română -->
 | ru     = <-- link to the PO file in [ru] - русский -->
 | rw     = <-- link to the PO file in [rw] - Ikinyarwanda -->
 | th     = <-- link to the PO file in [th] - ไทย -->
 | ur     = <-- link to the PO file in [ur] - اردو -->
 | yo     = <-- link to the PO file in [yo] - Yorùbá -->
 | others = <-- OPTIONAL - if no parameter for the specific ISO 639 code is available, add as wiki-links -->
 }}

NOTE: We are not using country specific codes (yet? ever?). If need arises, we can add specific parameters (ie: pt_BR but special considerations regarding categorizations should be done (ie: if pt_BR is defined, should pt be tagged as missing? or viceversa).

Categories

Sample

POT fedoraproject.org - write.master.pot
- ar- es- fr- el / pt_BR


{{OBX pot 
 | pot=[http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot write.master.pot]
 | ar=http://translate.fedoraproject.org/POT/olpc-write.master/write.master.ar.po
 | es=http://translate.fedoraproject.org/POT/olpc-write.master/write.master.es.po
 | fr=http://translate.fedoraproject.org/POT/olpc-write.master/write.master.fr.po
 | others=[http://translate.fedoraproject.org/POT/olpc-write.master/write.master.el.po el] / [http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pt_BR.po pt_BR]
 | root=[http://translate.fedoraproject.org/module/olpc-write fedoraproject.org] }}

POT Kuku/Localization - kuku.pot
- - kuku.po ar- - kuku.po en- - kuku.po es- pt_BR / sw


{{OBX pot 
 | pot=[[Kuku/Localization#kuku.pot|kuku.pot]]
 | ar=http://wiki.laptop.org/go/Kuku/Localization#ar - kuku.po
 | en=http://wiki.laptop.org/go/Kuku/Localization#en - kuku.po
 | es=http://wiki.laptop.org/go/Kuku/Localization#es - kuku.po
 | others=[[Kuku/Localization#pt_BR - kuku.po|pt_BR]] / [[Kuku/Localization#sw - kuku.po|sw]]
 | root=[[Kuku/Localization]] }}