Template:OBX pootle: Difference between revisions
Jump to navigation
Jump to search
m (update now that Pootle happens on http://translate.sugarlabs.org) |
(remove the "green languages" crap from 2007) |
||
Line 1: | Line 1: | ||
{{OBX boilerplate html | icon=[[Image:Translate-icon-55px.svg|40px]] | text = [https://dev.laptop.org/translate/projects/{{{2}}} |
{{OBX boilerplate html | icon=[[Image:Translate-icon-55px.svg|40px]] | text = [https://dev.laptop.org/translate/projects/{{{2|}}} Pootle] {{#if:{{{1|}}}<!-- |
||
HAS POT -->|— '''[{{{1}}} {{{3|POT}}}]'''<!-- |
|||
HAS POT -->|—'''[{{{1}}} {{{3|POT}}}]'''{{#if:{{{2|}}}|<hr><span class="plainlinks"><tt>[https://dev.laptop.org/translate/am/{{{2}}}/ am], [https://dev.laptop.org/translate/ar/{{{2}}}/ ar], [https://dev.laptop.org/translate/en/{{{2}}}/ en], [https://dev.laptop.org/translate/es/{{{2}}}/ es], [https://dev.laptop.org/translate/fr/{{{2}}}/ fr], [https://dev.laptop.org/translate/ha/{{{2}}}/ ha], [https://dev.laptop.org/translate/hi/{{{2}}}/ hi], [https://dev.laptop.org/translate/ig/{{{2}}}/ ig], [https://dev.laptop.org/translate/ne/{{{2}}}/ ne], [https://dev.laptop.org/translate/pt/{{{2}}}/ pt], [https://dev.laptop.org/translate/pt_BR/{{{2}}}/ pt_BR], [https://dev.laptop.org/translate/ro/{{{2}}}/ ro], [https://dev.laptop.org/translate/ru/{{{2}}}/ ru], [https://dev.laptop.org/translate/rw/{{{2}}}/ rw], [https://dev.laptop.org/translate/th/{{{2}}}/ th], [https://dev.laptop.org/translate/ur/{{{2}}}/ ur] & [https://dev.laptop.org/translate/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 == |
||
Declares 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: |
Declares that a particular activity or content [[localization]] is going to be done through the [[Pootle]] [[translating]] server which as of early 2009 is http://translate.sugarlabs.org. 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}} |
||
| <-- http to the '''POT''' file in <tt>http://foo.bar</tt> format --> |
| <-- http to the '''POT''' file in <tt>http://foo.bar</tt> format --> |
||
| <-- { fructose| honey | ''other'' } |
| <-- { fructose| honey | ''other'' } — project are on http://translate.sugarlabs.org --> |
||
| <-- OPTIONAL - Name to show for the POT file — defaults to '''POT''' --> |
| <-- OPTIONAL - Name to show for the POT file — defaults to '''POT''' --> |
||
<nowiki>}}</nowiki> |
<nowiki>}}</nowiki> |
||
'''NOTE:''' There can not be any whitespace between the parameters! |
'''NOTE:''' There can not be any whitespace between the parameters! |
||
If you supply a project name as the second parameter, the template generates a set of links within that project, one for each language. The set of language links is a hardcoded list of [[ISO 639-1|language codes]] corresponding to the current ''(not sure WTF the date of "current" is here)'' list of targeted languages of the "green" countries: |
|||
: {{Status green language codes}} |
|||
'''See also:''' {{tl|OBX pot}} for specifying [[Localization]] resources for activities outside the scope of [[Pootle]]. |
'''See also:''' {{tl|OBX pot}} for specifying [[Localization]] resources for activities outside the scope of [[Pootle]]. |
||
Line 39: | Line 36: | ||
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki> |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}}|http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot| |
{{{{PAGENAME}}|http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot|my_record}} |
||
{{-}} |
{{-}} |
||
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot| |
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot|my_record}}</nowiki> |
||
{{{{PAGENAME}}|http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot| |
{{{{PAGENAME}}|http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot|my_write|write.master.pot }} |
||
{{-}} |
{{-}} |
||
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot| |
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot|my_write|write.master.pot }}</nowiki> |
||
Revision as of 04:42, 24 May 2009
Pootle Localization .POT file NEEDED |
Usage
Declares that a particular activity or content localization is going to be done through the Pootle translating server which as of early 2009 is http://translate.sugarlabs.org. 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 --> | <-- { fructose| honey | other } — project are on http://translate.sugarlabs.org --> | <-- OPTIONAL - Name to show for the POT file — defaults to POT --> }}
NOTE: There can not be any whitespace between the parameters!
See also: {{OBX pot}} for specifying Localization resources for activities outside the scope of Pootle.
Categories
- need to determine if a category is needed (and which) in order to specify the presence (Category:POT) & absence (Category:POT wanted) of the POT.
- Category:Pootle — to note what is & should be handled by Pootle
- No specific categorization by language as that will be handled externally by Pootle
- Pages will be categorized in Category:POs available with no sub-division by language.
Sample
{{OBX pootle |http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}}
{{OBX pootle |http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot|my_record}}
{{OBX pootle |http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot|my_write|write.master.pot }}