summaryrefslogtreecommitdiffstats
path: root/mimetypes/model
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-07 18:25:52 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-07 18:25:52 +0200
commit4b7a4e17362206fd2eade35ba947a850263b0ea1 (patch)
tree3f3e619da9fd3c0f76ef95e44c73898a278e059b /mimetypes/model
parent31fa399a0aa455f3f52251f977233d57e92de28c (diff)
downloadtdelibs-4b7a4e17362206fd2eade35ba947a850263b0ea1.tar.gz
tdelibs-4b7a4e17362206fd2eade35ba947a850263b0ea1.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 'mimetypes/model')
-rw-r--r--mimetypes/model/CMakeLists.txt10
-rw-r--r--mimetypes/model/vrml.desktop75
2 files changed, 8 insertions, 77 deletions
diff --git a/mimetypes/model/CMakeLists.txt b/mimetypes/model/CMakeLists.txt
index b101c70aa..49c21f98b 100644
--- a/mimetypes/model/CMakeLists.txt
+++ b/mimetypes/model/CMakeLists.txt
@@ -11,6 +11,12 @@
##### other data ################################
-install( FILES
+foreach( _mimetype
vrml.desktop
- DESTINATION ${MIME_INSTALL_DIR}/model )
+)
+ tde_create_translated_desktop(
+ SOURCE ${_mimetype}
+ DESTINATION ${MIME_INSTALL_DIR}/model
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
+ )
+endforeach()
diff --git a/mimetypes/model/vrml.desktop b/mimetypes/model/vrml.desktop
index f3276b0fc..bb286f974 100644
--- a/mimetypes/model/vrml.desktop
+++ b/mimetypes/model/vrml.desktop
@@ -3,81 +3,6 @@ Type=MimeType
Icon=multimedia
MimeType=model/vrml
Comment=VRML Model
-Comment[af]=VRML Module
-Comment[ar]=نمودج VRML
-Comment[az]=VRML Modeli
-Comment[be]=Мадэль VRML
-Comment[bg]=Модел VRML
-Comment[bn]=ভি-আর-এম-এল (VRML) মডেল
-Comment[br]=Gobari VRML
-Comment[bs]=VRML model
-Comment[ca]=Model VRML
-Comment[cs]=VRML model
-Comment[csb]=Mòdel VRML
-Comment[cy]=Modiwl VRML
-Comment[da]=VRML-Model
-Comment[de]=VRML-Modell
-Comment[el]=Μοντέλο VRML
-Comment[eo]=VRML-Modelo
-Comment[es]=Modelo VRML
-Comment[et]=VRML mudel
-Comment[eu]=VRML eredua
-Comment[fa]=مدل VRML
-Comment[fi]=VRML-malli
-Comment[fr]=Modèle VRML
-Comment[ga]=Samhail VRML
-Comment[gl]=Model VRML
-Comment[he]=מודל VRML
-Comment[hi]=VRML मॉडल
-Comment[hr]=VRML model
-Comment[hu]=VRML-modell
-Comment[id]=Model VRML
-Comment[is]=VRML eining
-Comment[it]=Modello VRML
-Comment[ja]=VRML モジュール
-Comment[ka]=VRML მოდელი
-Comment[kk]=VRML үлгісі
-Comment[km]=ម៉ូដែល VRML
-Comment[ko]=VRML 모델
-Comment[lb]=VRML-Modell
-Comment[lt]=VRML modelis
-Comment[lv]=VRML Modelis
-Comment[mk]=VRML-модел
-Comment[mn]=VRML Загвар
-Comment[ms]=Model VRML
-Comment[nb]=VRML-modell
-Comment[nds]=VRML-Modell
-Comment[ne]=VRML नमूना
-Comment[nl]=VRML-model
-Comment[nn]=VRML-modell
-Comment[pa]=VRML ਮਾਡਲ
-Comment[pl]=Model VRML
-Comment[pt]=Modelo em VRML
-Comment[pt_BR]=Modelo VRML
-Comment[ro]=Model VRML
-Comment[ru]=Модель VRML
-Comment[rw]=Moderi VRML
-Comment[se]=VRML-modealla
-Comment[sk]=VRML model
-Comment[sl]=Model v VRML
-Comment[sq]=Model nga VRML
-Comment[sr]=VRML модел
-Comment[sr@Latn]=VRML model
-Comment[sv]=VRML-modell
-Comment[ta]=VRML மாதிரி
-Comment[te]=VRML నమూనా
-Comment[tg]=Намунаи VRML
-Comment[th]=โมเดล VRML
-Comment[tr]=VRML Modeli
-Comment[tt]=VRML Sölge
-Comment[uk]=Модель VRML (тривимірні моделі)
-Comment[uz]=VRML modeli
-Comment[uz@cyrillic]=VRML модели
-Comment[vi]=Mô hình VRML
-Comment[wa]=Modele VRML
-Comment[zh_CN]=VRML 模块
-Comment[zh_HK]=VRML 模型
-Comment[zh_TW]=VRML 模型
Patterns=*.wrl;*.wrl.gz
[Property::X-TDE-text]