summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/oscar')
-rw-r--r--kopete/protocols/oscar/aim/CMakeLists.txt8
-rw-r--r--kopete/protocols/oscar/aim/kopete_aim.desktop64
-rw-r--r--kopete/protocols/oscar/icq/CMakeLists.txt13
-rw-r--r--kopete/protocols/oscar/icq/kopete_icq.desktop65
-rw-r--r--kopete/protocols/oscar/icq/x-icq.desktop57
-rw-r--r--kopete/protocols/oscar/liboscar/rtf.cc42
6 files changed, 47 insertions, 202 deletions
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
diff --git a/kopete/protocols/oscar/liboscar/rtf.cc b/kopete/protocols/oscar/liboscar/rtf.cc
index 67753b20..514c9c67 100644
--- a/kopete/protocols/oscar/liboscar/rtf.cc
+++ b/kopete/protocols/oscar/liboscar/rtf.cc
@@ -590,9 +590,9 @@ YY_MALLOC_DECL
YY_DECL
{
- register yy_state_type yy_current_state;
- register char *yy_cp, *yy_bp;
- register int yy_act;
+ yy_state_type yy_current_state;
+ char *yy_cp, *yy_bp;
+ int yy_act;
#line 46 "rtf.ll"
@@ -639,7 +639,7 @@ YY_DECL
yy_match:
do
{
- register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
+ YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
@@ -874,9 +874,9 @@ case YY_STATE_EOF(INITIAL):
static int yy_get_next_buffer()
{
- register char *dest = yy_current_buffer->yy_ch_buf;
- register char *source = yytext_ptr;
- register int number_to_move, i;
+ char *dest = yy_current_buffer->yy_ch_buf;
+ char *source = yytext_ptr;
+ int number_to_move, i;
int ret_val;
if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
@@ -1006,14 +1006,14 @@ static int yy_get_next_buffer()
static yy_state_type yy_get_previous_state()
{
- register yy_state_type yy_current_state;
- register char *yy_cp;
+ yy_state_type yy_current_state;
+ char *yy_cp;
yy_current_state = yy_start;
for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
{
- register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
+ YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
@@ -1045,10 +1045,10 @@ static yy_state_type yy_try_NUL_trans( yy_current_state )
yy_state_type yy_current_state;
#endif
{
- register int yy_is_jam;
- register char *yy_cp = yy_c_buf_p;
+ int yy_is_jam;
+ char *yy_cp = yy_c_buf_p;
- register YY_CHAR yy_c = 1;
+ YY_CHAR yy_c = 1;
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
@@ -1069,14 +1069,14 @@ yy_state_type yy_current_state;
#ifndef YY_NO_UNPUT
#ifdef YY_USE_PROTOS
-static void yyunput( int c, register char *yy_bp )
+static void yyunput( int c, char *yy_bp )
#else
static void yyunput( c, yy_bp )
int c;
-register char *yy_bp;
+char *yy_bp;
#endif
{
- register char *yy_cp = yy_c_buf_p;
+ char *yy_cp = yy_c_buf_p;
/* undo effects of setting up yytext */
*yy_cp = yy_hold_char;
@@ -1084,10 +1084,10 @@ register char *yy_bp;
if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
{ /* need to shift things up to make room */
/* +2 for EOB chars. */
- register int number_to_move = yy_n_chars + 2;
- register char *dest = &yy_current_buffer->yy_ch_buf[
+ int number_to_move = yy_n_chars + 2;
+ char *dest = &yy_current_buffer->yy_ch_buf[
yy_current_buffer->yy_buf_size + 2];
- register char *source =
+ char *source =
&yy_current_buffer->yy_ch_buf[number_to_move];
while ( source > yy_current_buffer->yy_ch_buf )
@@ -1548,7 +1548,7 @@ yyconst char *s2;
int n;
#endif
{
- register int i;
+ int i;
for ( i = 0; i < n; ++i )
s1[i] = s2[i];
}
@@ -1562,7 +1562,7 @@ static int yy_flex_strlen( s )
yyconst char *s;
#endif
{
- register int n;
+ int n;
for ( n = 0; s[n]; ++n )
;