summaryrefslogtreecommitdiffstats
path: root/languages/csharp
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 /languages/csharp
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 'languages/csharp')
-rw-r--r--languages/csharp/CMakeLists.txt8
-rw-r--r--languages/csharp/kdevcsharpsupport.desktop56
2 files changed, 11 insertions, 53 deletions
diff --git a/languages/csharp/CMakeLists.txt b/languages/csharp/CMakeLists.txt
index 5e148431..46243dcf 100644
--- a/languages/csharp/CMakeLists.txt
+++ b/languages/csharp/CMakeLists.txt
@@ -30,9 +30,11 @@ link_directories(
##### other data ################################
-install( FILES
- kdevcsharpsupport.desktop csharpdoc.protocol
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdevcsharpsupport.desktop csharpdoc.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
install( FILES
kdevcsharpsupport.rc
diff --git a/languages/csharp/kdevcsharpsupport.desktop b/languages/csharp/kdevcsharpsupport.desktop
index 3a1f2efc..1d0a170e 100644
--- a/languages/csharp/kdevcsharpsupport.desktop
+++ b/languages/csharp/kdevcsharpsupport.desktop
@@ -1,57 +1,13 @@
[Desktop Entry]
-Type=Service
-Exec=blubb
-Comment=CSharp Support
-Comment[ca]=Suport per a CSharp
-Comment[da]=Csharp understøttelse
-Comment[de]=CSharp-Unterstützung für TDevelop
-Comment[el]=Υποστήριξη CSharp
-Comment[es]=Soporte para CSharp
-Comment[et]=CSharp'i toetus
-Comment[fr]=Prise en charge du langage CSharp
-Comment[hu]=CSharp-támogatás
-Comment[it]=Supporto per CSharp
-Comment[ja]=CSharp サポート
-Comment[nds]=Ünnerstütten för CSharp
-Comment[nl]=Ondersteuning voor CSharp
-Comment[pl]=Obsługa CSharp
-Comment[pt]=Suporte a C#
-Comment[pt_BR]=Suporte a C#
-Comment[ru]=Поддержка CSharp
-Comment[sk]=CSharp podpora
-Comment[sr]=Подршка за CSharp
-Comment[sr@Latn]=Podrška za CSharp
-Comment[sv]=C#-stöd
-Comment[zh_TW]=C# 支援
Name=KDevCSharpSupport
-Name[de]=Unterstützung für CSharp (TDevelop)
-Name[nds]=CSharp-Ünnerstütten för TDevelop
-Name[sv]=TDevelop C#-stöd
-Name[zh_TW]=TDevelop C# 支援
+
GenericName=CSharp Support
-GenericName[ca]=Suport per a CSharp
-GenericName[da]=CSharp understøttelse
-GenericName[de]=Unterstützung für CSharp
-GenericName[el]=Υποστήριξη CSharp
-GenericName[es]=Soporte para CSharp
-GenericName[et]=CSharp'i toetus
-GenericName[fr]=Prise en charge du langage CSharp
-GenericName[hu]=CSharp-támogatás
-GenericName[it]=Supporto CSharp
-GenericName[ja]=CSharp サポート
-GenericName[nds]=Ünnerstütten för CSharp
-GenericName[nl]=Ondersteuning voor CSharp
-GenericName[pl]=Obsługa CSharp
-GenericName[pt]=Suporte a C#
-GenericName[pt_BR]=Suporte a C#
-GenericName[ru]=Поддержка CSharp
-GenericName[sk]=CSharp podpora
-GenericName[sr]=Подршка за CSharp
-GenericName[sr@Latn]=Podrška za CSharp
-GenericName[sv]=C#-stöd
-GenericName[zh_TW]=C# 支援
+
+Comment=CSharp Support
+
+Type=Service
+Exec=blubb
X-TDE-ServiceTypes=TDevelop/LanguageSupport
X-TDE-Library=libkdevcsharpsupport
X-TDevelop-Version=5
X-TDevelop-Language=CSharp
-