Template:OBX pot: Difference between revisions
Jump to navigation
Jump to search
(tweaking for option POT repository) |
(switching to named parameters for each lang-xx) |
||
Line 1: | Line 1: | ||
{{OBX boilerplate html | icon=POT | textstyle = "font-size:8pt; background:#ABB3AC; padding:4pt; line-height:1.25em;" | text = {{#if:{{{ |
{{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"><!-- |
||
-->{{#if:{{{am|}}}| - [{{{am}}} am]}}<!-- |
|||
-->{{#if:{{{ar|}}}| - [{{{ar}}} ar]}}<!-- |
|||
-->{{#if:{{{en|}}}| - [{{{en}}} en]}}<!-- |
|||
-->{{#if:{{{es|}}}| - [{{{es}}} es]}}<!-- |
|||
-->{{#if:{{{fr|}}}| - [{{{fr}}} fr]}}<!-- |
|||
-->{{#if:{{{ha|}}}| - [{{{ha}}} ha]}}<!-- |
|||
-->{{#if:{{{ig|}}}| - [{{{ig}}} ig]}}<!-- |
|||
-->{{#if:{{{ne|}}}| - [{{{ne}}} ne]}}<!-- |
|||
-->{{#if:{{{pt|}}}| - [{{{pt}}} pt]}}<!-- |
|||
-->{{#if:{{{ro|}}}| - [{{{ro}}} ro]}}<!-- |
|||
-->{{#if:{{{ru|}}}| - [{{{ru}}} ru]}}<!-- |
|||
-->{{#if:{{{rw|}}}| - [{{{rw}}} rw]}}<!-- |
|||
-->{{#if:{{{th|}}}| - [{{{th}}} th]}}<!-- |
|||
-->{{#if:{{{ur|}}}| - [{{{ur}}} ur]}}<!-- |
|||
-->{{#if:{{{yo|}}}| - [{{{yo}}} yo]}}<!-- |
|||
-->{{#if:{{{others|}}}| - {{{others}}}}}</span>}}<!-- |
|||
CATEGORIZATIONS PRESENT |
|||
--><includeonly><!-- |
|||
-->{{#if:{{{pot|}}}|[[Category:POT|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{am|}}}|[[Category:PO lang-am|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{ar|}}}|[[Category:PO lang-ar|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{en|}}}|[[Category:PO lang-en|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{es|}}}|[[Category:PO lang-es|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{fr|}}}|[[Category:PO lang-fr|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{ha|}}}|[[Category:PO lang-ha|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{ig|}}}|[[Category:PO lang-ig|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{ne|}}}|[[Category:PO lang-ne|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{pt|}}}|[[Category:PO lang-pt|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{ro|}}}|[[Category:PO lang-ro|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{ru|}}}|[[Category:PO lang-ru|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{rw|}}}|[[Category:PO lang-rw|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{th|}}}|[[Category:PO lang-th|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{ur|}}}|[[Category:PO lang-ur|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{yo|}}}|[[Category:PO lang-yo|{{PAGENAME}}]]}}<!-- |
|||
-->{{#if:{{{others|}}}|[[Category:PO lang-others|{{PAGENAME}}]]}}<!-- |
|||
CATEGORIZATIONS ABSENT |
|||
-->{{#if:{{{pot|}}}||[[Category:POT wanted|{{PAGENAME}}]]}}<!-- |
|||
-->{{#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 == |
||
Used to declare the POT of the software. |
Used to declare the POT & PO files of the software/activity. Parameters are: |
||
<nowiki>{{</nowiki>{{PAGENAME}}|linkToPOT|linkOrSeriesOfPOs|''linkToRepository''<nowiki>}}</nowiki> |
|||
<nowiki>{{</nowiki>{{PAGENAME}} |
|||
| ''root'' = <-- OPTIONAL - the 'root' directory where l10n resources are located --> |
|||
linkToPOT — the wiki-link to the location of the master POT (ie: [http://foo.com/potFile potFile] or [[pot-in-wiki]]) |
|||
| '''pot''' = <-- link to the '''POT''' file --> |
|||
linkOrSeriesOfPOs — wiki-text containing the links to each of the translated POs |
|||
| am = <-- link to the PO file in [am] - {{#language:am}} --> |
|||
''linkToRepository'' — OPTIONAL |
|||
| ar = <-- link to the PO file in [ar] - {{#language:ar}} --> |
|||
| en = <-- link to the PO file in [en] - {{#language:en}} --> |
|||
| es = <-- link to the PO file in [es] - {{#language:es}} --> |
|||
| fr = <-- link to the PO file in [fr] - {{#language:fr}} --> |
|||
| ha = <-- link to the PO file in [ha] - {{#language:ha}} --> |
|||
| ig = <-- link to the PO file in [ig] - {{#language:ig}} --> |
|||
| ne = <-- link to the PO file in [ne] - {{#language:ne}} --> |
|||
| pt = <-- link to the PO file in [pt] - {{#language:pt}} --> |
|||
| ro = <-- link to the PO file in [ro] - {{#language:ro}} --> |
|||
| ru = <-- link to the PO file in [ru] - {{#language:ru}} --> |
|||
| rw = <-- link to the PO file in [rw] - {{#language:rw}} --> |
|||
| th = <-- link to the PO file in [th] - {{#language:th}} --> |
|||
| ur = <-- link to the PO file in [ur] - {{#language:ur}} --> |
|||
| yo = <-- link to the PO file in [yo] - {{#language:yo}} --> |
|||
| ''others'' = <-- OPTIONAL - if no parameter for the specific [[ISO 639]] code is available, add as wiki-links --> |
|||
<nowiki>}}</nowiki> |
|||
'''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 == |
== Categories == |
||
* {{Pending|need to determine if a category is needed (and which)}} |
* {{Pending|need to determine if a category is needed (and which)}} |
||
* Pages will be categorized in either a sub-category of [[:Category:POs available]] or [[:Category:POs wanted]] (both sub-divided by language). |
|||
* <nowiki>[[:Category:???]]</nowiki> |
|||
* If '''others''' parameter is declared, the including pages will also be in [[:Category:PO lang-others]] |
|||
== Sample == |
== Sample == |
||
{{{{PAGENAME}} |
|||
{{{{PAGENAME}} | [http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot write.master.pot] | [http://translate.fedoraproject.org/POT/olpc-write.master/write.master.ar.po ar] {{!}} [http://translate.fedoraproject.org/POT/olpc-write.master/write.master.el.po el] {{!}} [http://translate.fedoraproject.org/POT/olpc-write.master/write.master.es.po es] {{!}} [http://translate.fedoraproject.org/POT/olpc-write.master/write.master.fr.po fr] {{!}} [http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pt_BR.po pt_BR] | [http://translate.fedoraproject.org/module/olpc-write fedoraproject.org] }} |
|||
| 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] }} |
|||
{{-}} |
{{-}} |
||
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki> |
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki> |
||
| 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] }} |
|||
</nowiki> |
|||
| [http://translate.fedoraproject.org/module/olpc-write fedoraproject.org] }}</nowiki> |
|||
{{{{PAGENAME}} |
|||
{{{{PAGENAME}} | [[Kuku/Localization#kuku.pot|kuku.pot]] | [[Kuku/Localization#ar - kuku.po|ar]] {{!}} [[Kuku/Localization#en - kuku.po|en]] {{!}} [[Kuku/Localization#es - kuku.po|es]] {{!}} [[Kuku/Localization#pt_BR - kuku.po|pt_BR]] {{!}} [[Kuku/Localization#sw - kuku.po|sw]] {{!}} | [[Kuku/Localization]] }} |
|||
| 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]] }} |
|||
{{-}} |
{{-}} |
||
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki> |
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki> |
||
| 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]] }} </nowiki> |
|||
| [[Kuku/Localization]] }}</nowiki> |
|||
Revision as of 16:51, 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
- need to determine if a category is needed (and which)
- Pages will be categorized in either a sub-category of Category:POs available or Category:POs wanted (both sub-divided by language).
- If others parameter is declared, the including pages will also be in Category:PO lang-others
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]] }}
Categories:
- Pending
- POT
- PO lang-ar
- PO lang-es
- PO lang-fr
- PO lang-others
- PO wanted lang-am
- PO wanted lang-en
- PO wanted lang-ha
- PO wanted lang-ig
- PO wanted lang-ne
- PO wanted lang-pt
- PO wanted lang-ro
- PO wanted lang-ru
- PO wanted lang-rw
- PO wanted lang-th
- PO wanted lang-ur
- PO wanted lang-yo
- PO lang-en
- PO wanted lang-fr
- OBX templates
- Templates using ParserFunctions