Template:OBX pot: Difference between revisions

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


== Usage ==
== Usage ==


Used to declare the POT of the software. Has three unnamed parameters:
Used to declare the POT of the software. Has three unnamed parameters:
Used to tag a [[:Category:Software|software component]] as having its [[:Category:XO source|source code]] lincensed under [http://creativecommons.org CreativeCommons]. The exact shape and version of the license is determined by the parameters.
<nowiki>{{</nowiki>{{PAGENAME}}|linkToPOT|linkOrSeriesOfPOs|''linkToRepository''<nowiki>}}</nowiki>
<nowiki>{{</nowiki>{{PAGENAME}}|linkToPOT|linkOrSeriesOfPOs|''linkToRepository''<nowiki>}}</nowiki>
Line 18: Line 17:


{{{{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] }}
{{{{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] }}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
| [http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot write.master.pot]
| [http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot write.master.pot]
Line 28: Line 28:


{{{{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]] }}
{{{{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]] }}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
| [[Kuku/Localization#kuku.pot|kuku.pot]]
| [[Kuku/Localization#kuku.pot|kuku.pot]]

Revision as of 17:10, 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]] }}