Template:OBX pot: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (font size)
(still reworking for usability)
Line 1: Line 1:
{{OBX boilerplate html | icon=POT | textstyle = "font-size:9pt; background:#ABB3AC; padding:4pt; line-height:1.25em;" | text = {{#if:{{{root|}}}|{{{root}}} -|}} '''{{{pot|NONE}}}'''<br><span class="plainlinks" style="font-family:fixed"><!--
{{OBX boilerplate html | icon=POT | text = {{#if:{{{root|}}}|{{{root}}} -|}} '''{{#if:{{{pot|}}}|[{{{pot}}} {{{name|POT}}}|NONE}}'''<br><span class="plainlinks"><tt><!--
-->{{#if:{{{am|}}}| - [{{{am}}} am]}}<!--
-->{{#if:{{{am|}}}| {{!}} [{{{po-root|}}}{{{am}}} am]}}<!--
-->{{#if:{{{ar|}}}| - [{{{ar}}} ar]}}<!--
-->{{#if:{{{ar|}}}| {{!}} [{{{po-root|}}}{{{ar}}} ar]}}<!--
-->{{#if:{{{en|}}}| - [{{{en}}} en]}}<!--
-->{{#if:{{{en|}}}| {{!}} [{{{po-root|}}}{{{en}}} en]}}<!--
-->{{#if:{{{es|}}}| - [{{{es}}} es]}}<!--
-->{{#if:{{{es|}}}| {{!}} [{{{po-root|}}}{{{es}}} es]}}<!--
-->{{#if:{{{fr|}}}| - [{{{fr}}} fr]}}<!--
-->{{#if:{{{fr|}}}| {{!}} [{{{po-root|}}}{{{fr}}} fr]}}<!--
-->{{#if:{{{ha|}}}| - [{{{ha}}} ha]}}<!--
-->{{#if:{{{ha|}}}| {{!}} [{{{po-root|}}}{{{ha}}} ha]}}<!--
-->{{#if:{{{ig|}}}| - [{{{ig}}} ig]}}<!--
-->{{#if:{{{ig|}}}| {{!}} [{{{po-root|}}}{{{ig}}} ig]}}<!--
-->{{#if:{{{ne|}}}| - [{{{ne}}} ne]}}<!--
-->{{#if:{{{ne|}}}| {{!}} [{{{po-root|}}}{{{ne}}} ne]}}<!--
-->{{#if:{{{pt|}}}| - [{{{pt}}} pt]}}<!--
-->{{#if:{{{pt|}}}| {{!}} [{{{po-root|}}}{{{pt}}} pt]}}<!--
-->{{#if:{{{ro|}}}| - [{{{ro}}} ro]}}<!--
-->{{#if:{{{ro|}}}| {{!}} [{{{po-root|}}}{{{ro}}} ro]}}<!--
-->{{#if:{{{ru|}}}| - [{{{ru}}} ru]}}<!--
-->{{#if:{{{ru|}}}| {{!}} [{{{po-root|}}}{{{ru}}} ru]}}<!--
-->{{#if:{{{rw|}}}| - [{{{rw}}} rw]}}<!--
-->{{#if:{{{rw|}}}| {{!}} [{{{po-root|}}}{{{rw}}} rw]}}<!--
-->{{#if:{{{th|}}}| - [{{{th}}} th]}}<!--
-->{{#if:{{{th|}}}| {{!}} [{{{po-root|}}}{{{th}}} th]}}<!--
-->{{#if:{{{ur|}}}| - [{{{ur}}} ur]}}<!--
-->{{#if:{{{ur|}}}| {{!}} [{{{po-root|}}}{{{ur}}} ur]}}<!--
-->{{#if:{{{yo|}}}| - [{{{yo}}} yo]}}<!--
-->{{#if:{{{yo|}}}| {{!}} [{{{po-root|}}}{{{yo}}} yo]}}<!--
-->{{#if:{{{others|}}}| - {{{others}}}}}</span>}}<!--
-->{{#if:{{{others|}}}| <br>'''Others''' {{{others}}}}}</tt></span>}}<!--


CATEGORIZATIONS PRESENT
CATEGORIZATIONS PRESENT
Line 62: Line 62:


<nowiki>{{</nowiki>{{PAGENAME}}
<nowiki>{{</nowiki>{{PAGENAME}}
| ''root'' = &lt;-- OPTIONAL - the 'root' directory where l10n resources are located --&gt;
| ''root'' = &lt;-- OPTIONAL - full-wiki link to the 'root' directory where l10n resources are located --&gt;
| '''pot''' = &lt;-- link to the '''POT''' file --&gt;
| '''pot''' = &lt;-- http to the '''POT''' file in <tt>http://foo.bar</tt> format --&gt;
| am = &lt;-- link to the PO file in [am] - {{#language:am}} --&gt;
| ''name'' = &lt;-- OPTIONAL - Name to show for the POT file &mdash; defaults to '''POT''' --&gt;
| ar = &lt;-- link to the PO file in [ar] - {{#language:ar}} --&gt;
| am = &lt;-- http (or relative path from ''po-root'') to the PO file in [am] - {{#language:am}} --&gt;
| en = &lt;-- link to the PO file in [en] - {{#language:en}} --&gt;
| ar = &lt;-- http (or relative path from ''po-root'') to the PO file in [ar] - {{#language:ar}} --&gt;
| es = &lt;-- link to the PO file in [es] - {{#language:es}} --&gt;
| en = &lt;-- http (or relative path from ''po-root'') to the PO file in [en] - {{#language:en}} --&gt;
| fr = &lt;-- link to the PO file in [fr] - {{#language:fr}} --&gt;
| es = &lt;-- http (or relative path from ''po-root'') to the PO file in [es] - {{#language:es}} --&gt;
| ha = &lt;-- link to the PO file in [ha] - {{#language:ha}} --&gt;
| fr = &lt;-- http (or relative path from ''po-root'') to the PO file in [fr] - {{#language:fr}} --&gt;
| ig = &lt;-- link to the PO file in [ig] - {{#language:ig}} --&gt;
| ha = &lt;-- http (or relative path from ''po-root'') to the PO file in [ha] - {{#language:ha}} --&gt;
| ne = &lt;-- link to the PO file in [ne] - {{#language:ne}} --&gt;
| ig = &lt;-- http (or relative path from ''po-root'') to the PO file in [ig] - {{#language:ig}} --&gt;
| pt = &lt;-- link to the PO file in [pt] - {{#language:pt}} --&gt;
| ne = &lt;-- http (or relative path from ''po-root'') to the PO file in [ne] - {{#language:ne}} --&gt;
| ro = &lt;-- link to the PO file in [ro] - {{#language:ro}} --&gt;
| pt = &lt;-- http (or relative path from ''po-root'') to the PO file in [pt] - {{#language:pt}} --&gt;
| ru = &lt;-- link to the PO file in [ru] - {{#language:ru}} --&gt;
| ro = &lt;-- http (or relative path from ''po-root'') to the PO file in [ro] - {{#language:ro}} --&gt;
| rw = &lt;-- link to the PO file in [rw] - {{#language:rw}} --&gt;
| ru = &lt;-- http (or relative path from ''po-root'') to the PO file in [ru] - {{#language:ru}} --&gt;
| th = &lt;-- link to the PO file in [th] - {{#language:th}} --&gt;
| rw = &lt;-- http (or relative path from ''po-root'') to the PO file in [rw] - {{#language:rw}} --&gt;
| ur = &lt;-- link to the PO file in [ur] - {{#language:ur}} --&gt;
| th = &lt;-- http (or relative path from ''po-root'') to the PO file in [th] - {{#language:th}} --&gt;
| yo = &lt;-- link to the PO file in [yo] - {{#language:yo}} --&gt;
| ur = &lt;-- http (or relative path from ''po-root'') to the PO file in [ur] - {{#language:ur}} --&gt;
| yo = &lt;-- http (or relative path from ''po-root'') to the PO file in [yo] - {{#language:yo}} --&gt;
| ''po-root''= &lt;-- 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''' --&gt;
| ''others'' = &lt;-- OPTIONAL - if no parameter for the specific [[ISO 639]] code is available, add as wiki-links --&gt;
| ''others'' = &lt;-- OPTIONAL - if no parameter for the specific [[ISO 639]] code is available, add as wiki-links --&gt;
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>
Line 93: Line 96:


{{{{PAGENAME}}
{{{{PAGENAME}}
| pot=[http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot write.master.pot]
| root = [http://translate.fedoraproject.org/module/olpc-write fedoraproject.org]
| ar=http://translate.fedoraproject.org/POT/olpc-write.master/write.master.ar.po
| pot = http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
| name = write.master.pot
| 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
| po-root= http://translate.fedoraproject.org/POT/olpc-write.master/
| ar = write.master.ar.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]
| es = write.master.es.po
| root=[http://translate.fedoraproject.org/module/olpc-write fedoraproject.org] }}
| 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] }}
{{-}}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
| pot=[http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot write.master.pot]
| root = [http://translate.fedoraproject.org/module/olpc-write fedoraproject.org]
| ar=http://translate.fedoraproject.org/POT/olpc-write.master/write.master.ar.po
| pot = http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
| name = write.master.pot
| 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
| po-root= http://translate.fedoraproject.org/POT/olpc-write.master/
| ar = write.master.ar.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]
| es = write.master.es.po
| root=[http://translate.fedoraproject.org/module/olpc-write fedoraproject.org] }}
| fr = write.master.fr.po
</nowiki>
| 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] }}</nowiki>


{{{{PAGENAME}}
{{{{PAGENAME}}
| pot=[[Kuku/Localization#kuku.pot|kuku.pot]]
| pot = [[Kuku/Localization#kuku.pot|kuku.pot]]
| ar=http://wiki.laptop.org/go/Kuku/Localization#ar - kuku.po
| ar = http://wiki.laptop.org/go/Kuku/Localization#ar - kuku.po
| en=http://wiki.laptop.org/go/Kuku/Localization#en - kuku.po
| en = http://wiki.laptop.org/go/Kuku/Localization#en - kuku.po
| es=http://wiki.laptop.org/go/Kuku/Localization#es - 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]]
| others = [[Kuku/Localization#pt_BR - kuku.po|pt_BR]] - [[Kuku/Localization#sw - kuku.po|sw]]
| root=[[Kuku/Localization]] }}
| root = [[Kuku/Localization]] }}
{{-}}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
| pot=[[Kuku/Localization#kuku.pot|kuku.pot]]
| pot = [[Kuku/Localization#kuku.pot|kuku.pot]]
| ar=http://wiki.laptop.org/go/Kuku/Localization#ar - kuku.po
| ar = http://wiki.laptop.org/go/Kuku/Localization#ar - kuku.po
| en=http://wiki.laptop.org/go/Kuku/Localization#en - kuku.po
| en = http://wiki.laptop.org/go/Kuku/Localization#en - kuku.po
| es=http://wiki.laptop.org/go/Kuku/Localization#es - 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]]
| others = [[Kuku/Localization#pt_BR - kuku.po|pt_BR]] - [[Kuku/Localization#sw - kuku.po|sw]]
| root=[[Kuku/Localization]] }} </nowiki>
| root = [[Kuku/Localization]] }}</nowiki>




[[Category:OBX templates|Pot]]
[[Category:OBX templates|Pot]]
[[Category:Templates using ParserFunctions|Pot]]
[[Category:Templates using ParserFunctions]]
</noinclude>
</noinclude>

Revision as of 20:36, 13 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
| [http://translate.fedoraproject.org/POT/olpc-write.master/write.master.ar.po 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 - [[[Kuku/Localization#kuku.pot|kuku.pot]] POT
| - kuku.po ar| - kuku.po en| - kuku.po es
Others 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]] }}