Template:OBX pootle: Difference between revisions
Jump to navigation
Jump to search
(always Category:Pootle remove reference to non-existent Category:POs available) |
(add setting Property:Localization URL as well) |
||
Line 1: | Line 1: | ||
{{OBX boilerplate html | icon=[[Image:Translate-icon-55px.svg|40px]] | text = [http://translate.sugarlabs/projects/{{{2|}}} Pootle] {{#if:{{{1|}}}<!-- |
{{OBX boilerplate html | icon=[[Image:Translate-icon-55px.svg|40px]] | text = [http://translate.sugarlabs/projects/{{{2|}}} Pootle] {{#if:{{{1|}}}<!-- |
||
HAS POT -->|— '''[{{{1}}} {{{3|POT}}}]'''<!-- |
HAS POT -->|— '''[{{{1}}} {{{3|POT}}}]'''[[Localization_URL::{{{1}}}]]<!-- |
||
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 14: | Line 14: | ||
<nowiki>{{</nowiki>{{PAGENAME}} |
<nowiki>{{</nowiki>{{PAGENAME}} |
||
| <-- |
| <-- URL of the '''POT''' file in <tt>http://foo.bar</tt> format --> |
||
| <-- { fructose| honey | ''other'' } — project name within http://translate.sugarlabs.org/projects --> |
| <-- { fructose| honey | ''other'' } — project name within http://translate.sugarlabs.org/projects --> |
||
| <-- OPTIONAL - Name to show for the POT file — defaults to '''POT''' --> |
| <-- OPTIONAL - Name to show for the POT file — defaults to '''POT''' --> |
||
Line 24: | Line 24: | ||
== 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]] |
|||
== Sample == |
== Sample == |
Revision as of 05:06, 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}}
Pootle — POTLocalization_URL::http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot |
{{OBX pootle |http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot|my_record}}
Pootle — write.master.pot Localization_URL::http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot |
{{OBX pootle |http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot|my_write|write.master.pot }}