Template:OBX pot: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (tweak)
m (typo)
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 style="plainlinks">{{{2}}}</span>}}<noinclude>{{-}}
{{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>{{-}}


== Usage ==
== Usage ==

Revision as of 17:12, 11 September 2007

POT {{{3}}} - {{{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]] }}