1function Component()
2{
3}
4
5Component.prototype.beginInstallation = function()
6{
7    component.beginInstallation();
8}
9
10Component.prototype.createOperations = function()
11{
12    component.createOperations();
13
14    component.addOperation("InstallIcons", "@TargetDir@/share/icons" );
15    component.addOperation("CreateDesktopEntry",
16                            "Webcamoid.desktop",
17                            "Name=Webcamoid\n"
18                            + "GenericName=Webcam Capture Software\n"
19                            + "GenericName[ca]=Programari de Captura de Càmera web\n"
20                            + "GenericName[de]=Webcam-Capture-Software\n"
21                            + "GenericName[el]=κάμερα συλλαμβάνει το λογισμικό\n"
22                            + "GenericName[es]=Programa para Captura de la Webcam\n"
23                            + "GenericName[fr]=Logiciel de Capture Webcam\n"
24                            + "GenericName[gl]=Programa de Captura de Webcam\n"
25                            + "GenericName[it]=Webcam Capture Software\n"
26                            + "GenericName[ja]=ウェブカメラのキャプチャソフトウェア\n"
27                            + "GenericName[ko]=웹캠 캡처 소프트웨어\n"
28                            + "GenericName[pt]=Software de Captura de Webcam\n"
29                            + "GenericName[ru]=Веб-камера захвата программного обеспечения\n"
30                            + "GenericName[zh_CN]=摄像头捕捉软件\n"
31                            + "GenericName[zh_TW]=攝像頭捕捉軟件\n"
32                            + "Comment=Take photos and record videos with your webcam\n"
33                            + "Comment[ca]=Fer fotos i gravar vídeos amb la seva webcam\n"
34                            + "Comment[de]=Maak foto's en video's opnemen met uw webcam\n"
35                            + "Comment[el]=Τραβήξτε φωτογραφίες και εγγραφή βίντεο με την κάμερα σας\n"
36                            + "Comment[es]=Tome fotos y grabe videos con su camara web\n"
37                            + "Comment[fr]=Prenez des photos et enregistrer des vidéos avec votre webcam\n"
38                            + "Comment[gl]=Facer fotos e gravar vídeos coa súa cámara web\n"
39                            + "Comment[it]=Scatta foto e registrare video con la tua webcam\n"
40                            + "Comment[ja]=ウェブカメラで写真や記録ビデオを撮影\n"
41                            + "Comment[ko]=웹캠으로 사진과 기록 비디오를 촬영\n"
42                            + "Comment[pt]=Tirar fotos e gravar vídeos com sua webcam\n"
43                            + "Comment[ru]=Возьмите фотографии и записывать видео с веб-камеры\n"
44                            + "Comment[zh_CN]=拍摄照片和录制视频与您的摄像头\n"
45                            + "Comment[zh_TW]=拍攝照片和錄製視頻與您的攝像頭\n"
46                            + "Keywords=photo;video;webcam;\n"
47                            + "Exec=" + installer.value("RunProgram") + "\n"
48                            + "Icon=webcamoid\n"
49                            + "Terminal=false\n"
50                            + "Type=Application\n"
51                            + "Categories=AudioVideo;Player;Qt;\n"
52                            + "StartupNotify=true\n");
53}
54