wok rev 13844
mtpaint: install .mo files to the right place (hello to slitaz-i18n and locale-xx packages), improve .desktop files; lyx: improve .desktop file
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jan 08 21:19:16 2013 +0000 (2013-01-08) |
parents | bab69144211b |
children | 04dbd2523d34 |
files | lyx/stuff/lyx.desktop mtpaint/receipt mtpaint/stuff/applications/mtpaint-grab.desktop mtpaint/stuff/applications/mtpaint.desktop |
line diff
1.1 --- a/lyx/stuff/lyx.desktop Tue Jan 08 12:44:48 2013 +0100 1.2 +++ b/lyx/stuff/lyx.desktop Tue Jan 08 21:19:16 2013 +0000 1.3 @@ -1,14 +1,28 @@ 1.4 [Desktop Entry] 1.5 -Name=Lyx Document Processor 1.6 -Version=1.0 1.7 +Type=Application 1.8 +Name=LyX 1.9 GenericName=Document Processor 1.10 -Comment=Latex WYSIWYM Editor 1.11 +GenericName[ru]=Процессор документов 1.12 +Comment=The LyX text processor 1.13 +Comment[cs]=Textový procesor LyX 1.14 +Comment[da]=LyX tekstbehandleren 1.15 +Comment[de]=Das LyX-Textprogramm 1.16 +Comment[el]=Ο επεξεργαστής κειμένου LyX 1.17 +Comment[es]=Procesador de Textos LyX 1.18 +Comment[fr]=Éditeur de textes LyX (basé sur LaTeX) 1.19 +Comment[hu]=A LyX kiadványszerkesztő 1.20 +Comment[it]=La videoscrittura LyX 1.21 +Comment[pt]=Processador de textos LyX 1.22 +Comment[pt_BR]=Processador de textos LyX 1.23 +Comment[ru]=Текстовый процессор LyX 1.24 +Comment[sl]=Urejevalnik besedil LyX 1.25 +Comment[sv]=LyX latexeditor 1.26 +Comment[zh_CN]=LyX 文字处理器 1.27 +Comment[zh_TW]=LyX 文字處理器 1.28 +Exec=lyx %F 1.29 +Terminal=false 1.30 Icon=/usr/share/lyx/images/lyx.png 1.31 -Exec=lyx %F 1.32 -TryExec=lyx 1.33 -Terminal=false 1.34 -Type=Application 1.35 StartupNotify=false 1.36 StartupWMClass=Lyx 1.37 -Categories=GNOME;Qt;WordProcessor;Application;Office; 1.38 +Categories=WordProcessor;Office; 1.39 MimeType=application/x-lyx;text/x-lyx;
2.1 --- a/mtpaint/receipt Tue Jan 08 12:44:48 2013 +0100 2.2 +++ b/mtpaint/receipt Tue Jan 08 21:19:16 2013 +0000 2.3 @@ -22,6 +22,13 @@ 2.4 --prefix=/usr \ 2.5 intl nogif && 2.6 make 2.7 + # install mo files to the right place 2.8 + for i in $(find $src/po/*.mo); do 2.9 + LNG=$(basename $i .mo) 2.10 + LFOLDER=$install/usr/share/locale/$LNG/LC_MESSAGES 2.11 + mkdir -p $LFOLDER 2.12 + cp -a $scr/po/$LNG.mo $LFOLDER/mtpaint.mo 2.13 + done 2.14 } 2.15 2.16 # Rules to gen a SliTaz package suitable for Tazpkg. 2.17 @@ -29,10 +36,4 @@ 2.18 { 2.19 mkdir -p $fs/usr/bin 2.20 cp -a $src/src/mtpaint $fs/usr/bin 2.21 - # Get locale from tazwok.conf 2.22 - for i in $LOCALE 2.23 - do 2.24 - mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES 2.25 - cp -a $src/po/$i.mo $fs/usr/share/locale/$i/LC_MESSAGES/mtpaint.mo 2.26 - done 2.27 }
3.1 --- a/mtpaint/stuff/applications/mtpaint-grab.desktop Tue Jan 08 12:44:48 2013 +0100 3.2 +++ b/mtpaint/stuff/applications/mtpaint-grab.desktop Tue Jan 08 21:19:16 2013 +0000 3.3 @@ -1,10 +1,10 @@ 3.4 [Desktop Entry] 3.5 -Encoding=UTF-8 3.6 +Type=Application 3.7 Name=Grab screenshot 3.8 Name[fr]=Capture d'écran 3.9 Name[pt]=Captura de Screenshots 3.10 +Name[ru]=Снимок экрана 3.11 Exec=mtpaint -s 3.12 +Terminal=false 3.13 Icon=camera-photo 3.14 -Type=Application 3.15 -Terminal=false 3.16 -Categories=Application;Graphics; 3.17 +Categories=Graphics;
4.1 --- a/mtpaint/stuff/applications/mtpaint.desktop Tue Jan 08 12:44:48 2013 +0100 4.2 +++ b/mtpaint/stuff/applications/mtpaint.desktop Tue Jan 08 21:19:16 2013 +0000 4.3 @@ -1,12 +1,16 @@ 4.4 [Desktop Entry] 4.5 -Encoding=UTF-8 4.6 +Type=Application 4.7 Name=mtPaint Image Editor 4.8 Name[fr]=Editeur d'images mtPaint 4.9 Name[pt]=Editor de Imagens mtPaint 4.10 -Comment=Creat and modify images 4.11 +Name[ru]=Редактор изображений mtPaint 4.12 +GenericName=Image Editor 4.13 +GenericName[ru]=Редактор изображений 4.14 +Comment=Painting program to create pixel art and manipulate digital photos 4.15 Comment[fr]=Créer et modifier des images 4.16 -Exec=mtpaint 4.17 +Comment[ru]=Создавайте пиксельную графику и редактируйте цифровые фотографии 4.18 +Exec=mtpaint %F 4.19 +Terminal=false 4.20 Icon=mtpaint 4.21 -Type=Application 4.22 -Terminal=false 4.23 -Categories=Application;Graphics; 4.24 +Categories=Graphics; 4.25 +MimeType=image/bmp;image/x-bmp;image/x-ms-bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/x-pcx;image/png;image/x-png;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/svg;image/svg+xml;image/x-tga;image/tiff;image/xbm;image/x-xbm;image/x-xbitmap;image/xpm;image/x-xpm;image/x-xpixmap;