Template:OBX pot: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (cosmetics)
(avoiding wanted PO classification when there is no POT to start from)
Line 20: Line 20:


--><includeonly><!--
--><includeonly><!--
-->{{#if:{{{pot|}}}|[[Category:POT|{{PAGENAME}}]]}}<!--
-->{{#if:{{{pot|}}}|<!--
HAVE POT
-->{{#if:{{{am|}}}|[[Category:PO lang-am|{{PAGENAME}}]]}}<!--
-->{{#if:{{{ar|}}}|[[Category:PO lang-ar|{{PAGENAME}}]]}}<!--
-->[[Category:POT|{{PAGENAME}}]]<!--
-->{{#if:{{{en|}}}|[[Category:PO lang-en|{{PAGENAME}}]]}}<!--
-->{{#if:{{{am|}}}| [[Category:PO lang-am|{{PAGENAME}}]] | [[Category:PO wanted lang-am|{{PAGENAME}}]] }}<!--
-->{{#if:{{{es|}}}|[[Category:PO lang-es|{{PAGENAME}}]]}}<!--
-->{{#if:{{{ar|}}}| [[Category:PO lang-ar|{{PAGENAME}}]] | [[Category:PO wanted lang-ar|{{PAGENAME}}]] }}<!--
-->{{#if:{{{fr|}}}|[[Category:PO lang-fr|{{PAGENAME}}]]}}<!--
-->{{#if:{{{en|}}}| [[Category:PO lang-en|{{PAGENAME}}]] | [[Category:PO wanted lang-en|{{PAGENAME}}]] }}<!--
-->{{#if:{{{ha|}}}|[[Category:PO lang-ha|{{PAGENAME}}]]}}<!--
-->{{#if:{{{es|}}}| [[Category:PO lang-es|{{PAGENAME}}]] | [[Category:PO wanted lang-es|{{PAGENAME}}]] }}<!--
-->{{#if:{{{ig|}}}|[[Category:PO lang-ig|{{PAGENAME}}]]}}<!--
-->{{#if:{{{fr|}}}| [[Category:PO lang-fr|{{PAGENAME}}]] | [[Category:PO wanted lang-fr|{{PAGENAME}}]] }}<!--
-->{{#if:{{{ne|}}}|[[Category:PO lang-ne|{{PAGENAME}}]]}}<!--
-->{{#if:{{{ha|}}}| [[Category:PO lang-ha|{{PAGENAME}}]] | [[Category:PO wanted lang-ha|{{PAGENAME}}]] }}<!--
-->{{#if:{{{pt|}}}|[[Category:PO lang-pt|{{PAGENAME}}]]}}<!--
-->{{#if:{{{ig|}}}| [[Category:PO lang-ig|{{PAGENAME}}]] | [[Category:PO wanted lang-ig|{{PAGENAME}}]] }}<!--
-->{{#if:{{{ro|}}}|[[Category:PO lang-ro|{{PAGENAME}}]]}}<!--
-->{{#if:{{{ne|}}}| [[Category:PO lang-ne|{{PAGENAME}}]] | [[Category:PO wanted lang-ne|{{PAGENAME}}]] }}<!--
-->{{#if:{{{ru|}}}|[[Category:PO lang-ru|{{PAGENAME}}]]}}<!--
-->{{#if:{{{pt|}}}| [[Category:PO lang-pt|{{PAGENAME}}]] | [[Category:PO wanted lang-pt|{{PAGENAME}}]] }}<!--
-->{{#if:{{{rw|}}}|[[Category:PO lang-rw|{{PAGENAME}}]]}}<!--
-->{{#if:{{{ro|}}}| [[Category:PO lang-ro|{{PAGENAME}}]] | [[Category:PO wanted lang-ro|{{PAGENAME}}]] }}<!--
-->{{#if:{{{th|}}}|[[Category:PO lang-th|{{PAGENAME}}]]}}<!--
-->{{#if:{{{ru|}}}| [[Category:PO lang-ru|{{PAGENAME}}]] | [[Category:PO wanted lang-ru|{{PAGENAME}}]] }}<!--
-->{{#if:{{{ur|}}}|[[Category:PO lang-ur|{{PAGENAME}}]]}}<!--
-->{{#if:{{{rw|}}}| [[Category:PO lang-rw|{{PAGENAME}}]] | [[Category:PO wanted lang-rw|{{PAGENAME}}]] }}<!--
-->{{#if:{{{yo|}}}|[[Category:PO lang-yo|{{PAGENAME}}]]}}<!--
-->{{#if:{{{th|}}}| [[Category:PO lang-th|{{PAGENAME}}]] | [[Category:PO wanted lang-th|{{PAGENAME}}]] }}<!--
-->{{#if:{{{others|}}}|[[Category:PO lang-others|{{PAGENAME}}]]}}<!--
-->{{#if:{{{ur|}}}| [[Category:PO lang-ur|{{PAGENAME}}]] | [[Category:PO wanted lang-ur|{{PAGENAME}}]] }}<!--
-->{{#if:{{{yo|}}}| [[Category:PO lang-yo|{{PAGENAME}}]] | [[Category:PO wanted lang-yo|{{PAGENAME}}]] }}<!--
-->{{#if:{{{others|}}}| [[Category:PO lang-others|{{PAGENAME}}]] }}<!--
HAVE NO POT
-->}}<!--


CATEGORIZATIONS ABSENT
CATEGORIZATIONS ABSENT


-->{{#if:{{{pot|}}}||[[Category:POT wanted|{{PAGENAME}}]]}}<!--
--> | [[Category:POT wanted|{{PAGENAME}}]]}}</includeonly><noinclude>{{-}}
-->{{#if:{{{am|}}}||[[Category:PO wanted lang-am|{{PAGENAME}}]]}}<!--
-->{{#if:{{{ar|}}}||[[Category:PO wanted lang-ar|{{PAGENAME}}]]}}<!--
-->{{#if:{{{en|}}}||[[Category:PO wanted lang-en|{{PAGENAME}}]]}}<!--
-->{{#if:{{{es|}}}||[[Category:PO wanted lang-es|{{PAGENAME}}]]}}<!--
-->{{#if:{{{fr|}}}||[[Category:PO wanted lang-fr|{{PAGENAME}}]]}}<!--
-->{{#if:{{{ha|}}}||[[Category:PO wanted lang-ha|{{PAGENAME}}]]}}<!--
-->{{#if:{{{ig|}}}||[[Category:PO wanted lang-ig|{{PAGENAME}}]]}}<!--
-->{{#if:{{{ne|}}}||[[Category:PO wanted lang-ne|{{PAGENAME}}]]}}<!--
-->{{#if:{{{pt|}}}||[[Category:PO wanted lang-pt|{{PAGENAME}}]]}}<!--
-->{{#if:{{{ro|}}}||[[Category:PO wanted lang-ro|{{PAGENAME}}]]}}<!--
-->{{#if:{{{ru|}}}||[[Category:PO wanted lang-ru|{{PAGENAME}}]]}}<!--
-->{{#if:{{{rw|}}}||[[Category:PO wanted lang-rw|{{PAGENAME}}]]}}<!--
-->{{#if:{{{th|}}}||[[Category:PO wanted lang-th|{{PAGENAME}}]]}}<!--
-->{{#if:{{{ur|}}}||[[Category:PO wanted lang-ur|{{PAGENAME}}]]}}<!--
-->{{#if:{{{yo|}}}||[[Category:PO wanted lang-yo|{{PAGENAME}}]]}}</includeonly><noinclude>{{-}}


== Usage ==
== Usage ==

Revision as of 00:23, 19 September 2007

POT NONE


Usage

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

{{OBX pot
 | root   = <-- OPTIONAL - full-wiki link to the 'root' directory where l10n resources are located -->
 | pot    = <-- http to the POT file in http://foo.bar format -->
 | name   = <-- OPTIONAL - Name to show for the POT file — defaults to POT -->
 | am     = <-- http (or relative path from po-root) to the PO file in [am] - አማርኛ -->
 | ar     = <-- http (or relative path from po-root) to the PO file in [ar] - العربية -->
 | en     = <-- http (or relative path from po-root) to the PO file in [en] - English -->
 | es     = <-- http (or relative path from po-root) to the PO file in [es] - español -->
 | fr     = <-- http (or relative path from po-root) to the PO file in [fr] - français -->
 | ha     = <-- http (or relative path from po-root) to the PO file in [ha] - Hausa -->
 | ig     = <-- http (or relative path from po-root) to the PO file in [ig] - Igbo -->
 | ne     = <-- http (or relative path from po-root) to the PO file in [ne] - नेपाली -->
 | pt     = <-- http (or relative path from po-root) to the PO file in [pt] - português -->
 | ro     = <-- http (or relative path from po-root) to the PO file in [ro] - română -->
 | ru     = <-- http (or relative path from po-root) to the PO file in [ru] - русский -->
 | rw     = <-- http (or relative path from po-root) to the PO file in [rw] - Ikinyarwanda -->
 | th     = <-- http (or relative path from po-root) to the PO file in [th] - ไทย -->
 | ur     = <-- http (or relative path from po-root) to the PO file in [ur] - اردو -->
 | yo     = <-- http (or relative path from po-root) to the PO file in [yo] - Yorùbá -->
 | po-root= <-- OPTIONAL - the 'root' directory where all the POs l10n resources are located
                         - if specified is prepended to all the ISO 639 codes link, not used for others -->
 | 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 
Others el / pt_BR

|}}


{{OBX pot 
 | root   = [http://translate.fedoraproject.org/module/olpc-write fedoraproject.org]
 | pot    = http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
 | name   = write.master.pot
 | po-root= http://translate.fedoraproject.org/POT/olpc-write.master/
 | ar     = write.master.ar.po
 | es     = write.master.es.po
 | fr     = 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] }}
POT Kuku/Localization - POT
| ar | en | es 
Others pt_BR - sw

|}}


{{OBX pot 
 | pot    = http://wiki.laptop.org/go/Kuku/Localization#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]] }}