MonoDevelop Addins: hello world, L10n
[CSharpForFun/.git] / MonoDevelop / addins / MonoDevelop.HelloWorld / MonoDevelop.HelloWorld / MonoDevelop.HelloWorld.addin.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3   Copyright 2015 Gustavo Martin Morcuende
4
5   Licensed under the Apache License, Version 2.0 (the "License");
6   you may not use this file except in compliance with the License.
7   You may obtain a copy of the License at
8
9   http://www.apache.org/licenses/LICENSE-2.0
10
11   Unless required by applicable law or agreed to in writing, software
12   distributed under the License is distributed on an "AS IS" BASIS,
13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   See the License for the specific language governing permissions and
15  limitations under the License.
16 -->
17 <!--
18     Using addin file instead of C# annotations (there are different ways, this seems easier).
19 -->
20 <Addin
21     id          = "MonoDevelop.HelloWorld"
22     namespace   = "MonoDevelop.HelloWorld"
23     version     = "1.0">
24
25     <!--
26         The Header field:
27         http://www.monodevelop.com/developers/articles/publishing-an-addin/
28     -->
29     <Header>
30         <Name>Hello World Addin</Name>
31         <Name locale="ca-ES">Hola Món Addin</Name>
32         <Name locale="de-DE">Hallo Welt Addin</Name>
33         <Name locale="es-ES">Hola Mundo Addin</Name>
34         <Author>Gustavo Martin Morcuende</Author>
35         <Copyright>Apache License, Version 2</Copyright>
36         <Url>http://gumartinm.name</Url>
37         <Description>Just a simple Addin for MonoDevelopment IDE</Description>
38         <Description locale="ca-ES">Un simple Addin per MonoDevelopment IDE</Description>
39         <Description locale="de-DE">Eine einfache Addin für MonoDevelopment IDE</Description>
40         <Description locale="es-ES">Un sencillo Addin para MonoDevelopment IDE</Description>
41         <Category>HelloWorld Category</Category>
42         <UpdateRank>Important</UpdateRank>
43         <ReleaseNotes>
44             {{1.0, 2015-01-11}}
45             Release notes for 1.0: My first MonoDevelop Addin.
46         </ReleaseNotes>
47     </Header>
48
49     <Runtime>
50     </Runtime>
51     <Extension path = "/MonoDevelop/Ide/Commands">
52        <Command id = "MonoDevelop.HelloWorld.Commands.ShowFiles"
53                  _label = "Show Files in Project"
54                  description = "Show Files in Project"
55                  defaultHandler = "MonoDevelop.HelloWorld.ShowFilesCommandHandler" />
56     </Extension>
57
58     <Extension path = "/MonoDevelop/Ide/MainMenu">
59         <ItemSet id = "HelloWorld" _label = "Hello World" insertafter = "Run" >
60             <CommandItem id = "MonoDevelop.HelloWorld.Commands.ShowFiles" />
61             <SeparatorItem/>
62             <CommandItem id = "MonoDevelop.HelloWorld.Commands.ShowFiles"/>
63         </ItemSet>
64     </Extension>
65
66     <!--
67         Localization of Add-ins (there are different ways):
68         https://monoaddins.codeplex.com/wikipage?title=Localization%20of%20Add-ins
69     -->
70     <Localizer type="StringTable">
71         <Locale id="ca-ES">
72             <Msg id="Hello World" str="Hola Món" />
73             <Msg id="Show Files in Project" str="Mostrar arxius en el projecte" />
74         </Locale>
75         <Locale id="de-DE">
76             <Msg id="Hello World" str="Hallo Welt" />
77             <Msg id="Show Files in Project" str="Dateien im Projekt zeigen" />
78         </Locale>
79         <Locale id="es-ES">
80             <Msg id="Hello World" str="Hola Mundo" />
81             <Msg id="Show Files in Project" str="Mostrar Archivos en Proyecto" />
82         </Locale>
83     </Localizer>
84
85 </Addin>
86