diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-09 17:49:10 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-09 17:49:10 +0200 |
commit | 837dbafbea0c7f7bc73d27fda684ea2dededd547 (patch) | |
tree | 66811931fed182f8fa6f59547c6511a897adb734 /kpovmodeler | |
parent | 00b9084c635fe29e7c5942ff508be2ca65893659 (diff) | |
download | tdegraphics-837dbafbea0c7f7bc73d27fda684ea2dededd547.tar.gz tdegraphics-837dbafbea0c7f7bc73d27fda684ea2dededd547.zip |
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kpovmodeler')
-rw-r--r-- | kpovmodeler/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kpovmodeler/CMakeLists.txt | 4 | ||||
-rw-r--r-- | kpovmodeler/kpovmodeler.desktop | 46 |
3 files changed, 7 insertions, 49 deletions
diff --git a/kpovmodeler/CMakeL10n.txt b/kpovmodeler/CMakeL10n.txt index 084877a7..f85ad75d 100644 --- a/kpovmodeler/CMakeL10n.txt +++ b/kpovmodeler/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kpovmodeler" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kpovmodeler.desktop/" + SOURCES kpovmodeler.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kpovmodeler/CMakeLists.txt b/kpovmodeler/CMakeLists.txt index 1ab30fc0..3011c6e9 100644 --- a/kpovmodeler/CMakeLists.txt +++ b/kpovmodeler/CMakeLists.txt @@ -32,9 +32,7 @@ link_directories( tde_install_icons( kpovmodeler_doc kpovmodeler ) -install( FILES - kpovmodeler.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} ) +tde_create_translated_desktop( kpovmodeler.desktop ) install( FILES kpovmodelershell.rc kpovmodelerui.rc kpovmodelerbrowser.rc diff --git a/kpovmodeler/kpovmodeler.desktop b/kpovmodeler/kpovmodeler.desktop index d22ca795..2f3d10a3 100644 --- a/kpovmodeler/kpovmodeler.desktop +++ b/kpovmodeler/kpovmodeler.desktop @@ -4,53 +4,7 @@ Exec=kpovmodeler -caption "%c" %i %m %f Icon=kpovmodeler MimeType=application/x-kpovmodeler; Name=KPovModeler -Name[eo]=KPovModelilo -Name[es]=Modelador Povray -Name[he]=מעצב Povray -Name[nb]=KPov-modellerer -Name[ne]=केडीई पोभ मोडेलर -Name[nn]=KPov-modellering -Name[sv]=Kpovmodeler GenericName=Povray Modeler -GenericName[ca]=Modelador Povray -GenericName[cs]=Modelář Povray -GenericName[cy]=Modelydd Povray -GenericName[da]=Povray-modellering -GenericName[de]=Povray-Modellierer -GenericName[en_GB]=Povray Modeller -GenericName[eo]=Povray-modelilo -GenericName[es]=Modelador Povray -GenericName[et]=Povray modelleerija -GenericName[eu]=Povray modelatzailea -GenericName[fa]=سازندۀ مدل Povray -GenericName[fi]=Povray-mallintaja -GenericName[fr]=Modeleur Povray -GenericName[gl]=Modelador Povray -GenericName[he]=מעצב Povray -GenericName[hu]=Povray-modellező -GenericName[is]=Povray hönnuður -GenericName[it]=Modellatore per Povray -GenericName[ja]=Povray モデラー -GenericName[kk]=Povray үлгілеу -GenericName[km]=កម្មវិធីធ្វើម៉ូដែល Povray -GenericName[ms]=Pemodel Povray -GenericName[nb]=Povray-modellerer -GenericName[nds]=Povray-Modellmaker -GenericName[ne]=पोभ्रे मोडेलर -GenericName[nn]=Povray-modellering -GenericName[pl]=Modeler Povray -GenericName[pt]=Modelador de Povray -GenericName[pt_BR]=Modelador Povray -GenericName[ro]=Modelator Povray -GenericName[ru]=Редактор Povray -GenericName[sl]=Modelirnik Povray -GenericName[sr]=Моделар за Povray -GenericName[sr@Latn]=Modelar za Povray -GenericName[sv]=Modellering med Povray -GenericName[ta]=பாவ்ரே மாடுல்லர் -GenericName[tr]=Povray Modelleyici -GenericName[zh_CN]=Povray 建模器 -GenericName[zh_HK]=Povray 建模器 Path= X-TDE-ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart,Browser/View,KPovModeler/Document Terminal=false |