Template:OBX pot

From OLPC
Revision as of 17:00, 11 September 2007 by Xavi (talk | contribs) (trying for a OBX for POT & l10n)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
POT {{{3}}} - {{{1}}}
{{{2}}}


Usage

Used to declare the POT of the software. Has three unnamed parameters: Used to tag a software component as having its source code lincensed under CreativeCommons. The exact shape and version of the license is determined by the 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 {{{3}}} - 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]] }}