Template:OBX pootle: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (tweaking)
m (switching to unnamed parameters)
Line 1: Line 1:
{{OBX boilerplate html | icon=[[Image:Translate-icon-55px.svg|40px]] | text = [http://solar.laptop.org:5080/projects/{{{project}}} OLPC-Pootle] {{#if:{{{pot|}}}<!--
{{OBX boilerplate html | icon=[[Image:Translate-icon-55px.svg|40px]] | text = [http://solar.laptop.org:5080/projects/{{{2}}} OLPC-Pootle] {{#if:{{{1|}}}<!--
HAS POT -->|&mdash;'''[{{{pot}}} {{{name|POT}}}]'''{{#if:{{{project|}}}|<hr><span class="plainlinks"><tt>[http://solar.laptop.org:5080/am/{{{project}}}/ am], [http://solar.laptop.org:5080/ar/{{{project}}}/ ar], [http://solar.laptop.org:5080/en/{{{project}}}/ en], [http://solar.laptop.org:5080/es/{{{project}}}/ es], [http://solar.laptop.org:5080/fr/{{{project}}}/ fr], [http://solar.laptop.org:5080/ha/{{{project}}}/ ha], [http://solar.laptop.org:5080/hi/{{{project}}}/ hi], [http://solar.laptop.org:5080/ig/{{{project}}}/ ig], [http://solar.laptop.org:5080/ne/{{{project}}}/ ne], [http://solar.laptop.org:5080/pt/{{{project}}}/ pt], [http://solar.laptop.org:5080/pt_BR/{{{project}}}/ pt_BR], [http://solar.laptop.org:5080/ro/{{{project}}}/ ro], [http://solar.laptop.org:5080/ru/{{{project}}}/ ru], [http://solar.laptop.org:5080/rw/{{{project}}}/ rw], [http://solar.laptop.org:5080/th/{{{project}}}/ th], [http://solar.laptop.org:5080/ur/{{{project}}}/ ur] & [http://solar.laptop.org:5080/yo/{{{project}}}/ yo].</tt></span>}}<!--
HAS POT -->|&mdash;'''[{{{1}}} {{{3|POT}}}]'''{{#if:{{{2|}}}|<hr><span class="plainlinks"><tt>[http://solar.laptop.org:5080/am/{{{2}}}/ am], [http://solar.laptop.org:5080/ar/{{{2}}}/ ar], [http://solar.laptop.org:5080/en/{{{2}}}/ en], [http://solar.laptop.org:5080/es/{{{2}}}/ es], [http://solar.laptop.org:5080/fr/{{{2}}}/ fr], [http://solar.laptop.org:5080/ha/{{{2}}}/ ha], [http://solar.laptop.org:5080/hi/{{{2}}}/ hi], [http://solar.laptop.org:5080/ig/{{{2}}}/ ig], [http://solar.laptop.org:5080/ne/{{{2}}}/ ne], [http://solar.laptop.org:5080/pt/{{{2}}}/ pt], [http://solar.laptop.org:5080/pt_BR/{{{2}}}/ pt_BR], [http://solar.laptop.org:5080/ro/{{{2}}}/ ro], [http://solar.laptop.org:5080/ru/{{{2}}}/ ru], [http://solar.laptop.org:5080/rw/{{{2}}}/ rw], [http://solar.laptop.org:5080/th/{{{2}}}/ th], [http://solar.laptop.org:5080/ur/{{{2}}}/ ur] & [http://solar.laptop.org:5080/yo/{{{2}}}/ yo].</tt></span>}}<!--
HAS NOT POT -->|'''<span style="color:red">[[Localization]]<br>.POT file NEEDED</span>'''}} }}<!--
HAS NOT POT -->|'''<span style="color:red">[[Localization]]<br>.POT file NEEDED</span>'''}} }}<!--


Line 11: Line 11:
== Usage ==
== Usage ==


Used to declare that a particular activity or content [[localization]] is going to be done through the [[Pootle]] [[translating]] server. If there are more than one POT file, a separate box should be used for each one of them. Parameters are:
Used to declare that a particular activity or content [[localization]] is going to be done through the [[Pootle]] [[translating]] server. If there are more than one POT file, a separate box should be used for each one of them. '''Unnamed parameters''' are:


<nowiki>{{</nowiki>{{PAGENAME}}
<nowiki>{{</nowiki>{{PAGENAME}}
| &lt;-- http to the '''POT''' file in <tt>http://foo.bar</tt> format (preferably in [http://dev.laptop.org dev.laptop.org]) --&gt;
| '''project''' = &lt;-- [[Pootle]] project name that handles it &mdash; currently '''{ xocore | xobundled }''' --&gt;
| &lt;-- '''{ xocore | xobundled }''' &mdash; [[Pootle]] project name that includes it --&gt;
| '''pot''' = &lt;-- http to the '''POT''' file in <tt>http://foo.bar</tt> format (preferably in [http://dev.laptop.org dev.laptop.org]) --&gt;
| ''name'' = &lt;-- OPTIONAL - Name to show for the POT file &mdash; defaults to '''POT''' --&gt;
| &lt;-- OPTIONAL - Name to show for the POT file &mdash; defaults to '''POT''' --&gt;
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>


Line 33: Line 33:
== Sample ==
== Sample ==


{{{{PAGENAME}} | pot = http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}}
{{{{PAGENAME}} | http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}}
{{-}}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki> | pot = http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}}</nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki> | http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}}</nowiki>


{{{{PAGENAME}}
{{{{PAGENAME}}
| project = xocore
| xocore
| pot = http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot}}
| http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot}}
{{-}}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
| project = xocore
| xocore
| pot = http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot}}</nowiki>
| http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot}}</nowiki>


