Template:OBX pot: Difference between revisions

From OLPC
Jump to navigation Jump to search
(switching to named parameters for each lang-xx)
m (using fixed font)
Line 1: Line 1:
{{OBX boilerplate html | icon=POT | textstyle = "font-size:8pt; background:#ABB3AC; padding:4pt; line-height:1.25em;" | text = {{#if:{{{root|}}}|{{{root}}} -|}} '''{{{pot|NONE}}}'''<br><span class="plainlinks"><!--
{{OBX boilerplate html | icon=POT | textstyle = "font-size:8pt; background:#ABB3AC; padding:4pt; line-height:1.25em;" | text = {{#if:{{{root|}}}|{{{root}}} -|}} '''{{{pot|NONE}}}'''<br><span class="plainlinks" style="font-family:fixed"><!--
-->{{#if:{{{am|}}}| - [{{{am}}} am]}}<!--
-->{{#if:{{{am|}}}| - [{{{am}}} am]}}<!--
-->{{#if:{{{ar|}}}| - [{{{ar}}} ar]}}<!--
-->{{#if:{{{ar|}}}| - [{{{ar}}} ar]}}<!--

Revision as of 17:52, 13 September 2007

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]] }}