Template:OBX pootle: Difference between revisions
Jump to navigation
Jump to search
m (tweaking) |
m (typo in URL) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{OBX boilerplate html | icon=[[Image:Translate-icon-55px.svg|40px]] | text = [http:// |
{{OBX boilerplate html | icon=[[Image:Translate-icon-55px.svg|40px]] | text = [http://translate.sugarlabs.org/projects/{{{2|}}} Pootle] {{#if:{{{1|}}}<!-- |
||
HAS POT -->|— '''[{{{1}}} {{{3|POT}}}]'''[[Localization_URL::{{{1}}}| ]]<!-- |
|||
HAS POT -->|—'''[{{{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 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 6: | Line 6: | ||
--><includeonly><!-- |
--><includeonly><!-- |
||
-->{{#if:{{{ |
--> [[Category:Pootle]] {{#if:{{{1|}}}|<!-- HAS POT -->[[Category:POT|{{PAGENAME}}]]|<!-- |
||
HAS NO POT -->[[Category:POT wanted|{{PAGENAME}}]]}}</includeonly><noinclude>{{-}} |
|||
== Usage == |
== 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: |
|||
<nowiki>{{</nowiki>{{PAGENAME}} |
<nowiki>{{</nowiki>{{PAGENAME}} |
||
| <-- URL of the '''POT''' file in <tt>http://foo.bar</tt> format --> |
|||
| '''project''' = <-- [[Pootle]] project name that handles it — currently '''{ xocore | xobundled }''' --> |
|||
| |
| <-- { fructose| honey | ''other'' } — project name within http://translate.sugarlabs.org/projects --> |
||
| |
| <-- 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! |
|||
The explicit [[ISO 639-1|language codes]] correspond to the current 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]]. |
|||
== Categories == |
== Categories == |
||
* [[:Category:Pootle]] |
|||
* |
* [[:Category:POT]] if the first parameter (the URL of the POT file ) is provided, otherwise [[:Category:POT wanted]]. |
||
* The [[Semantic MediaWiki|semantic]] [[Property:Localization URL]] is set as well. |
|||
* [[: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 == |
== Sample == |
||
{{{{PAGENAME}} | |
{{{{PAGENAME}} |http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}} |
||
{{-}} |
{{-}} |
||
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki> | |
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki> |http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}}</nowiki> |
||
⚫ | |||
{{{{PAGENAME}} |
|||
| project = xocore |
|||
⚫ | |||
{{-}} |
{{-}} |
||
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki> |
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot|my_record}}</nowiki> |
||
| project = xocore |
|||
| pot = http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot}}</nowiki> |
|||
⚫ | |||
{{{{PAGENAME}} |
|||
⚫ | |||
| name = write.master.pot }} |
|||
{{-}} |
{{-}} |
||
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki> |
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot|my_write|write.master.pot }}</nowiki> |
||
| pot = http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot |
|||
| name = write.master.pot }}</nowiki> |
|||
Latest revision as of 07:52, 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 | <-- URL of the POT file in http://foo.bar format --> | <-- { fructose| honey | other } — project name within http://translate.sugarlabs.org/projects --> | <-- 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
- Category:Pootle
- Category:POT if the first parameter (the URL of the POT file ) is provided, otherwise Category:POT wanted.
- The semantic Property:Localization URL is set as well.
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 }}