Template:OBX pot: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (typo)
(tweaking for option POT repository)
Line 1: Line 1:
{{OBX boilerplate html | icon=POT | textstyle = "font-size:8pt; background:#ABB3AC; padding:4pt; line-height:1.25em;" | text = {{{3}}} - {{{1}}}<br><span class="plainlinks">{{{2}}}</span>}}<noinclude>{{-}}
{{OBX boilerplate html | icon=POT | textstyle = "font-size:8pt; background:#ABB3AC; padding:4pt; line-height:1.25em;" | text = {{#if:{{{3|}}}|{{{3}}} -|}} '''{{{1}}}'''<br><span class="plainlinks">{{{2}}}</span>}}<noinclude>{{-}}


== Usage ==
== Usage ==
Line 40: Line 40:


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

Revision as of 05:31, 12 September 2007

POT {{{1}}}
{{{2}}}


Usage

Used to declare the POT of the software. Has three unnamed parameters:

{{OBX pot|linkToPOT|linkOrSeriesOfPOs|linkToRepository}}

  linkToPOT          — the wiki-link to the location of the master POT (ie: potFile or pot-in-wiki)
  linkOrSeriesOfPOs  — wiki-text containing the links to each of the translated POs
  linkToRepository   — OPTIONAL

Categories

  • need to determine if a category is needed (and which)
  • [[:Category:???]]

Sample

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


{{OBX pot 
   |   [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 Kuku/Localization - kuku.pot
ar | en | es | pt_BR | sw |


{{OBX pot 
   |   [[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]] }}