summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-07-08 22:39:20 +0200
committerSlávek Banko <[email protected]>2020-07-09 13:04:01 +0200
commita94da7081d4567ba19782d6efea3aeb4af4d67ef (patch)
treef57b626ceac36667c35a04b8ddbdb57a903ef702 /kopete/protocols/jabber
parent2810d16800c936ed93bf81df2ca0904d19490b96 (diff)
downloadtdenetwork-a94da7081d4567ba19782d6efea3aeb4af4d67ef.tar.gz
tdenetwork-a94da7081d4567ba19782d6efea3aeb4af4d67ef.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 <[email protected]> (cherry picked from commit d36d9267539f12fdaa5a0dd18f6285e4a636e1ac)
Diffstat (limited to 'kopete/protocols/jabber')
-rw-r--r--kopete/protocols/jabber/CMakeLists.txt7
-rw-r--r--kopete/protocols/jabber/kopete_jabber.desktop66
-rw-r--r--kopete/protocols/jabber/tdeioslave/CMakeLists.txt6
-rw-r--r--kopete/protocols/jabber/tdeioslave/jabberdisco.protocol42
4 files changed, 16 insertions, 105 deletions
diff --git a/kopete/protocols/jabber/CMakeLists.txt b/kopete/protocols/jabber/CMakeLists.txt
index 50a5089a..571b9ba0 100644
--- a/kopete/protocols/jabber/CMakeLists.txt
+++ b/kopete/protocols/jabber/CMakeLists.txt
@@ -58,7 +58,12 @@ link_directories(
##### other data ################################
-install( FILES kopete_jabber.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kopete_jabber.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kopete-desktops
+)
+
install( FILES jabberchatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_jabber )
diff --git a/kopete/protocols/jabber/kopete_jabber.desktop b/kopete/protocols/jabber/kopete_jabber.desktop
index 45552e42..19359048 100644
--- a/kopete/protocols/jabber/kopete_jabber.desktop
+++ b/kopete/protocols/jabber/kopete_jabber.desktop
@@ -1,8 +1,9 @@
[Desktop Entry]
Type=Service
-X-Kopete-Version=1000900
Icon=jabber_protocol
X-TDE-ServiceTypes=Kopete/Protocol
+X-Kopete-Version=1000900
+
X-TDE-Library=kopete_jabber
X-Kopete-Messaging-Protocol=messaging/xmpp
X-TDE-PluginInfo-Author=Kopete Developers
@@ -14,66 +15,7 @@ X-TDE-PluginInfo-Category=Protocols
X-TDE-PluginInfo-Depends=
X-TDE-PluginInfo-License=GPL
X-TDE-PluginInfo-EnabledByDefault=false
+
Name=Jabber
-Name[hi]=जैबर
-Name[ne]=ज्याबर
-Name[pa]=ਜੱਬਰ
-Name[ta]=ஜாபர்
-Comment=Protocol to connect to Jabber
-Comment[ar]=البروتوكول سيتصل بـ Jabber
-Comment[be]=Пратакол Jabber
-Comment[bg]=Протокол за връзка с Jabber
-Comment[bn]=Jabber-এ সংযোগ করতে প্রোটোকল
-Comment[br]=Komenad kevreañ ouzh Jabber
-Comment[bs]=Jabber protokol
-Comment[ca]=Protocol per a connectar-se a Jabber
-Comment[cs]=Protokol k připojení k Jabberu
-Comment[cy]=Protocol i gysylltu â Jabber
-Comment[da]=Protokol til at forbinde til Jabber
-Comment[de]=Protokoll zur Verbindung mit Jabber
-Comment[el]=Πρωτόκολλο για σύνδεση στο Jabber
-Comment[es]=Protocolo de conexión con Jabber
-Comment[et]=Protokoll ühendumiseks Jabberiga
-Comment[eu]=Jabber-era konektatzeko protokoloa
-Comment[fa]=قرارداد برای اتصال به Jabber
-Comment[fi]=Yhteyskäytäntö Jabber-verkkoon kytkeytymiseen
-Comment[fr]=Protocole pour se connecter sur Jabber
-Comment[ga]=Prótacal chun ceangal le Jabber
-Comment[gl]=Protocolo para se conectar a Jabber
-Comment[he]=פרוטוקול התחברות ל- Jabber
-Comment[hi]=जैबर से जुड़ने का प्रोटोकॉल
-Comment[hr]=Protokol za povezivanje na Jabber
-Comment[hu]=Protokoll a Jabber használatához
-Comment[is]=Samskiptamáti til að tengjast Jabber
-Comment[it]=Protocollo per connessione a Jabber
-Comment[ja]=Jabber に接続するプロトコル
-Comment[ka]=Jabberთან დაკავშირების ოქმი
-Comment[kk]=Jabber-ге қосылу протоколы
-Comment[km]=ពិធីការ​ភ្ជាប់​ទៅ Jabber
-Comment[lt]=Protokolas prisijungimui prie Jabber
-Comment[mk]=Протокол за поврзување на Jabber
-Comment[nb]=Protokoll for å koble til Jabber
-Comment[nds]=Protokoll för't Tokoppeln na Jabber
-Comment[ne]=ज्याबरमा जडान गर्ने प्रोटोकल
-Comment[nl]=Protocol voor Jabber
-Comment[nn]=Protokoll for å kopla til Jabber
-Comment[pl]=Protokół połączenia z serwerem Jabbera
-Comment[pt]=Um protocolo para se ligar ao Jabber
-Comment[pt_BR]=Protocolo para conexão ao Jabber
-Comment[ro]=Protocol de conectare la Jabber
-Comment[ru]=Протокол для подключения к Jabber
-Comment[sk]=Protokol pre pripojenie k Jabber
-Comment[sl]=Protokol za povezavo na Jabber
-Comment[sr]=Протокол за повезивање на Jabber
-Comment[sr@Latn]=Protokol za povezivanje na Jabber
-Comment[sv]=Protokoll för att ansluta till Jabber
-Comment[ta]=ஜாபருடன் இணைக்க விதிமுறை
-Comment[tg]=Қарордоди пайвастшавӣ ба Jabber
-Comment[tr]=Jabber'e bağlantı iletişim kuralı
-Comment[uk]=Протокол для з'єднання з Jabber
-Comment[uz]=Jabber uchun protokol
-Comment[uz@cyrillic]=Jabber учун протокол
-Comment[zh_CN]=连接到 Jabber 协议
-Comment[zh_HK]=用來連接至 Jabber 的通訊協定
-Comment[zh_TW]=連到 Jabber 的協定
+Comment=Protocol to connect to Jabber
diff --git a/kopete/protocols/jabber/tdeioslave/CMakeLists.txt b/kopete/protocols/jabber/tdeioslave/CMakeLists.txt
index 7a76a943..4f612b99 100644
--- a/kopete/protocols/jabber/tdeioslave/CMakeLists.txt
+++ b/kopete/protocols/jabber/tdeioslave/CMakeLists.txt
@@ -27,7 +27,11 @@ link_directories(
##### other data ################################
-install( FILES jabberdisco.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE jabberdisco.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kopete-desktops
+)
##### tdeio_jabberdisco (module) ##################
diff --git a/kopete/protocols/jabber/tdeioslave/jabberdisco.protocol b/kopete/protocols/jabber/tdeioslave/jabberdisco.protocol
index 48466876..ed3a9deb 100644
--- a/kopete/protocols/jabber/tdeioslave/jabberdisco.protocol
+++ b/kopete/protocols/jabber/tdeioslave/jabberdisco.protocol
@@ -9,45 +9,5 @@ makedir=false
linking=false
moving=false
Icon=remote
+
Description=A TDEIO slave for Jabber Service Discovery
-Description[be]=Модуль tdeioslave для пошуку сервісаў Jabber
-Description[bn]=Jabber সার্ভিস ডিসকভারির জন্য একটি কে-আই-ও স্লেভ
-Description[bs]=TDEIO slave za otkrivanje Jabber servisa
-Description[ca]=Un esclau TDEIO pel servei de de descoberta del Jabber
-Description[cs]=Pomocný protokol pro zjišťování služeb Jabber
-Description[da]=En tdeioslave til at opdage jabber service
-Description[de]=Ein Ein-/Ausgabemodul zum Auffinden von Jabber-Diensten
-Description[el]=Ένα tdeioslave για την ανίχνευση υπηρεσίας Jabber
-Description[es]=Un «tdeioslave» para el servicio de descubrimiento jabber
-Description[et]=Jabberi teenuste tuvastamise TDEIO-moodul
-Description[eu]=Jabber aurkikuntza zerbitzureako TDEIO morroi bat
-Description[fa]=یک پیرو TDEIO برای خدمت اکتشافی Jabber
-Description[fr]=Un module d'entrée / sortie pour la recherche de service Jabber
-Description[gl]=Un TDEIO slave para Jabber Service Discovery
-Description[hu]=TDE-protokoll a Jabber szolgáltatáskereső használatához
-Description[is]=tdeioslave fyrir Jabber þjónustu uppgötvun
-Description[it]=Un TDEIO slave per il servizio di discovery per Jabber
-Description[ja]=Jabber Service Discovery の TDEIO スレーブ
-Description[ka]=TDEIO slave Jabber სერვისის დირექტორიისთვის
-Description[kk]=Jabber қызметін байқау TDEIO slave қызметі
-Description[km]=TDEIO slave មួយ​សម្រាប់​របក​គំហើញ​សេវា Jabber
-Description[lt]=Priedas (tdeioslave) FISH protokolui
-Description[nb]=En tdeioslave for Jabber tjenestesøk
-Description[nds]=En In-/Utgaavmoduul för't Finnen vun Jabber-Deensten
-Description[ne]=ज्याबर सेवा खोजीका लागि कियो स्लाभ
-Description[nl]=Een tdeioslave voor Jabber Service Discovery
-Description[nn]=Ein TDEIO-slave for Jabber-tenesteoppdaging
-Description[pl]=Wtyczka protokołu TDEIO dla usługi odkrywania usług Jabbera (Jabber Service Discovery)
-Description[pt]=Um 'tdeioslave' para a Descoberta de Serviços do Jabber
-Description[pt_BR]=Um TDEIO-Slave para a descoberta de serviço do Jabber
-Description[ru]=Обработчик TDEIO для обнаружения служб Jabber
-Description[sk]=TDEIO otrok pre Jabber Service Discovery
-Description[sl]=TDEIO slave za odkrivanje storitev za Jabber
-Description[sr]=TDEIO слуга за Jabber Service Discovery
-Description[sr@Latn]=TDEIO sluga za Jabber Service Discovery
-Description[sv]=En I/O-slav för Jabber tjänstupptäckt
-Description[tr]=Jabber Servis Bulucu için KIOSlave
-Description[uk]=Підлеглий В/В для виявлення служби Jabber
-Description[zh_CN]=Jabber 服务发现的 TDEIO slave
-Description[zh_HK]=用於發現 Jabber 服務的 TDEIO slave
-Description[zh_TW]=Jabber 服務的 tdeioslave