From 96fa25303818e6107b72ba624659004751d45ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 29 Jul 2020 22:43:34 +0200 Subject: Desktop file translations: + Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit fe44776673b28ca94338f23d8e7ac71593fa88ba) --- languages/csharp/CMakeLists.txt | 8 +++-- languages/csharp/kdevcsharpsupport.desktop | 56 ++++-------------------------- 2 files changed, 11 insertions(+), 53 deletions(-) (limited to 'languages/csharp') 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 - -- cgit v1.2.1