{{{{PAGENAME}}
{{{{PAGENAME}}
| pot = http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
| http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
| xocore
| name = write.master.pot }}
| write.master.pot }}
{{-}}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
| pot = http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
| http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
| xocore
| name = write.master.pot }}</nowiki>
| write.master.pot }}</nowiki>





Revision as of 13:59, 24 October 2007

Translate-icon-55px.svg OLPC-Pootle Localization
.POT file NEEDED


Usage

Used to declare that a particular activity or content localization is going to be done through the Pootle translating server. If there are more than one POT file, a separate box should be used for each one of them. Unnamed parameters are:

{{OBX pootle
 | <-- http to the POT file in http://foo.bar format (preferably in dev.laptop.org) -->
 | <-- { xocore | xobundled }Pootle project name that includes it  -->
 | <-- OPTIONAL - Name to show for the POT file — defaults to POT -->
 }}

The explicit language codes correspond to the current list of targeted languages of the green countries:

am, ar, en, es, fr, ha, hi, ig, ne, pt, ro, ru, rw, th, ur, & yo
See also: {{OBX pot}} for specifying Localization resources for activities outside the scope of Pootle.

Categories

Sample

Translate-icon-55px.svg OLPC-Pootle[ http://wiki.laptop.org/go/Kuku/Localization#kuku.pot POT]


{{OBX pootle  | http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}}
Translate-icon-55px.svg http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot OLPC-Pootle[ xocore POT]
http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ am, http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ ar, http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ en, http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ es, http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ fr, http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ ha, http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ hi, http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ ig, http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ ne, http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ pt, http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ pt_BR, http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ ro, http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ ru, http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ rw, http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ th, http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ ur & http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot/ yo.


{{OBX pootle  
 | xocore
 | http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot}}
Translate-icon-55px.svg [http://solar.laptop.org:5080/projects/ xocore
 OLPC-Pootle] —[ http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
write.master.pot ]
[http://solar.laptop.org:5080/am/ xocore
/ am], [http://solar.laptop.org:5080/ar/ xocore
/ ar], [http://solar.laptop.org:5080/en/ xocore
/ en], [http://solar.laptop.org:5080/es/ xocore
/ es], [http://solar.laptop.org:5080/fr/ xocore
/ fr], [http://solar.laptop.org:5080/ha/ xocore
/ ha], [http://solar.laptop.org:5080/hi/ xocore
/ hi], [http://solar.laptop.org:5080/ig/ xocore
/ ig], [http://solar.laptop.org:5080/ne/ xocore
/ ne], [http://solar.laptop.org:5080/pt/ xocore
/ pt], [http://solar.laptop.org:5080/pt_BR/ xocore
/ pt_BR], [http://solar.laptop.org:5080/ro/ xocore
/ ro], [http://solar.laptop.org:5080/ru/ xocore
/ ru], [http://solar.laptop.org:5080/rw/ xocore
/ rw], [http://solar.laptop.org:5080/th/ xocore
/ th], [http://solar.laptop.org:5080/ur/ xocore
/ ur] & [http://solar.laptop.org:5080/yo/ xocore
/ yo].


{{OBX pootle 
 | http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
 | xocore
 | write.master.pot }}