summaryrefslogtreecommitdiffstats
path: root/languages/csharp
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 /languages/csharp
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 '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
-