summaryrefslogtreecommitdiffstats
path: root/kdevdesigner
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-29 22:43:34 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-30 16:00:07 +0200
commitfe44776673b28ca94338f23d8e7ac71593fa88ba (patch)
treeb900146c853acbd44900bfb77a35a1af3c77aa5d /kdevdesigner
parentc0b663c4c873df495743600b8f703744420eddfa (diff)
downloadtdevelop-fe44776673b28ca94338f23d8e7ac71593fa88ba.tar.gz
tdevelop-fe44776673b28ca94338f23d8e7ac71593fa88ba.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 'kdevdesigner')
-rw-r--r--kdevdesigner/designer/CMakeLists.txt8
-rw-r--r--kdevdesigner/designer/kdevdesigner_part.desktop12
-rw-r--r--kdevdesigner/src/CMakeLists.txt6
-rw-r--r--kdevdesigner/src/kdevdesigner.desktop93
4 files changed, 17 insertions, 102 deletions
diff --git a/kdevdesigner/designer/CMakeLists.txt b/kdevdesigner/designer/CMakeLists.txt
index 676a4d57..a0337247 100644
--- a/kdevdesigner/designer/CMakeLists.txt
+++ b/kdevdesigner/designer/CMakeLists.txt
@@ -27,9 +27,11 @@ link_directories(
##### other data ################################
-install( FILES
- kdevdesigner_part.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdevdesigner_part.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
install( FILES
kdevdesigner_part.rc kdevdesigner_part_sh.rc
diff --git a/kdevdesigner/designer/kdevdesigner_part.desktop b/kdevdesigner/designer/kdevdesigner_part.desktop
index 7ca2b603..2851e6e9 100644
--- a/kdevdesigner/designer/kdevdesigner_part.desktop
+++ b/kdevdesigner/designer/kdevdesigner_part.desktop
@@ -1,16 +1,8 @@
[Desktop Entry]
Name=KDevDesignerPart
-Name[da]=TDevelop Designer-part
-Name[el]=ΤμήμαKDevDesigner
-Name[nds]=Kdevelop-Makerkomponent
-Name[ne]=केडीई विकास डिजाइनर भाग
-Name[sv]=TDevelop designerdel
-Name[ta]=கேமேம்பாட்டு வடிவமைப்பாளர் பகுதி
-Name[tg]=KDevҚисми дизайнгар
-Name[zh_TW]=TDevelop 設計元件
+
+Type=Service
MimeType=application/x-designer
X-TDE-ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart
X-TDE-Library=libkdevdesignerpart
-Type=Service
X-TDE-InitialPreference=10
-
diff --git a/kdevdesigner/src/CMakeLists.txt b/kdevdesigner/src/CMakeLists.txt
index c232cd2f..9d7378f9 100644
--- a/kdevdesigner/src/CMakeLists.txt
+++ b/kdevdesigner/src/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
##### other data ################################
-install( FILES kdevdesigner.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdevdesigner.desktop
+ PO_DIR tdevelop-desktops
+)
+
install( FILES kdevdesigner_shell.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdesigner )
diff --git a/kdevdesigner/src/kdevdesigner.desktop b/kdevdesigner/src/kdevdesigner.desktop
index 7bba7365..77cf9b07 100644
--- a/kdevdesigner/src/kdevdesigner.desktop
+++ b/kdevdesigner/src/kdevdesigner.desktop
@@ -1,96 +1,13 @@
[Desktop Entry]
Name=TDevelop Designer
-Name[el]=Σχεδιαστής TDevelop
-Name[es]=Diseñador de TDevelop
-Name[et]=TDevelopi Disainer
-Name[eu]=TDevelop disenatzailea
-Name[fa]=طراح TDevelop
-Name[fr]=Concepteur TDevelop
-Name[ga]=Dearthóir TDevelop
-Name[it]=Designer di TDevelop
-Name[ja]=TDevelop デザイナー
-Name[ms]=Pereka TDevelop
-Name[nds]=TDevelop-Maker
-Name[ne]=केडीई विकास डिजाइनर
-Name[pl]=Projektant TDevelop
-Name[pt]=Desenhador do TDevelop
-Name[pt_BR]=Designer do TDevelop
-Name[sk]=TDevelop Dizajnér
-Name[sl]=Snovalnik TDevelop
-Name[sv]=TDevelop designer
-Name[ta]=கேமேம்பாட்டு வடிவமைப்பாளர்
-Name[tg]=Дизайнгари TDevelop
-Name[zh_CN]=TDevelop 设计师
-Name[zh_TW]=TDevelop 設計器
+
GenericName=Interface Designer
-GenericName[br]=Ergrafer etrefas
-GenericName[ca]=Dissenyador de interfícies
-GenericName[cy]=Dylunydd Rhyngwyneb
-GenericName[de]=Oberflächen-Designer
-GenericName[el]=Σχεδιαστής διασυνδέσεων
-GenericName[es]=Diseñador de interfaces
-GenericName[et]=Liidesedisainer
-GenericName[eu]=Interfazeen diseinatzailea
-GenericName[fa]=طراح واسط
-GenericName[fr]=Concepteur d'interfaces graphiques
-GenericName[ga]=Dearthóir Comhéadain
-GenericName[gl]=Deseñador de interfaces
-GenericName[hu]=Felülettervező
-GenericName[it]=Interfaccia del Designer
-GenericName[ja]=インターフェースデザイナー
-GenericName[lt]=Sąsajos redaktorius
-GenericName[ms]=Pereka Antaramuka
-GenericName[nds]=Böversietmaker
-GenericName[ne]=इन्टरफेस डिजाइनर
-GenericName[pl]=Projektowanie interfejsu
-GenericName[pt]=Editor de Interfaces
-GenericName[pt_BR]=Desenhador de Interface
-GenericName[ru]=Дизайнер пользовательского интерфейса
-GenericName[rw]=Umuhanzi w'Imigaragarire
-GenericName[sk]=Interface Dizajnér
-GenericName[sl]=Snovalnik vmesnikov
-GenericName[sr]=Дизајнер интерфејса
-GenericName[sr@Latn]=Dizajner interfejsa
-GenericName[sv]=Gränssnittsdesign
-GenericName[tr]=Arayüz Tasarlayıcısı
-GenericName[zh_CN]=界面设计师
-GenericName[zh_TW]=介面設計器
+
+Comment=GUI Designer for Qt/TDE
+
Exec=kdevdesigner %i -caption "%c"
Icon=kdevdesigner
Type=Application
-X-DocPath=kdevdesigner/index.html
-Comment=GUI Designer for Qt/TDE
-Comment[ca]=Dissenyador de IGU per Qt/TDE
-Comment[da]=Grafisk brugerfladedesigner til Qt/TDE
-Comment[de]=Auf Qt-Designer basierender GUI-Designer
-Comment[el]=Σχεδιαστής GUI για Qt/TDE
-Comment[es]=Diseñador de interfaces para Qt/TDE
-Comment[et]=Qt/TDE graafilise kasutajaliidese disainer
-Comment[eu]=GUI diseinatzailea Qt/TDE-rako
-Comment[fa]=طراح ونک برای Qt/TDE
-Comment[fr]=Concepteur d'interfaces graphiques pour Qt / TDE
-Comment[ga]=Dearthóir Comhéadan Grafach le haghaidh Qt/TDE
-Comment[gl]=Deseñador GUI para Qt/TDE
-Comment[hu]=Qt/TDE felülettervező
-Comment[it]=Designer di GUI per Qt/TDE
-Comment[ja]=Qt/TDE のための GUI デザイナー
-Comment[ms]=Pereka GUI untuk Qt/TDE
-Comment[nds]=Böversietmaker för Qt/TDE
-Comment[ne]=Qt/TDE का लागि जी यू आई डिजाइनर
-Comment[nl]=GUI Designer voor Qt/TDE
-Comment[pl]=Projektant graficznego interfejsu użytkownika dla Qt/TDE
-Comment[pt]=Editor de Interfaces para Qt/TDE
-Comment[pt_BR]=Designer de GUI para o Qt/TDE
-Comment[ru]=Среда создания графических форм Qt/TDE
-Comment[sk]=GUI Dizajnér pre Qt/TDE
-Comment[sl]=Snovalnik grafičnega vmesnika za Qt/TDE
-Comment[sr]=Дизајнер GUI-ја за Qt/TDE
-Comment[sr@Latn]=Dizajner GUI-ja za Qt/TDE
-Comment[sv]=Grafisk gränssnittsdesign för Qt och TDE
-Comment[ta]=Qtக்கான GUI வடிவமைப்பாளர்
-Comment[tg]=Муҳит барои сохтани Qt/TDE ба шакли графикӣ
-Comment[tr]=Qt/TDE için Arayüz Tasarlayıcısı
-Comment[zh_CN]=Qt/TDE 的 GUI 设计师
-Comment[zh_TW]=Qt/TDE 的使用者介面設計器
Terminal=false
+X-DocPath=kdevdesigner/index.html
Categories=Qt;TDE;Development;GUIDesigner;X-TDE-TDevelopIDE;