From d36d9267539f12fdaa5a0dd18f6285e4a636e1ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 8 Jul 2020 22:39:20 +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 --- kopete/protocols/oscar/aim/CMakeLists.txt | 8 ++-- kopete/protocols/oscar/aim/kopete_aim.desktop | 64 ++------------------------ kopete/protocols/oscar/icq/CMakeLists.txt | 13 +++++- kopete/protocols/oscar/icq/kopete_icq.desktop | 65 ++------------------------- kopete/protocols/oscar/icq/x-icq.desktop | 57 +---------------------- 5 files changed, 26 insertions(+), 181 deletions(-) (limited to 'kopete/protocols/oscar') diff --git a/kopete/protocols/oscar/aim/CMakeLists.txt b/kopete/protocols/oscar/aim/CMakeLists.txt index 75230df3..2c055bb8 100644 --- a/kopete/protocols/oscar/aim/CMakeLists.txt +++ b/kopete/protocols/oscar/aim/CMakeLists.txt @@ -30,9 +30,11 @@ link_directories( ##### other data ################################ -install( FILES - kopete_aim.desktop aim.protocol - DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE kopete_aim.desktop aim.protocol + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kopete-desktops +) ##### kopete_aim (module) ####################### diff --git a/kopete/protocols/oscar/aim/kopete_aim.desktop b/kopete/protocols/oscar/aim/kopete_aim.desktop index cf590551..9a161120 100644 --- a/kopete/protocols/oscar/aim/kopete_aim.desktop +++ b/kopete/protocols/oscar/aim/kopete_aim.desktop @@ -1,8 +1,9 @@ [Desktop Entry] Type=Service -X-Kopete-Version=1000900 Icon=aim_protocol X-TDE-ServiceTypes=Kopete/Protocol +X-Kopete-Version=1000900 + X-TDE-Library=kopete_aim X-Kopete-Messaging-Protocol=messaging/aim X-TDE-PluginInfo-Author=Kopete Developers @@ -14,64 +15,7 @@ X-TDE-PluginInfo-Category=Protocols X-TDE-PluginInfo-Depends= X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-EnabledByDefault=false + Name=AIM -Name[bn]=এ-আই-এম -Name[hi]=एआरईएम -Name[ne]=एआईएम + Comment=Protocol to connect to AIM -Comment[ar]=البرتوكول سيتصل بـ AIM -Comment[be]=Пратакол AIM -Comment[bg]=Протокол за връзка с AIM -Comment[bn]=এ-আই-এমতে সংযোগ করতে প্রোটোকল -Comment[br]=Komenad kevreañ ouzh AIM -Comment[bs]=AIM protokol -Comment[ca]=Protocol per a connectar-se a AIM -Comment[cs]=Protokol k připojení k AIM -Comment[cy]=Protocol i gysylltu ag AIM -Comment[da]=Protokol til at forbinde til AIM -Comment[de]=Protokoll zur Verbindung mit dem AIM -Comment[el]=Πρωτόκολλο για σύνδεση στο AIM -Comment[es]=Protocolo para conectar a AIM -Comment[et]=Protokoll ühendumiseks AIM-iga -Comment[eu]=AIM-era konektatzeko protokoloa -Comment[fa]=قرارداد برای اتصال به AIM -Comment[fi]=Yhteyskäytäntö AIM-verkkoon kytkeytymiseen -Comment[fr]=Protocole pour se connecter sur AIM -Comment[ga]=Prótacal chun ceangal le AIM -Comment[gl]=Protocolo para se conectar ó AIM -Comment[he]=פרוטוקול התחברות ל- AIM -Comment[hi]=से जुड़ने का प्रोटोकॉल -Comment[hr]=Protokol za povezivanje na AIM -Comment[hu]=Protokoll az AIM használatához -Comment[is]=Samskiptamáti til að tengjast AIM -Comment[it]=Protocollo per connessione a AIM -Comment[ja]=AIM に接続するプロトコル -Comment[ka]=AIM დაკავშირების ოქმი -Comment[kk]=AIM-ге қосылу протоколы -Comment[km]=ពិធីការ​ភ្ជាប់​ទៅ AIM -Comment[lt]=Protokolas prisijungimui prie AIM -Comment[mk]=Протокол за поврзување на AIM -Comment[nb]=Protokoll for å koble til AIM -Comment[nds]=Protokoll för't Tokoppeln na AIM -Comment[ne]=एआईएम मा जडान गर्नुपर्ने प्रोटोकल -Comment[nl]=Protocol voor AOL Instant Messenger -Comment[nn]=Protokoll for å kopla til AIM -Comment[pl]=Protokół połączenia z serwerem AIM -Comment[pt]=Um protocolo para se ligar ao AIM -Comment[pt_BR]=Protocolo de conexão ao AIM -Comment[ro]=Protocol de conectare la AIM -Comment[ru]=Протокол для подключения к AIM -Comment[sk]=Protokol pre pripojenie k AIM -Comment[sl]=Protokol za povezavo na AIM -Comment[sr]=Протокол за повезивање на AIM -Comment[sr@Latn]=Protokol za povezivanje na AIM -Comment[sv]=Protokoll för att ansluta till AIM -Comment[ta]=IRC உடன் இணைக்க விதிமுறை -Comment[tg]=Қарордоди пайвастшавӣ ба AIM -Comment[tr]=AIM'e bağlantı iletişim kuralı -Comment[uk]=Протокол для з'єднання з AIM -Comment[uz]=AIM bilan aloqa oʻrnatish uchun protokol -Comment[uz@cyrillic]=AIM билан алоқа ўрнатиш учун протокол -Comment[zh_CN]=连接到 AIM 协议 -Comment[zh_HK]=用來連接至 AIM 的通訊協定 -Comment[zh_TW]=連線到 AIM 的協定 diff --git a/kopete/protocols/oscar/icq/CMakeLists.txt b/kopete/protocols/oscar/icq/CMakeLists.txt index 20f8b11a..8e264890 100644 --- a/kopete/protocols/oscar/icq/CMakeLists.txt +++ b/kopete/protocols/oscar/icq/CMakeLists.txt @@ -30,8 +30,17 @@ link_directories( ##### other data ################################ -install( FILES kopete_icq.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES x-icq.desktop DESTINATION ${MIME_INSTALL_DIR}/application ) +tde_create_translated_desktop( + SOURCE kopete_icq.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kopete-desktops +) + +tde_create_translated_desktop( + SOURCE x-icq.desktop + DESTINATION ${MIME_INSTALL_DIR}/application + PO_DIR kopete-desktops +) ##### kopete_icq (module) ####################### diff --git a/kopete/protocols/oscar/icq/kopete_icq.desktop b/kopete/protocols/oscar/icq/kopete_icq.desktop index 5fd121ad..852b7095 100644 --- a/kopete/protocols/oscar/icq/kopete_icq.desktop +++ b/kopete/protocols/oscar/icq/kopete_icq.desktop @@ -1,8 +1,9 @@ [Desktop Entry] Type=Service -X-Kopete-Version=1000900 Icon=icq_protocol X-TDE-ServiceTypes=Kopete/Protocol +X-Kopete-Version=1000900 + X-TDE-Library=kopete_icq X-Kopete-Messaging-Protocol=messaging/icq X-TDE-PluginInfo-Author=Kopete Developers @@ -14,65 +15,7 @@ X-TDE-PluginInfo-Category=Protocols X-TDE-PluginInfo-Depends= X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-EnabledByDefault=false + Name=ICQ -Name[bn]=আই-সি-কিউ -Name[hi]=आईसीक्यू -Name[ne]=आईसीक्यू -Comment=Protocol to connect to ICQ -Comment[ar]=البرتوكول سيتصل بـ ICQ -Comment[be]=Пратакол ICQ -Comment[bg]=Протокол за връзка с ICQ -Comment[bn]=আই-সি-কিউতে সংযোগ করতে প্রোটোকল -Comment[br]=Komenad kevreañ ouzh ICQ -Comment[bs]=ICQ protokol -Comment[ca]=Protocol per a connectar-se a ICQ -Comment[cs]=Protokol k připojení k ICQ -Comment[cy]=Protocol i gysylltu ag ICQ -Comment[da]=Protokol til at forbinde til ICQ -Comment[de]=Protokoll zur Verbindung mit ICQ -Comment[el]=Πρωτόκολλο για σύνδεση στο ICQ -Comment[es]=Protocolo de conexión de ICQ -Comment[et]=Protokoll ühendumiseks ICQ-ga -Comment[eu]=ICQ-ra konektatzeko protokoloa -Comment[fa]=قرارداد برای اتصال به ICQ -Comment[fi]=Yhteyskäytäntö ICQ-verkkoon kytkeytymiseen -Comment[fr]=Protocole pour se connecter sur ICQ -Comment[ga]=Prótacal chun ceangal le ICQ -Comment[gl]=Protocolo para se conectar á rede ICQ -Comment[he]=פרוטוקול התחברות ל- ICQ -Comment[hi]=आईसीक्यू से जुड़ने का प्रोटोकॉल -Comment[hr]=Protokol za povezivanje na ICQ -Comment[hu]=Protokoll az ICQ használatához -Comment[is]=Samskiptamáti til að tengjast ICQ -Comment[it]=Protocollo per connessione a ICQ -Comment[ja]=ICQ に接続するプロトコル -Comment[ka]=ICQ დაკავშირების ოქმი -Comment[kk]=ICQ-ге қосылу протоколы -Comment[km]=ពិធីការភ្ជាប់​ទៅ ICQ -Comment[lt]=Protokolas prisijungimui prie ICQ -Comment[mk]=Протокол за поврзување на ICQ -Comment[nb]=Protokoll for å koble til ICQ -Comment[nds]=Protokoll för't Tokoppeln na ICQ -Comment[ne]=आईसीक्यू मा जडान गर्नुपर्ने प्रोटोकल -Comment[nl]=Protocol voor ICQ -Comment[nn]=Protokoll for å kopla til ICQ -Comment[pl]=Protokół połączenia z serwerem ICQ -Comment[pt]=Um protocolo para se ligar ao ICQ -Comment[pt_BR]=Protocolo de conexão ao ICQ -Comment[ro]=Protocol de conectare la ICQ -Comment[ru]=Протокол для подключения к ICQ -Comment[sk]=Protokol pre pripojenie k ICQ -Comment[sl]=Protokol za povezavo na ICQ -Comment[sr]=Протокол за повезивање на ICQ -Comment[sr@Latn]=Protokol za povezivanje na ICQ -Comment[sv]=Protokoll för att ansluta till ICQ -Comment[ta]=ICQ உடன் இணைக்க விதிமுறை -Comment[tg]=Қарордоди пайвастшавӣ ба ICQ -Comment[tr]=ICQ'a bağlantı iletişim kuralı -Comment[uk]=Протокол для з'єднання з ICQ -Comment[uz]=ICQ bilan aloqa oʻrnatish uchun protokol -Comment[uz@cyrillic]=ICQ билан алоқа ўрнатиш учун протокол -Comment[zh_CN]=连接到 ICQ 协议 -Comment[zh_HK]=用來連接至 ICQ 的通訊協定 -Comment[zh_TW]=連線到 ICQ 的協定 +Comment=Protocol to connect to ICQ diff --git a/kopete/protocols/oscar/icq/x-icq.desktop b/kopete/protocols/oscar/icq/x-icq.desktop index 1d8b3eb2..99c7cc0f 100644 --- a/kopete/protocols/oscar/icq/x-icq.desktop +++ b/kopete/protocols/oscar/icq/x-icq.desktop @@ -1,60 +1,7 @@ [Desktop Entry] -Comment=ICQ Contact -Comment[ar]=جهة اتصال على ICQ -Comment[be]=ICQ -Comment[bg]=Връзка с ICQ Contact -Comment[bn]=আই-সি-কিউ যোগাযোগ -Comment[br]=Darempred ICQ -Comment[bs]=ICQ kontakt -Comment[ca]=Contacte ICQ -Comment[cs]=ICQ kontakt -Comment[cy]=Cysylltiad ICQ -Comment[da]=ICQ-Kontakt -Comment[de]=ICQ-Kontakt -Comment[el]=Επαφή ICQ -Comment[eo]=ICQ-kontakto -Comment[es]=Contacto de ICQ -Comment[et]=ICQ kontakt -Comment[eu]=ICQ kontaktua -Comment[fa]=تماس ICQ -Comment[fi]=ICQ-kontakti -Comment[fr]=Contact ICQ -Comment[gl]=Contacto ICQ -Comment[he]=איש-קשר ICQ -Comment[hi]=आईसीक्यू सम्पर्क -Comment[hr]=ICQ kontakt -Comment[hu]=ICQ-kapcsolat -Comment[is]=ICQ tengiliður -Comment[it]=Contatto ICQ -Comment[ja]=ICQ コンタクト -Comment[ka]=ICQ მეგობარი -Comment[kk]=ICQ байланыс -Comment[km]=ទំនាក់​ទំនង​ ICQ -Comment[lt]=ICQ kontaktas -Comment[mk]=Контакт на ICQ -Comment[nb]=ICQ kontakt -Comment[nds]=ICQ-Kontakt -Comment[ne]=आईसीक्यू सम्पर्क -Comment[nl]=ICQ contact -Comment[nn]=ICQ-kontakt -Comment[pl]=Kontakt ICQ -Comment[pt]=Contacto de ICQ -Comment[pt_BR]=Contato ICQ -Comment[ru]=Контакт ICQ -Comment[se]=ICQ-oktavuohta -Comment[sk]=Kontakt ICQ -Comment[sl]=Stik ICQ -Comment[sr]=ICQ контакт -Comment[sr@Latn]=ICQ kontakt -Comment[sv]=ICQ-kontakt -Comment[ta]=ICQ தொடர்பு -Comment[tg]=Пайвастшавии ICQ -Comment[tr]=ICQ Bağlantısı -Comment[uk]=Контакт ICQ -Comment[zh_CN]=ICQ 联系人 -Comment[zh_HK]=ICQ 聯絡人 -Comment[zh_TW]=ICQ 聯絡人 Type=MimeType MimeType=application/x-icq Patterns=*.uin;*.icq Icon=licq + +Comment=ICQ Contact -- cgit v1.2.1