summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-29 22:43:34 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-08-01 17:56:29 +0900
commit96fa25303818e6107b72ba624659004751d45ad1 (patch)
tree89a7233f17e403e6b635d2ce7155d5f77a98d3d8 /src
parent3248c8c2f99f71bb2ca5972828754fdabacd7c90 (diff)
downloadtdevelop-96fa25303818e6107b72ba624659004751d45ad1.tar.gz
tdevelop-96fa25303818e6107b72ba624659004751d45ad1.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> (cherry picked from commit fe44776673b28ca94338f23d8e7ac71593fa88ba)
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt9
-rw-r--r--src/eventsrc134
-rw-r--r--src/profiles/CMakeLists.txt6
-rw-r--r--src/profiles/IDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/AdaIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/FortranIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/JavaIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/PascalIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/DatabaseIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/CMakeLists.txt8
-rw-r--r--src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/CMakeLists.txt8
-rw-r--r--src/profiles/KDevAssistant/CMakeLists.txt8
-rw-r--r--src/profiles/profile.config2
23 files changed, 109 insertions, 194 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 558caeb4..50ab1041 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -51,7 +51,14 @@ install( FILES
##### other data ################################
-install( FILES tdevelopui.rc eventsrc DESTINATION ${DATA_INSTALL_DIR}/tdevelop )
+install( FILES tdevelopui.rc DESTINATION ${DATA_INSTALL_DIR}/tdevelop )
+
+tde_create_translated_desktop(
+ SOURCE eventsrc
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop
+ PO_DIR tdevelop-eventsrc
+)
+
install( FILES tdeveloprc kdevassistantrc DESTINATION ${CONFIG_INSTALL_DIR} )
install( FILES kdevassistantui.rc DESTINATION ${DATA_INSTALL_DIR}/kdevassistant )
install( FILES projectprofiles DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles )
diff --git a/src/eventsrc b/src/eventsrc
index baa16c20..8cf2a757 100644
--- a/src/eventsrc
+++ b/src/eventsrc
@@ -1,147 +1,13 @@
[!Global!]
IconName=tdevelop
Comment=KDevelop
-Comment[hi]=के-डेवलप
[ProcessSuccess]
Name=Process successful
-Name[ca]=Procés correcte
-Name[da]=Processen lykkedes
-Name[de]=Prozess erfolgreich
-Name[el]=Η διεργασία επιτυχής
-Name[es]=Proceso correcto
-Name[et]=Protsess oli edukas
-Name[eu]=Prozesu zuzena
-Name[fa]=موفقیت فرآیند
-Name[fr]=Processus réussi
-Name[ga]=D'éirigh leis an bpróiseas
-Name[gl]=Proceso con éxito
-Name[hi]=प्रक्रिया सफल
-Name[hu]=Sikeres folyamat
-Name[it]=Processo riuscito
-Name[ja]=プロセス成功
-Name[lt]=Procesas pavyko
-Name[ms]=Proses berjaya
-Name[nds]=Perzess funkscheneer
-Name[ne]=प्रक्रिया सफल
-Name[nl]=Proces succesvol
-Name[pl]=Proces zakończony pomyślnie
-Name[pt]=Processo com sucesso
-Name[pt_BR]=Processamento com sucesso
-Name[ru]=Процесс завершён успешно
-Name[sk]=Úspešný proces
-Name[sl]=Proces uspešen
-Name[sr]=Процес је успео
-Name[sr@Latn]=Proces je uspeo
-Name[sv]=Processen lyckades
-Name[ta]=செயல்முறை வெற்றி
-Name[tg]=Амал бо мувафақият ба анҷом расид
-Name[tr]=İşlem Başarılı
-Name[zh_CN]=处理成功
-Name[zh_TW]=行程成功
Comment=Process finished successfully
-Comment[ca]=Procés finalitzat amb èxit
-Comment[da]=Processen afsluttede med succes
-Comment[de]=Prozess erfolgreich beendet
-Comment[el]=Η διεργασία τερμάτισε με επιτυχία
-Comment[es]=Proceso finalizado con éxito
-Comment[et]=Protsess edukalt lõpetatud
-Comment[eu]=Prozesua ongi amaitu da
-Comment[fa]=فرآیند با موفقیت پایان یافت
-Comment[fr]=Le processus s'est terminé avec succès
-Comment[gl]=O proceso finalizou exitosamente
-Comment[hi]=प्रक्रिया सफलतापूर्वक सम्पन्न
-Comment[hu]=A folyamat sikeresen befejeződött
-Comment[it]=Processo terminato correttamente
-Comment[ja]=プロセスは成功しました。
-Comment[ms]=Proses selesai dengan jaya
-Comment[nds]=Perzess mit Spood beendt
-Comment[ne]=प्रक्रिया सफलतापूर्वक समाप्त भयो
-Comment[nl]=Het proces werd succesvol voltooid
-Comment[pl]=Proces zakończony pomyślnie
-Comment[pt]=O processo terminou com sucesso
-Comment[pt_BR]=Processamento terminado com sucesso
-Comment[ru]=Процесс завершён успешно
-Comment[sk]=Proces skončil úspešne
-Comment[sl]=Proces je uspešno končal
-Comment[sr]=Процес је успешно завршен
-Comment[sr@Latn]=Proces je uspešno završen
-Comment[sv]=Processen avslutades med lyckat resultat
-Comment[ta]=வெற்றிகரமாக முடிவடைந்த செயலாக்கம்
-Comment[tg]=Амал бо мувафақият ба анҷом расид
-Comment[tr]=İşlem başarıyla bitti.
-Comment[zh_CN]=处理成功完成
-Comment[zh_TW]=行程成功完成
default_presentation=0
[ProcessError]
Name=Process error
-Name[ca]=Procés fallit
-Name[da]=Procesfejl
-Name[de]=Prozessfehler
-Name[el]=Σφάλμα διεργασίας
-Name[es]=Proceso fallido
-Name[et]=Protsessi viga
-Name[eu]=Prozesu errorea
-Name[fa]=خطای پردازه
-Name[fr]=Erreur du processus
-Name[gl]=Error no proceso
-Name[hi]=प्रक्रिया त्रुटि
-Name[hu]=Hibás folyamat
-Name[it]=Errore di processo
-Name[ja]=プロセスエラー
-Name[lt]=Proceso klaida
-Name[ms]=Ralat proses
-Name[nds]=Perzessfehler
-Name[ne]=प्रक्रिया त्रुटि
-Name[nl]=Procesfout
-Name[pa]=ਕਾਰਜ ਗਲਤੀ
-Name[pl]=Błąd w procesie
-Name[pt]=Erro no processo
-Name[pt_BR]=Processamento com erro
-Name[ru]=Ошибка при выполнении процесса
-Name[sk]=Chyba procesu
-Name[sl]=Napaka procesa
-Name[sr]=Грешка у процесу
-Name[sr@Latn]=Greška u procesu
-Name[sv]=Processfel
-Name[ta]=செயல்முறை பிழை
-Name[tg]=Ҳангоми иҷро намудани амал хатогие дида мешавад
-Name[tr]=İşlem Hatası
-Name[zh_CN]=处理失败
-Name[zh_TW]=行程錯誤
Comment=Process finished with errors
-Comment[ca]=Procés finalitzat amb errors
-Comment[da]=Processen afsluttede med fejl
-Comment[de]=Prozess mit Fehlerstatus beendet
-Comment[el]=Η διεργασία τερμάτισε με σφάλματα
-Comment[es]=Proceso finalizado con errores
-Comment[et]=Protsess lõppes vigadega
-Comment[eu]=Prozesua erroreekin amaitu da
-Comment[fa]=پردازه با خطا پایان یافت
-Comment[fr]=Le processus s'est terminé avec des erreurs
-Comment[gl]=O proceso finalizou con erros
-Comment[hi]=प्रक्रिया त्रुटियों के साथ सम्पन्न
-Comment[hu]=A folyamat hibajelzéssel fejeződött be
-Comment[it]=Processo terminato con errori
-Comment[ja]=プロセスはエラーを起こし、終了しました。
-Comment[lt]=Procesas baigtas su klaidomis
-Comment[ms]=Proses selesai dengan ralat
-Comment[nds]=Perzess mit Fehlers beendt
-Comment[ne]=प्रक्रिया त्रुटि आएर समाप्त भयो
-Comment[nl]=Het proces eindigde met fouten
-Comment[pl]=Proces zakończony z błędami
-Comment[pt]=O processo terminou com erros
-Comment[pt_BR]=Processamento terminado com erros
-Comment[ru]=Ошибка при выполнении процесса
-Comment[sk]=Proces skončil s chybami
-Comment[sl]=Proces je končal brez napak
-Comment[sr]=Процес је завршен са грешкама
-Comment[sr@Latn]=Proces je završen sa greškama
-Comment[sv]=Processen avslutades med fel
-Comment[ta]=பிழையுடன் முடிவடைந்த செயலாக்கம்
-Comment[tg]=Ҳангоми иҷро намудани амал хатогие дида мешавад
-Comment[tr]=İşlem hatalarla bitti
-Comment[zh_CN]=处理失败
-Comment[zh_TW]=行程完成但有錯誤
default_presentation=0
diff --git a/src/profiles/CMakeLists.txt b/src/profiles/CMakeLists.txt
index 5d886c88..7b30a7ff 100644
--- a/src/profiles/CMakeLists.txt
+++ b/src/profiles/CMakeLists.txt
@@ -12,4 +12,8 @@
add_subdirectory( IDE )
add_subdirectory( KDevAssistant )
-install( FILES profile.config DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/CMakeLists.txt b/src/profiles/IDE/CMakeLists.txt
index e98b3133..a3ceb026 100644
--- a/src/profiles/IDE/CMakeLists.txt
+++ b/src/profiles/IDE/CMakeLists.txt
@@ -13,6 +13,8 @@ add_subdirectory( CompiledLanguageIDE )
add_subdirectory( ScriptingLanguageIDE )
add_subdirectory( DatabaseIDE )
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/CompiledLanguageIDE/AdaIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/AdaIDE/CMakeLists.txt
index d7c38929..01e77a32 100644
--- a/src/profiles/IDE/CompiledLanguageIDE/AdaIDE/CMakeLists.txt
+++ b/src/profiles/IDE/CompiledLanguageIDE/AdaIDE/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/AdaIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/AdaIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt
index e681daaf..cfbe15fa 100644
--- a/src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt
+++ b/src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt
@@ -16,6 +16,8 @@ add_subdirectory( FortranIDE )
add_subdirectory( HaskellIDE )
add_subdirectory( PascalIDE )
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/CMakeLists.txt
index 9fedc767..4186dee7 100644
--- a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/CMakeLists.txt
+++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CMakeLists.txt
index 21eee3b2..62a1afb6 100644
--- a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CMakeLists.txt
+++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CMakeLists.txt
@@ -12,6 +12,8 @@
add_subdirectory( CIDE )
add_subdirectory( CppIDE )
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt
index 20e256e4..1b415dd6 100644
--- a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt
+++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt
@@ -11,6 +11,8 @@
add_subdirectory( KDECppIDE )
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt
index c87e4747..9aa7d82b 100644
--- a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt
+++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/CompiledLanguageIDE/FortranIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/FortranIDE/CMakeLists.txt
index a3a56986..f059d070 100644
--- a/src/profiles/IDE/CompiledLanguageIDE/FortranIDE/CMakeLists.txt
+++ b/src/profiles/IDE/CompiledLanguageIDE/FortranIDE/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/FortranIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/FortranIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/CMakeLists.txt
index e9b3e62e..12ab4d50 100644
--- a/src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/CMakeLists.txt
+++ b/src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/HaskellIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/HaskellIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/CompiledLanguageIDE/JavaIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/JavaIDE/CMakeLists.txt
index 726990ec..b8a2e403 100644
--- a/src/profiles/IDE/CompiledLanguageIDE/JavaIDE/CMakeLists.txt
+++ b/src/profiles/IDE/CompiledLanguageIDE/JavaIDE/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/JavaIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/JavaIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/CompiledLanguageIDE/PascalIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/PascalIDE/CMakeLists.txt
index 5b3a61c0..8f8c9dfb 100644
--- a/src/profiles/IDE/CompiledLanguageIDE/PascalIDE/CMakeLists.txt
+++ b/src/profiles/IDE/CompiledLanguageIDE/PascalIDE/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/PascalIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/PascalIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/DatabaseIDE/CMakeLists.txt b/src/profiles/IDE/DatabaseIDE/CMakeLists.txt
index 2acb3950..b5199e38 100644
--- a/src/profiles/IDE/DatabaseIDE/CMakeLists.txt
+++ b/src/profiles/IDE/DatabaseIDE/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/DatabaseIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/DatabaseIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt
index 9ef55326..bd79f289 100644
--- a/src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt
+++ b/src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt
@@ -15,6 +15,8 @@ add_subdirectory( PHPIDE )
add_subdirectory( PythonIDE )
add_subdirectory( ShellIDE )
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/CMakeLists.txt
index 98cf1375..cbddbf54 100644
--- a/src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/CMakeLists.txt
+++ b/src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/PHPIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/PHPIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/CMakeLists.txt
index 1b4e7733..1fa9a331 100644
--- a/src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/CMakeLists.txt
+++ b/src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/PerlIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/PerlIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/CMakeLists.txt
index 27930052..44b7d406 100644
--- a/src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/CMakeLists.txt
+++ b/src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/PythonIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/PythonIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/CMakeLists.txt
index 6bfeeeae..6c10d581 100644
--- a/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/CMakeLists.txt
+++ b/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/RubyIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/RubyIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/CMakeLists.txt
index ec21b7e9..93bdc951 100644
--- a/src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/CMakeLists.txt
+++ b/src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/ShellIDE )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/ShellIDE
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/KDevAssistant/CMakeLists.txt b/src/profiles/KDevAssistant/CMakeLists.txt
index 1f22e2e7..9f52aa04 100644
--- a/src/profiles/KDevAssistant/CMakeLists.txt
+++ b/src/profiles/KDevAssistant/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- profile.config
- DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/KDevAssistant )
+tde_create_translated_desktop(
+ SOURCE profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/KDevAssistant
+ PO_DIR tdevelop-desktops
+)
diff --git a/src/profiles/profile.config b/src/profiles/profile.config
index 00654b45..f71aae03 100644
--- a/src/profiles/profile.config
+++ b/src/profiles/profile.config
@@ -1,3 +1,3 @@
[Information]
-GenericName=TDevelop
Description=Default TDevelop profile
+GenericName=TDevelop