summaryrefslogtreecommitdiffstats
path: root/kppp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp')
-rw-r--r--kppp/CMakeL10n.txt6
-rw-r--r--kppp/CMakeLists.txt5
-rw-r--r--kppp/DB/Provider/Austria/.directory48
-rw-r--r--kppp/DB/Provider/Austria/CMakeLists.txt13
-rw-r--r--kppp/DB/Provider/Belarus/.directory41
-rw-r--r--kppp/DB/Provider/Belarus/CMakeLists.txt13
-rw-r--r--kppp/DB/Provider/Czech_Republic/.directory49
-rw-r--r--kppp/DB/Provider/Czech_Republic/CMakeLists.txt14
-rw-r--r--kppp/DB/Provider/Denmark/.directory50
-rw-r--r--kppp/DB/Provider/Denmark/CMakeLists.txt13
-rw-r--r--kppp/DB/Provider/France/.directory46
-rw-r--r--kppp/DB/Provider/France/CMakeLists.txt13
-rw-r--r--kppp/DB/Provider/Germany/.directory52
-rw-r--r--kppp/DB/Provider/Germany/CMakeLists.txt14
-rw-r--r--kppp/DB/Provider/Ireland/.directory41
-rw-r--r--kppp/DB/Provider/Ireland/CMakeLists.txt13
-rw-r--r--kppp/DB/Provider/Netherlands/.directory51
-rw-r--r--kppp/DB/Provider/Netherlands/CMakeLists.txt14
-rw-r--r--kppp/DB/Provider/New_Zealand/.directory48
-rw-r--r--kppp/DB/Provider/New_Zealand/CMakeLists.txt13
-rw-r--r--kppp/DB/Provider/Norway/.directory51
-rw-r--r--kppp/DB/Provider/Norway/CMakeLists.txt13
-rw-r--r--kppp/DB/Provider/Portugal/.directory32
-rw-r--r--kppp/DB/Provider/Portugal/CMakeLists.txt13
-rw-r--r--kppp/DB/Provider/Slovenia/.directory42
-rw-r--r--kppp/DB/Provider/Slovenia/CMakeLists.txt13
-rw-r--r--kppp/DB/Provider/Sweden/.directory49
-rw-r--r--kppp/DB/Provider/Sweden/CMakeLists.txt13
-rw-r--r--kppp/DB/Provider/Switzerland/.directory46
-rw-r--r--kppp/DB/Provider/Switzerland/CMakeLists.txt13
-rw-r--r--kppp/DB/Provider/Taiwan/.directory34
-rw-r--r--kppp/DB/Provider/Taiwan/CMakeLists.txt13
-rw-r--r--kppp/DB/Provider/Ukraine/.directory49
-rw-r--r--kppp/DB/Provider/Ukraine/CMakeLists.txt13
-rw-r--r--kppp/DB/Provider/United_Kingdom/.directory52
-rw-r--r--kppp/DB/Provider/United_Kingdom/CMakeLists.txt14
-rw-r--r--kppp/DB/Provider/Yugoslavia/.directory40
-rw-r--r--kppp/DB/Provider/Yugoslavia/CMakeLists.txt12
-rw-r--r--kppp/Kppp.desktop52
-rw-r--r--kppp/logview/CMakeLists.txt7
-rw-r--r--kppp/logview/kppplogview.desktop68
-rw-r--r--kppp/opener.cpp8
-rw-r--r--kppp/requester.cpp8
43 files changed, 214 insertions, 998 deletions
diff --git a/kppp/CMakeL10n.txt b/kppp/CMakeL10n.txt
index c2c45537..80cfa7ff 100644
--- a/kppp/CMakeL10n.txt
+++ b/kppp/CMakeL10n.txt
@@ -6,3 +6,9 @@ tde_l10n_create_template(
)
tde_l10n_auto_add_subdirectories( )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kppp-desktops/"
+ SOURCES *.desktop *.directory
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kppp/CMakeLists.txt b/kppp/CMakeLists.txt
index efbaa021..6a44b600 100644
--- a/kppp/CMakeLists.txt
+++ b/kppp/CMakeLists.txt
@@ -32,7 +32,10 @@ link_directories(
##### other data ################################
-install( FILES Kppp.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE Kppp.desktop
+ PO_DIR kppp-desktops
+)
install( FILES ppp-options
DESTINATION ${SYSCONF_INSTALL_DIR}/ppp/peers
diff --git a/kppp/DB/Provider/Austria/.directory b/kppp/DB/Provider/Austria/.directory
index 9fdf220f..9ff74c5d 100644
--- a/kppp/DB/Provider/Austria/.directory
+++ b/kppp/DB/Provider/Austria/.directory
@@ -1,50 +1,2 @@
[Desktop Entry]
Name=Austria
-Name[af]=Oostenryk
-Name[ar]=النمسا
-Name[az]=Avstriya
-Name[bg]=Австрия
-Name[br]=Aostria
-Name[ca]=Àustria
-Name[cs]=Rakousko
-Name[cy]=Awstria
-Name[da]=Østrig
-Name[de]=Österreich
-Name[el]=Αυστρία
-Name[eo]=Aŭstrio
-Name[fo]=Eysturríki
-Name[fr]=Autriche
-Name[ga]=An Ostair
-Name[hi]=आस्ट्रिया
-Name[hr]=Austrija
-Name[hu]=Ausztria
-Name[ja]=オーストリア
-Name[km]=អូទ្រីស
-Name[ko]=오스트리아
-Name[lt]=Austrija
-Name[lv]=Austrija
-Name[mk]=Австрија
-Name[mn]=Австри
-Name[mt]=Awtrija
-Name[nds]=Österriek
-Name[nl]=Oostenrijk
-Name[nso]=Australia
-Name[pt]=Áustria
-Name[pt_BR]=Áustria
-Name[ru]=Австрия
-Name[se]=Nuortariika
-Name[sk]=Rakúsko
-Name[sl]=Avstrija
-Name[sr]=Аустрија
-Name[sr@Latn]=Austrija
-Name[sv]=Österrike
-Name[ta]=ஆஸ்திரியா
-Name[tg]=Австрия
-Name[tr]=Avusturya
-Name[uk]=Австрія
-Name[ven]=Ositiria
-Name[wa]=Ôtriche
-Name[zh_CN]=奥地利
-Name[zh_HK]=奧地利
-Name[zh_TW]=奧地利
-Name[zu]=I-Austriyiya
diff --git a/kppp/DB/Provider/Austria/CMakeLists.txt b/kppp/DB/Provider/Austria/CMakeLists.txt
index 968e9e5e..580f672c 100644
--- a/kppp/DB/Provider/Austria/CMakeLists.txt
+++ b/kppp/DB/Provider/Austria/CMakeLists.txt
@@ -9,6 +9,13 @@
#
#################################################
-install( FILES
- .directory Simon%032Media
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Austria )
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Austria
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES Simon%032Media
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Austria
+)
diff --git a/kppp/DB/Provider/Belarus/.directory b/kppp/DB/Provider/Belarus/.directory
index 834a5fbb..517e90b5 100644
--- a/kppp/DB/Provider/Belarus/.directory
+++ b/kppp/DB/Provider/Belarus/.directory
@@ -1,43 +1,2 @@
[Desktop Entry]
Name=Belarus
-Name[ar]=بيلاروسيا
-Name[bg]=Беларус
-Name[br]=Belarusi
-Name[ca]=Bielorússia
-Name[cs]=Bělorusko
-Name[da]=Hviderusland
-Name[de]=Weißrussland
-Name[el]=Λευκορωσία
-Name[eo]=Bjelorusio
-Name[es]=Bielorrusia
-Name[et]=Valgevene
-Name[fr]=Biélorussie
-Name[ga]=An Bhealarúis
-Name[hi]=बेलारूस
-Name[hr]=Bjelorusija
-Name[hu]=Belarusz
-Name[it]=Bielorussia
-Name[ja]=ベラルーシ
-Name[km]=បេឡារុស្ស
-Name[lt]=Baltarusija
-Name[lv]=Baltkrievu
-Name[mk]=Белорусија
-Name[nds]=Wittrussland
-Name[nl]=Wit Rusland
-Name[pl]=Białoruś
-Name[pt]=Bielorrússia
-Name[ru]=Белоруссия
-Name[se]=Vilges-Ruošša
-Name[sk]=Bielorusko
-Name[sl]=Belorusija
-Name[sr]=Белорусија
-Name[sr@Latn]=Belorusija
-Name[sv]=Vitryssland
-Name[ta]=பெலாரூஸ்
-Name[tg]=Беларусия
-Name[tr]=Beyaz Rusya
-Name[uk]=Білорусь
-Name[wa]=Belaruss
-Name[zh_CN]=白俄罗斯
-Name[zh_TW]=白俄羅斯
-Name[zu]=I Bhelarusi
diff --git a/kppp/DB/Provider/Belarus/CMakeLists.txt b/kppp/DB/Provider/Belarus/CMakeLists.txt
index a13a8d7b..14630858 100644
--- a/kppp/DB/Provider/Belarus/CMakeLists.txt
+++ b/kppp/DB/Provider/Belarus/CMakeLists.txt
@@ -9,6 +9,13 @@
#
#################################################
-install( FILES
- .directory AtlantTelecom
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Belarus )
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Belarus
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES AtlantTelecom
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Belarus
+)
diff --git a/kppp/DB/Provider/Czech_Republic/.directory b/kppp/DB/Provider/Czech_Republic/.directory
index b3db40a1..6a1238e1 100644
--- a/kppp/DB/Provider/Czech_Republic/.directory
+++ b/kppp/DB/Provider/Czech_Republic/.directory
@@ -1,52 +1,3 @@
[Desktop Entry]
Name=Czechia
-Name[af]=Czechië
-Name[ar]=التشيك
-Name[az]=Çex Respublikası
-Name[bg]=Чехия
-Name[br]=Tchekia
-Name[ca]=Txèquia
-Name[cs]=Česko
-Name[cy]=Tsiecia
-Name[da]=Tjekkiet
-Name[de]=Tschechien
-Name[el]=Τσεχία
-Name[eo]=Ĉeĥio
-Name[es]=República Checa
-Name[et]=Tšehhi
-Name[fr]=Tchéquie
-Name[ga]=Poblacht na Seice
-Name[hi]=चेक
-Name[hr]=Češka
-Name[hu]=Csehország
-Name[it]=Repubblica Ceca
-Name[ja]=チェコ
-Name[km]=ឆេក
-Name[ko]=체코
-Name[lt]=Čekija
-Name[lv]=Čehija
-Name[mk]=Чешка
-Name[mn]=Чех
-Name[mt]=Cżekia
-Name[nds]=Tschechien
-Name[nl]=Tsjechië
-Name[pl]=Czechy
-Name[pt]=República Checa
-Name[pt_BR]=República Tcheca
-Name[ru]=Чехия
-Name[se]=Čeahkka
-Name[sk]=Česko
-Name[sl]=Češka
-Name[sr]=Чешка
-Name[sr@Latn]=Češka
-Name[sv]=Tjeckien
-Name[ta]=செக்யா
-Name[tg]=Чехия
-Name[tr]=Çek Cumhuriyeti
-Name[uk]=Чехія
-Name[wa]=Tchekeye
-Name[zh_CN]=捷克共和国
-Name[zh_HK]=捷克
-Name[zh_TW]=捷克
-Name[zu]=Isi-Czechiya
diff --git a/kppp/DB/Provider/Czech_Republic/CMakeLists.txt b/kppp/DB/Provider/Czech_Republic/CMakeLists.txt
index 80a23668..a563f64d 100644
--- a/kppp/DB/Provider/Czech_Republic/CMakeLists.txt
+++ b/kppp/DB/Provider/Czech_Republic/CMakeLists.txt
@@ -9,9 +9,17 @@
#
#################################################
-install( FILES
- .directory AICOM ARsystem ASYS ApexNet BohemiaNet Brailcom
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Czech_Republic
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES
+ AICOM ARsystem ASYS ApexNet BohemiaNet Brailcom
CITYNET Contactel ES-servis Econnect Falco_computer Fortech HP-NET
INTERNET_OnLine INTERNEXT IQNET KPNQuest M-soft Nextra ProfiNet
SeverNET Video_OnLine Volny
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Czech_Republic )
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Czech_Republic
+)
diff --git a/kppp/DB/Provider/Denmark/.directory b/kppp/DB/Provider/Denmark/.directory
index a2f66e20..f8e37e2b 100644
--- a/kppp/DB/Provider/Denmark/.directory
+++ b/kppp/DB/Provider/Denmark/.directory
@@ -1,52 +1,2 @@
[Desktop Entry]
Name=Denmark
-Name[af]=Denemarke
-Name[ar]=الدنمارك
-Name[az]=Danimarka
-Name[bg]=Дания
-Name[br]=Danmark
-Name[ca]=Dinamarca
-Name[cs]=Dánsko
-Name[cy]=Denmarc
-Name[da]=Danmark
-Name[de]=Dänemark
-Name[el]=Δανία
-Name[eo]=Danlando
-Name[es]=Dinamarca
-Name[et]=Taani
-Name[fo]=Danmark
-Name[fr]=Danemark
-Name[ga]=An Danmhairg
-Name[hi]=डेनमार्क
-Name[hr]=Danska
-Name[hu]=Dánia
-Name[it]=Danimarca
-Name[ja]=デンマーク
-Name[km]=ដាណឺម៉ាក
-Name[ko]=덴마크
-Name[lt]=Danija
-Name[lv]=Dānija
-Name[mk]=Данска
-Name[mn]=Дани
-Name[mt]=Danimarka
-Name[nds]=Dänmark
-Name[nl]=Denemarken
-Name[pl]=Dania
-Name[pt]=Dinamarca
-Name[pt_BR]=Dinamarca
-Name[ru]=Дания
-Name[se]=Dánmárku
-Name[sk]=Dánsko
-Name[sl]=Danska
-Name[sr]=Данска
-Name[sr@Latn]=Danska
-Name[sv]=Danmark
-Name[ta]=டென்மார்க்
-Name[tg]=Дания
-Name[tr]=Danimarka
-Name[uk]=Данія
-Name[wa]=Daenmåtche
-Name[zh_CN]=丹麦
-Name[zh_HK]=丹麥
-Name[zh_TW]=丹麥
-Name[zu]=Isi-Denimaki
diff --git a/kppp/DB/Provider/Denmark/CMakeLists.txt b/kppp/DB/Provider/Denmark/CMakeLists.txt
index ea067265..178b02e9 100644
--- a/kppp/DB/Provider/Denmark/CMakeLists.txt
+++ b/kppp/DB/Provider/Denmark/CMakeLists.txt
@@ -9,6 +9,13 @@
#
#################################################
-install( FILES
- .directory Get2Net
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Denmark )
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Denmark
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES Get2Net
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Denmark
+)
diff --git a/kppp/DB/Provider/France/.directory b/kppp/DB/Provider/France/.directory
index d874df05..4f1e60f2 100644
--- a/kppp/DB/Provider/France/.directory
+++ b/kppp/DB/Provider/France/.directory
@@ -1,48 +1,2 @@
[Desktop Entry]
Name=France
-Name[ar]=فرنسا
-Name[az]=Fransa
-Name[bg]=Франция
-Name[br]=Frañs
-Name[ca]=França
-Name[cs]=Francie
-Name[cy]=Ffrainc
-Name[da]=Frankrig
-Name[de]=Frankreich
-Name[el]=Γαλλία
-Name[eo]=Francio
-Name[es]=Francia
-Name[et]=Prantsusmaa
-Name[ga]=An Fhrainc
-Name[hi]=फ्रांस
-Name[hr]=Francuska
-Name[hu]=Franciaország
-Name[id]=Prancis
-Name[it]=Francia
-Name[ja]=フランス
-Name[km]=បារាំង
-Name[lt]=Prancūzija
-Name[lv]=Francija
-Name[mk]=Франција
-Name[mt]=Franza
-Name[nds]=Frankriek
-Name[nl]=Frankrijk
-Name[pl]=Francja
-Name[pt]=França
-Name[pt_BR]=França
-Name[ru]=Франция
-Name[se]=Fránkriika
-Name[sk]=Francúzsko
-Name[sl]=Francija
-Name[sr]=Француска
-Name[sr@Latn]=Francuska
-Name[sv]=Frankrike
-Name[ta]=பிரான்சு
-Name[tg]=Фаронса
-Name[tr]=Fransa
-Name[uk]=Франція
-Name[ven]=Fura
-Name[xh]=Franisi
-Name[zh_CN]=法国
-Name[zh_TW]=法國
-Name[zu]=Isi Frentshi
diff --git a/kppp/DB/Provider/France/CMakeLists.txt b/kppp/DB/Provider/France/CMakeLists.txt
index de93682f..c07bd815 100644
--- a/kppp/DB/Provider/France/CMakeLists.txt
+++ b/kppp/DB/Provider/France/CMakeLists.txt
@@ -9,6 +9,13 @@
#
#################################################
-install( FILES
- .directory ClubInternetFull
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/France )
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/France
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES ClubInternetFull
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/France
+)
diff --git a/kppp/DB/Provider/Germany/.directory b/kppp/DB/Provider/Germany/.directory
index dfda7bdc..cee1a971 100644
--- a/kppp/DB/Provider/Germany/.directory
+++ b/kppp/DB/Provider/Germany/.directory
@@ -1,54 +1,2 @@
[Desktop Entry]
Name=Germany
-Name[af]=Duitsland
-Name[ar]=ألمانيا
-Name[az]=Almaniya
-Name[bg]=Германия
-Name[br]=Alamagn
-Name[ca]=Alemanya
-Name[cs]=Německo
-Name[cy]=Yr Almaen
-Name[da]=Tyskland
-Name[de]=Deutschland
-Name[el]=Γερμανία
-Name[eo]=Germanio
-Name[es]=Alemania
-Name[et]=Saksamaa
-Name[fo]=Týskland
-Name[fr]=Allemagne
-Name[ga]=An Ghearmáin
-Name[hi]=जर्मनी
-Name[hr]=Njemačka
-Name[hu]=Németország
-Name[id]=Jerman
-Name[it]=Germania
-Name[ja]=ドイツ
-Name[km]=អាល្លឺម៉ង់
-Name[ko]=독일
-Name[lt]=Vokietija
-Name[lv]=Vācija
-Name[mk]=Германија
-Name[mn]=Германи
-Name[mt]=Ġermanja
-Name[nds]=Düütschland
-Name[nl]=Duitsland
-Name[pl]=Niemcy
-Name[pt]=Alemanha
-Name[pt_BR]=Alemanha
-Name[ru]=Германия
-Name[se]=Duiska
-Name[sk]=Nemecko
-Name[sl]=Nemčija
-Name[sr]=Немачка
-Name[sr@Latn]=Nemačka
-Name[sv]=Tyskland
-Name[ta]=ஜெர்மனி
-Name[tg]=Олмон
-Name[tr]=Almanya
-Name[uk]=Німеччина
-Name[ven]=Geremani
-Name[wa]=Almagne
-Name[zh_CN]=德国
-Name[zh_HK]=德國
-Name[zh_TW]=德國
-Name[zu]=Isi-Jalimani
diff --git a/kppp/DB/Provider/Germany/CMakeLists.txt b/kppp/DB/Provider/Germany/CMakeLists.txt
index 3db5ad82..ce942332 100644
--- a/kppp/DB/Provider/Germany/CMakeLists.txt
+++ b/kppp/DB/Provider/Germany/CMakeLists.txt
@@ -9,7 +9,15 @@
#
#################################################
-install( FILES
- .directory CityWeb Netsurf FH%032Rhein%032Sieg%032%040Informatik%041
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Germany
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES
+ CityWeb Netsurf FH%032Rhein%032Sieg%032%040Informatik%041
MUC%046DE
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Germany )
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Germany
+)
diff --git a/kppp/DB/Provider/Ireland/.directory b/kppp/DB/Provider/Ireland/.directory
index a80c4851..54b536c6 100644
--- a/kppp/DB/Provider/Ireland/.directory
+++ b/kppp/DB/Provider/Ireland/.directory
@@ -1,43 +1,2 @@
[Desktop Entry]
Name=Ireland
-Name[ar]=إيرلندا
-Name[bg]=Ирландия
-Name[br]=Iwerzhon
-Name[ca]=Irlanda
-Name[cs]=Irsko
-Name[cy]=Iwerddon
-Name[da]=Irland
-Name[de]=Irland
-Name[el]=Ιρλανδία
-Name[eo]=Irlando
-Name[es]=Irlanda
-Name[et]=Iirimaa
-Name[fr]=Irlande
-Name[ga]=Éire
-Name[hi]=आयरलैंड
-Name[hr]=Irska
-Name[hu]=Írország
-Name[it]=Irlanda
-Name[ja]=アイルランド
-Name[km]=អៀរឡង់
-Name[lt]=Airija
-Name[mk]=Ирска
-Name[nds]=Irland
-Name[nl]=Ierland
-Name[pl]=Irlandia
-Name[pt]=Irlanda
-Name[pt_BR]=Irlanda
-Name[ru]=Ирландия
-Name[se]=Irlánda
-Name[sk]=Írsko
-Name[sl]=Irska
-Name[sr]=Ирска
-Name[sr@Latn]=Irska
-Name[sv]=Irland
-Name[ta]=அயர்லாந்து
-Name[tg]=Ирландия
-Name[tr]=İrlanda
-Name[uk]=Ірландія
-Name[wa]=Irlande
-Name[zh_CN]=爱尔兰
-Name[zh_TW]=愛爾蘭
diff --git a/kppp/DB/Provider/Ireland/CMakeLists.txt b/kppp/DB/Provider/Ireland/CMakeLists.txt
index 690b6b12..f6ebf834 100644
--- a/kppp/DB/Provider/Ireland/CMakeLists.txt
+++ b/kppp/DB/Provider/Ireland/CMakeLists.txt
@@ -9,6 +9,13 @@
#
#################################################
-install( FILES
- .directory Eircom IOL
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Irland )
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Irland
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES Eircom IOL
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Irland
+)
diff --git a/kppp/DB/Provider/Netherlands/.directory b/kppp/DB/Provider/Netherlands/.directory
index d8d3bbea..2cf18795 100644
--- a/kppp/DB/Provider/Netherlands/.directory
+++ b/kppp/DB/Provider/Netherlands/.directory
@@ -1,53 +1,2 @@
[Desktop Entry]
Name=Netherlands
-Name[af]=Nederland
-Name[ar]=هولندا
-Name[az]=Hollandiya
-Name[bg]=Холандия
-Name[br]=Izelvroioù
-Name[ca]=Països Baixos
-Name[cs]=Nizozemí
-Name[cy]=Yr Iseldiroedd
-Name[da]=Holland
-Name[de]=Niederlande
-Name[el]=Κάτω Χώρες
-Name[eo]=Nederlando
-Name[es]=Países Bajos
-Name[et]=Holland
-Name[fo]=Háland
-Name[fr]=Pays-Bas
-Name[ga]=An Ísiltír
-Name[hi]=नीदरलैंड्स
-Name[hr]=Nizozemska
-Name[hu]=Hollandia
-Name[id]=Belanda
-Name[it]=Paesi Bassi
-Name[ja]=オランダ
-Name[km]=ហូល្លង់
-Name[ko]=네덜란드
-Name[lt]=Olandija
-Name[lv]=Nīderlande
-Name[mk]=Холандија
-Name[mn]=Нидерланд
-Name[ms]=Belanda
-Name[nds]=Nedderlannen
-Name[nl]=Nederland
-Name[pl]=Holandia
-Name[pt]=Holanda
-Name[pt_BR]=Holanda
-Name[ru]=Нидерланды
-Name[se]=Hollánda
-Name[sk]=Holandsko
-Name[sl]=Nizozemska
-Name[sr]=Холандија
-Name[sr@Latn]=Holandija
-Name[sv]=Nederländerna
-Name[ta]=நெதர்லாந்து
-Name[tg]=Нидерландҳо
-Name[tr]=Hollanda
-Name[uk]=Нідерланди
-Name[wa]=Bas Payis
-Name[zh_CN]=荷兰
-Name[zh_HK]=荷蘭
-Name[zh_TW]=荷蘭
-Name[zu]=I-Netherlands
diff --git a/kppp/DB/Provider/Netherlands/CMakeLists.txt b/kppp/DB/Provider/Netherlands/CMakeLists.txt
index 93e61333..d854d4db 100644
--- a/kppp/DB/Provider/Netherlands/CMakeLists.txt
+++ b/kppp/DB/Provider/Netherlands/CMakeLists.txt
@@ -9,8 +9,15 @@
#
#################################################
-install( FILES
- .directory Kabelfoon HCC%032NET 12Move FlakkeeNet
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Netherlands
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES
+ Kabelfoon HCC%032NET 12Move FlakkeeNet
IntroWeb%032Hengelo%032e.o. Support%032Net FreeAcces
IntroWeb%032met%0323-cijferig%032kengetal Telebyte Bart
Freeler%032basis IntroWeb%032met%0324-cijferig%032kengetal
@@ -28,4 +35,5 @@ install( FILES
Popin Zon%0322 Energis-Ision Internet%032Acces%032Facilities
PublishNet Zon%032Gratis Euronet%032anytime Internet%032Online
Raketnet Zon%032Inclusief Euronet%032professional Interstroom Solcon
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Netherlands )
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Netherlands
+)
diff --git a/kppp/DB/Provider/New_Zealand/.directory b/kppp/DB/Provider/New_Zealand/.directory
index bac00b6e..ca517f37 100644
--- a/kppp/DB/Provider/New_Zealand/.directory
+++ b/kppp/DB/Provider/New_Zealand/.directory
@@ -1,50 +1,2 @@
[Desktop Entry]
Name=New Zealand
-Name[af]=Nuwe Seeland
-Name[ar]=نيوزيلاندا
-Name[az]=Yeni Zellandiya
-Name[bg]=Нова Зеландия
-Name[br]=Zeland nevez
-Name[ca]=Nova Zelanda
-Name[cs]=Nový Zéland
-Name[cy]=Seland Newydd
-Name[de]=Neuseeland
-Name[el]=Νέα Ζηλανδία
-Name[eo]=Novzelando
-Name[es]=Nueva Zelanda
-Name[et]=Uus-Meremaa
-Name[fr]=Nouvelle-Zélande
-Name[ga]=An Nua-Shéalainn
-Name[hi]=न्यूजीलैंड
-Name[hr]=Novi Zeland
-Name[hu]=Új-Zéland
-Name[id]=Selandia Baru
-Name[it]=Nuova Zelanda
-Name[ja]=ニュージーランド
-Name[km]=នូវែលហ៊្សេឡង់
-Name[ko]=뉴질란드
-Name[lt]=Naujoji Zelandija
-Name[lv]=JaunZēlande
-Name[mk]=Нов Зеланд
-Name[mn]=Шинэ Зеланд
-Name[nds]=Niegseeland
-Name[nl]=Nieuw Zeeland
-Name[pl]=Nowa Zelandia
-Name[pt]=Nova Zelândia
-Name[pt_BR]=Nova Zelândia
-Name[ru]=Новая Зеландия
-Name[se]=Ođđa Zealánda
-Name[sk]=Nový Zéland
-Name[sl]=Nova Zelandija
-Name[sr]=Нови Зеланд
-Name[sr@Latn]=Novi Zeland
-Name[sv]=Nya Zeeland
-Name[ta]=நியூசிலாந்து
-Name[tg]=Зеландияи Нав
-Name[tr]=Yeni Zellanda
-Name[uk]=Нова Зеландія
-Name[wa]=Nouve Zelande
-Name[zh_CN]=新西兰
-Name[zh_HK]=紐西蘭
-Name[zh_TW]=紐西蘭
-Name[zu]=I-New Zealand
diff --git a/kppp/DB/Provider/New_Zealand/CMakeLists.txt b/kppp/DB/Provider/New_Zealand/CMakeLists.txt
index 6faf9fd0..ccc59bf7 100644
--- a/kppp/DB/Provider/New_Zealand/CMakeLists.txt
+++ b/kppp/DB/Provider/New_Zealand/CMakeLists.txt
@@ -9,6 +9,13 @@
#
#################################################
-install( FILES
- .directory Paradise Voyager XTRA OrconInternet ihug
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/NewZealand )
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/NewZealand
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES Paradise Voyager XTRA OrconInternet ihug
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/NewZealand
+)
diff --git a/kppp/DB/Provider/Norway/.directory b/kppp/DB/Provider/Norway/.directory
index 48b0c178..73bbcbef 100644
--- a/kppp/DB/Provider/Norway/.directory
+++ b/kppp/DB/Provider/Norway/.directory
@@ -1,53 +1,2 @@
[Desktop Entry]
Name=Norway
-Name[af]=Noorweë
-Name[ar]=النرويج
-Name[az]=Norveç
-Name[bg]=Норвегия
-Name[br]=Norvegia
-Name[ca]=Noruega
-Name[cs]=Norsko
-Name[cy]=Norwy
-Name[da]=Norge
-Name[de]=Norwegen
-Name[el]=Νορβηγία
-Name[eo]=Norvegio
-Name[es]=Noruega
-Name[et]=Norra
-Name[fo]=Norra
-Name[fr]=Norvège
-Name[ga]=An Iorua
-Name[hi]=नार्वे
-Name[hr]=Norveška
-Name[hu]=Norvégia
-Name[id]=Norwegia
-Name[it]=Norvegia
-Name[ja]=ノルウェー
-Name[km]=ន័រវែស
-Name[ko]=노르웨이
-Name[lt]=Norvegija
-Name[lv]=Norvēģija
-Name[mk]=Норвешка
-Name[mn]=Норвеги
-Name[mt]=Norveġja
-Name[nds]=Norwegen
-Name[nl]=Noorwegen
-Name[pl]=Norwegia
-Name[pt]=Noruega
-Name[pt_BR]=Noruega
-Name[ru]=Норвегия
-Name[se]=Norga
-Name[sk]=Nórsko
-Name[sl]=Norveška
-Name[sr]=Норвешка
-Name[sr@Latn]=Norveška
-Name[sv]=Norge
-Name[ta]=நார்வே
-Name[tg]=Норвегӣ
-Name[tr]=Norveç
-Name[uk]=Норвегія
-Name[wa]=Norvedje
-Name[zh_CN]=挪威
-Name[zh_HK]=挪威
-Name[zh_TW]=挪威
-Name[zu]=I-Noweyi
diff --git a/kppp/DB/Provider/Norway/CMakeLists.txt b/kppp/DB/Provider/Norway/CMakeLists.txt
index 5495fb79..3874d2f7 100644
--- a/kppp/DB/Provider/Norway/CMakeLists.txt
+++ b/kppp/DB/Provider/Norway/CMakeLists.txt
@@ -9,6 +9,13 @@
#
#################################################
-install( FILES
- .directory Institutt%032for%032informatikk BGNett
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Norway )
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Norway
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES Institutt%032for%032informatikk BGNett
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Norway
+)
diff --git a/kppp/DB/Provider/Portugal/.directory b/kppp/DB/Provider/Portugal/.directory
index c0c00d27..35888dfe 100644
--- a/kppp/DB/Provider/Portugal/.directory
+++ b/kppp/DB/Provider/Portugal/.directory
@@ -1,34 +1,2 @@
[Desktop Entry]
Name=Portugal
-Name[ar]=البرتغال
-Name[az]=Portuqaliya
-Name[bg]=Португалия
-Name[cs]=Portugalsko
-Name[cy]=Portiwgal
-Name[el]=Πορτογαλία
-Name[eo]=Portugalo
-Name[ga]=An Phortaingéil
-Name[hi]=पुर्तगाल
-Name[hu]=Portugália
-Name[it]=Portogallo
-Name[ja]=ポルトガル
-Name[km]=ព័រទុយហ្គាល់
-Name[ko]=포르투갈
-Name[lt]=Portugalija
-Name[lv]=Portugāle
-Name[mk]=Португалија
-Name[mn]=Португали
-Name[mt]=Portugall
-Name[pl]=Portugalia
-Name[ru]=Португалия
-Name[sk]=Portugalsko
-Name[sl]=Portugalska
-Name[sr]=Португал
-Name[ta]=போர்ச்சுகல்
-Name[tg]=Португалия
-Name[tr]=Portekiz
-Name[uk]=Португалія
-Name[zh_CN]=葡萄牙
-Name[zh_HK]=葡萄牙
-Name[zh_TW]=葡萄牙
-Name[zu]=I-Phothugali
diff --git a/kppp/DB/Provider/Portugal/CMakeLists.txt b/kppp/DB/Provider/Portugal/CMakeLists.txt
index 8c44256a..1b686f8c 100644
--- a/kppp/DB/Provider/Portugal/CMakeLists.txt
+++ b/kppp/DB/Provider/Portugal/CMakeLists.txt
@@ -9,6 +9,13 @@
#
#################################################
-install( FILES
- .directory OniNet Clix Netc
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Portugal )
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Portugal
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES OniNet Clix Netc
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Portugal
+)
diff --git a/kppp/DB/Provider/Slovenia/.directory b/kppp/DB/Provider/Slovenia/.directory
index 01dc5247..da7d5512 100644
--- a/kppp/DB/Provider/Slovenia/.directory
+++ b/kppp/DB/Provider/Slovenia/.directory
@@ -1,45 +1,3 @@
[Desktop Entry]
Name=Slovenia
-Name[ar]=سلوفينيا
-Name[az]=Sloveniya
-Name[bg]=Словения
-Name[br]=Sloveni
-Name[ca]=Eslovènia
-Name[cs]=Slovinsko
-Name[da]=Slovenien
-Name[de]=Slowenien
-Name[el]=Σλοβενία
-Name[eo]=Slovenio
-Name[es]=Eslovenia
-Name[et]=Sloveenia
-Name[fr]=Slovénie
-Name[ga]=An tSlóivéin
-Name[hi]=स्लोवेनिया
-Name[hr]=Slovenija
-Name[hu]=Szlovénia
-Name[ja]=スロベニア
-Name[km]=ស្លូវ៉ានី
-Name[lt]=Slovėnija
-Name[lv]=Slovēnija
-Name[mk]=Словенија
-Name[mt]=Slovenja
-Name[nds]=Slowenien
-Name[nl]=Slovenië
-Name[pl]=Słowenia
-Name[pt]=Eslovénia
-Name[pt_BR]=Eslovênia
-Name[ru]=Словения
-Name[sk]=Slovinsko
-Name[sl]=Slovenija
-Name[sr]=Словенија
-Name[sr@Latn]=Slovenija
-Name[sv]=Slovenien
-Name[ta]=ஸ்லோவெனியா
-Name[tg]=Словения
-Name[tr]=Slovenya
-Name[uk]=Словенія
-Name[wa]=Esloveneye
-Name[zh_CN]=斯洛文尼亚
-Name[zh_TW]=斯洛伐尼亞
-Name[zu]=Isi-Sloveniya
diff --git a/kppp/DB/Provider/Slovenia/CMakeLists.txt b/kppp/DB/Provider/Slovenia/CMakeLists.txt
index e9f08388..5803678a 100644
--- a/kppp/DB/Provider/Slovenia/CMakeLists.txt
+++ b/kppp/DB/Provider/Slovenia/CMakeLists.txt
@@ -9,6 +9,13 @@
#
#################################################
-install( FILES
- AmisNet Arnes Kiss MojNet SiOL Volja
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Slovenia )
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Slovenia
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES AmisNet Arnes Kiss MojNet SiOL Volja
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Slovenia
+)
diff --git a/kppp/DB/Provider/Sweden/.directory b/kppp/DB/Provider/Sweden/.directory
index 9207acd5..4af3119b 100644
--- a/kppp/DB/Provider/Sweden/.directory
+++ b/kppp/DB/Provider/Sweden/.directory
@@ -1,51 +1,2 @@
[Desktop Entry]
Name=Sweden
-Name[af]=Swede
-Name[ar]=السويد
-Name[az]=İsveç
-Name[bg]=Швеция
-Name[ca]=Suècia
-Name[cs]=Švédsko
-Name[da]=Sverrige
-Name[de]=Schweden
-Name[el]=Σουηδία
-Name[eo]=Svedio
-Name[es]=Suecia
-Name[et]=Rootsi
-Name[fo]=Svøriki
-Name[fr]=Suède
-Name[ga]=An tSualainn
-Name[hi]=स्वीडन
-Name[hr]=Švedska
-Name[hu]=Svédország
-Name[id]=Swedia
-Name[it]=Svezia
-Name[ja]=スウェーデン
-Name[km]=ស៊ុយអែត
-Name[ko]=스웨덴
-Name[lt]=Švedija
-Name[lv]=Zviedrija
-Name[mk]=Шведска
-Name[mn]=Швед
-Name[mt]=Svezja
-Name[nl]=Zweden
-Name[pl]=Szwecja
-Name[pt]=Suécia
-Name[pt_BR]=Suécia
-Name[ru]=Швеция
-Name[se]=Ruoŧŧa
-Name[sk]=Švédsko
-Name[sl]=Švedska
-Name[sr]=Шведска
-Name[sr@Latn]=Švedska
-Name[sv]=Sverige
-Name[ta]=சுவீடன்
-Name[tg]=Шветсия
-Name[tr]=İsveç
-Name[uk]=Швеція
-Name[ven]=Swidene
-Name[wa]=Suwede
-Name[zh_CN]=瑞典
-Name[zh_HK]=瑞典
-Name[zh_TW]=瑞典
-Name[zu]=Isi-Swideni
diff --git a/kppp/DB/Provider/Sweden/CMakeLists.txt b/kppp/DB/Provider/Sweden/CMakeLists.txt
index 33803a60..0ad99e7d 100644
--- a/kppp/DB/Provider/Sweden/CMakeLists.txt
+++ b/kppp/DB/Provider/Sweden/CMakeLists.txt
@@ -9,6 +9,13 @@
#
#################################################
-install( FILES
- .directory Utfors Tiscali
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Sweden )
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Sweden
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES Utfors Tiscali
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Sweden
+)
diff --git a/kppp/DB/Provider/Switzerland/.directory b/kppp/DB/Provider/Switzerland/.directory
index ebbbd633..6ebfd65a 100644
--- a/kppp/DB/Provider/Switzerland/.directory
+++ b/kppp/DB/Provider/Switzerland/.directory
@@ -1,48 +1,2 @@
[Desktop Entry]
Name=Switzerland
-Name[ar]=سويسرا
-Name[az]=İsveçrə
-Name[bg]=Швейцария
-Name[br]=Suis
-Name[ca]=Suïssa
-Name[cs]=Švýcarsko
-Name[cy]=Y Swistir
-Name[da]=Svejts
-Name[de]=Schweitz
-Name[el]=Ελβετία
-Name[eo]=Svislando
-Name[es]=Suiza
-Name[et]=Šveits
-Name[fr]=Suisse
-Name[ga]=An Eilvéis
-Name[hi]=स्विट्जरलैंड
-Name[hr]=Švicarska
-Name[hu]=Svájc
-Name[id]=Swiss
-Name[it]=Svizzera
-Name[ja]=スイス
-Name[km]=ស្វ៊ីស
-Name[lt]=Šveicarija
-Name[lv]=Šveice
-Name[mk]=Швајцарија
-Name[mt]=Svizzera
-Name[nds]=Swiez
-Name[nl]=Zwitserland
-Name[pl]=Szwajcaria
-Name[pt]=Suíça
-Name[pt_BR]=Suíça
-Name[ru]=Швейцария
-Name[se]=Šveica
-Name[sk]=Švajčiarsko
-Name[sl]=Švica
-Name[sr]=Швајцарска
-Name[sr@Latn]=Švajcarska
-Name[sv]=Schweiz
-Name[ta]=சுவிட்சர்லாந்து
-Name[tg]=Швейтсария
-Name[tr]=İsviçre
-Name[uk]=Швейцарія
-Name[wa]=Swisse
-Name[zh_CN]=瑞士
-Name[zh_TW]=瑞士
-Name[zu]=I-Switzerland
diff --git a/kppp/DB/Provider/Switzerland/CMakeLists.txt b/kppp/DB/Provider/Switzerland/CMakeLists.txt
index 4c154f09..a620f46d 100644
--- a/kppp/DB/Provider/Switzerland/CMakeLists.txt
+++ b/kppp/DB/Provider/Switzerland/CMakeLists.txt
@@ -9,6 +9,13 @@
#
#################################################
-install( FILES
- .directory Bluewin
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Switzerland )
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Switzerland
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES Bluewin
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Switzerland
+)
diff --git a/kppp/DB/Provider/Taiwan/.directory b/kppp/DB/Provider/Taiwan/.directory
index 809fd51e..4e861a10 100644
--- a/kppp/DB/Provider/Taiwan/.directory
+++ b/kppp/DB/Provider/Taiwan/.directory
@@ -1,36 +1,2 @@
[Desktop Entry]
Name=Taiwan
-Name[ar]=تايوان
-Name[az]=Tayvan
-Name[bg]=Тайван
-Name[el]=Ταϊβάν
-Name[eo]=Tajvano
-Name[es]=Taiwán
-Name[fr]=Taïwan
-Name[ga]=An Téaváin
-Name[hi]=ताईवान
-Name[hr]=Tajvan
-Name[hu]=Tajvan
-Name[ja]=台湾
-Name[km]=តៃវ៉ាន់
-Name[ko]=대만
-Name[lt]=Taivanis
-Name[lv]=Taivāna
-Name[mk]=Тајван
-Name[mn]=Тайвань
-Name[mt]=Tajwan
-Name[pl]=Tajwan
-Name[pt]=Formosa
-Name[ru]=Тайвань
-Name[sk]=Tajvan
-Name[sl]=Tajvan
-Name[sr]=Тајван
-Name[sr@Latn]=Tajvan
-Name[ta]=தாய்வான்
-Name[tg]=Тайван
-Name[tr]=Tayvan
-Name[uk]=Тайвань
-Name[zh_CN]=中国台湾
-Name[zh_HK]=台灣
-Name[zh_TW]=台灣
-Name[zu]=I-Tayiwani
diff --git a/kppp/DB/Provider/Taiwan/CMakeLists.txt b/kppp/DB/Provider/Taiwan/CMakeLists.txt
index db820847..7b68ece7 100644
--- a/kppp/DB/Provider/Taiwan/CMakeLists.txt
+++ b/kppp/DB/Provider/Taiwan/CMakeLists.txt
@@ -9,6 +9,13 @@
#
#################################################
-install( FILES
- .directory HiNet SeedNet EraNet
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Taiwan )
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Taiwan
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES HiNet SeedNet EraNet
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Taiwan
+)
diff --git a/kppp/DB/Provider/Ukraine/.directory b/kppp/DB/Provider/Ukraine/.directory
index f9f7220a..071d77a3 100644
--- a/kppp/DB/Provider/Ukraine/.directory
+++ b/kppp/DB/Provider/Ukraine/.directory
@@ -1,51 +1,5 @@
[Desktop Entry]
Name=Ukraine
-Name[af]=Ukraïne
-Name[ar]=أوكرانيا
-Name[az]=Ukrayna
-Name[bg]=Украйна
-Name[br]=Ukraina
-Name[ca]=Ucraïna
-Name[cs]=Ukrajina
-Name[cy]=Wcrain
-Name[el]=Ουκρανία
-Name[eo]=Ukrainio
-Name[es]=Ucrania
-Name[et]=Ukraina
-Name[ga]=An Úcráin
-Name[hi]=उक्रेन
-Name[hr]=Ukrajina
-Name[hu]=Ukrajna
-Name[id]=Ukraina
-Name[it]=Ucraina
-Name[ja]=ウクライナ
-Name[km]=អ៊ុយក្រែន
-Name[ko]=우크라이나
-Name[lt]=Ukraina
-Name[lv]=Ukraina
-Name[mk]=Украина
-Name[mn]=Украин
-Name[mt]=Ukranja
-Name[nl]=Oekraïne
-Name[pl]=Ukraina
-Name[pt]=Ucrânia
-Name[pt_BR]=Ucrânia
-Name[ru]=Украина
-Name[se]=Ukraina
-Name[sk]=Ukrajina
-Name[sl]=Ukrajina
-Name[sr]=Украјина
-Name[sr@Latn]=Ukrajina
-Name[sv]=Ukraina
-Name[ta]=உக்ரெய்ன்
-Name[tg]=Украина
-Name[tr]=Ukrayna
-Name[uk]=Україна
-Name[wa]=Ucrinne
-Name[zh_CN]=乌克兰
-Name[zh_HK]=烏克蘭
-Name[zh_TW]=烏克蘭
-Name[zu]=I-Ukraine
Region=easteurope
Languages=uk
DecimalSymbol=,
@@ -60,8 +14,5 @@ PositivePrefixCurrencySymbol=false
NegativePrefixCurrencySymbol=false
PositiveMonetarySignPosition=1
NegativeMonetarySignPosition=1
-DateFormat[uk]=%a %d %b %Y
-DateFormat[ru]=%a %d %b %Y
-DateFormat[eo]=%A, la %ea de %B %Y
DateFormatShort=%d.%m.%Y
TimeFormat=%H:%M:%S
diff --git a/kppp/DB/Provider/Ukraine/CMakeLists.txt b/kppp/DB/Provider/Ukraine/CMakeLists.txt
index 0cabe731..93404cd0 100644
--- a/kppp/DB/Provider/Ukraine/CMakeLists.txt
+++ b/kppp/DB/Provider/Ukraine/CMakeLists.txt
@@ -9,6 +9,13 @@
#
#################################################
-install( FILES
- .directory Adamant IPTelecom NuVse
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Ukraine )
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Ukraine
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES Adamant IPTelecom NuVse
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Ukraine
+)
diff --git a/kppp/DB/Provider/United_Kingdom/.directory b/kppp/DB/Provider/United_Kingdom/.directory
index 9c89ef42..36ee94a0 100644
--- a/kppp/DB/Provider/United_Kingdom/.directory
+++ b/kppp/DB/Provider/United_Kingdom/.directory
@@ -1,54 +1,2 @@
[Desktop Entry]
Name=United Kingdom
-Name[af]=Vereenigde Koninkryk
-Name[ar]=المملكة المتحدة
-Name[az]=Birləşmiş Krallıq
-Name[bg]=Обединено кралство
-Name[br]=Rouantelezh Unanet
-Name[ca]=Regna Unit
-Name[cs]=Spojené království
-Name[cy]=Y Deyrnas Unedig
-Name[de]=Vereinigtes Königreich
-Name[el]=Ηνωμένο Βασίλειο
-Name[eo]=Britio
-Name[es]=Reino Unido
-Name[et]=Suurbritannia
-Name[fo]=Stórabretland
-Name[fr]=Royaume-Uni
-Name[ga]=An Ríocht Aontaithe
-Name[hi]=यूनाइटेड किंगडम
-Name[hr]=Ujedinjeno Kraljevstvo
-Name[hu]=Egyesült Királyság
-Name[id]=Inggris
-Name[it]=Regno Unito
-Name[ja]=英国
-Name[km]=ចក្រភព​អង់គ្លេស
-Name[ko]=영국
-Name[lt]=Jungtinė Karalystė
-Name[lv]=Apvienotā Karaliste
-Name[mk]=Велика Британија
-Name[mn]=Их британи
-Name[mt]=Renju Unit
-Name[nds]=Grootbritannien
-Name[nl]=Verenigd Koninkrijk
-Name[pl]=Wielka Brytania
-Name[pt]=Reino Unido
-Name[pt_BR]=Reino Unido
-Name[ru]=Великобритания
-Name[se]=Stuorrabrittania
-Name[sk]=Spojené kráľovstvo
-Name[sl]=Združeno Kraljestvo
-Name[sr]=Уједињено Краљевство
-Name[sr@Latn]=Ujedinjeno Kraljevstvo
-Name[sv]=Storbritannien
-Name[ta]=ஐக்கிய இராஜ்ஜியம்
-Name[tg]=Великобритания
-Name[tr]=İngiltere
-Name[uk]=Великобританія
-Name[ven]=Biritheini
-Name[wa]=Rweyôme Uni
-Name[xh]=United Kingdom
-Name[zh_CN]=英国
-Name[zh_HK]=聯合王國
-Name[zh_TW]=英國
-Name[zu]=United Kingdom (Ubukhosi obuhlangeneyo)
diff --git a/kppp/DB/Provider/United_Kingdom/CMakeLists.txt b/kppp/DB/Provider/United_Kingdom/CMakeLists.txt
index c8d2990f..9062ce40 100644
--- a/kppp/DB/Provider/United_Kingdom/CMakeLists.txt
+++ b/kppp/DB/Provider/United_Kingdom/CMakeLists.txt
@@ -9,9 +9,17 @@
#
#################################################
-install( FILES
- .directory FreeServe Demon%032Green%0322120666
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/United_Kingdom
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES
+ FreeServe Demon%032Green%0322120666
Demon%032Purple%0322121666 Demon%032Red%0320798666
UK%032Free%032Software%032Network%032ISDN UKPOST%032ISDN
UK%032Free%032Software%032Network%032Modem UKPOST%032Modem UTV
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/United_Kingdom )
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/United_Kingdom
+)
diff --git a/kppp/DB/Provider/Yugoslavia/.directory b/kppp/DB/Provider/Yugoslavia/.directory
index fe784846..6c7b4086 100644
--- a/kppp/DB/Provider/Yugoslavia/.directory
+++ b/kppp/DB/Provider/Yugoslavia/.directory
@@ -1,42 +1,2 @@
[Desktop Entry]
Name=Yugoslavia
-Name[ar]=يوغوسلافيا
-Name[bg]=Югославия
-Name[br]=Yougoslavi
-Name[ca]=Iugoslàvia
-Name[cs]=Jugoslávie
-Name[cy]=Iwgoslavia
-Name[da]=Jugoslavien
-Name[de]=Jugoslawien
-Name[el]=Γιουκοσλαβία
-Name[eo]=Jugoslavio
-Name[et]=Jugoslaavia
-Name[fr]=Yougoslavie
-Name[ga]=An Iúgslaiv
-Name[hi]=यूगोस्लाविया
-Name[hr]=Jugoslavija
-Name[hu]=Jugoszlávia
-Name[it]=Iugoslavia
-Name[ja]=ユーゴスラビア
-Name[km]=យូហ្គោស្លាវី
-Name[lt]=Jugoslavija
-Name[mk]=Србија и Црна Гора
-Name[nds]=Jugoslawien
-Name[nl]=Joegoslavië
-Name[pl]=Jugosławia
-Name[pt]=Jugoslávia
-Name[pt_BR]=Iugoslávia
-Name[ru]=Югославия
-Name[se]=Jugoslavia
-Name[sk]=Juhoslávia
-Name[sl]=Jugoslavija
-Name[sr]=Југославија
-Name[sr@Latn]=Jugoslavija
-Name[sv]=Jugoslavien
-Name[ta]=யுகோஸ்லோவியா
-Name[tg]=Югославия
-Name[tr]=Yugoslavya
-Name[uk]=Югославія
-Name[wa]=Yougoslaveye
-Name[zh_CN]=南斯拉夫
-Name[zh_TW]=南斯拉夫
diff --git a/kppp/DB/Provider/Yugoslavia/CMakeLists.txt b/kppp/DB/Provider/Yugoslavia/CMakeLists.txt
index ecc221d9..124e8220 100644
--- a/kppp/DB/Provider/Yugoslavia/CMakeLists.txt
+++ b/kppp/DB/Provider/Yugoslavia/CMakeLists.txt
@@ -9,11 +9,19 @@
#
#################################################
-install( FILES
+tde_create_translated_desktop(
+ SOURCE .directory
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Yugoslavia
+ PO_DIR kppp-desktops
+)
+
+install(
+ FILES
041Net CG.Berane.yu CG.HercegNovi.yu CG.Podgorica.yu DrenikNet
EUnetCacak EUnetPristina InfoSKY Sezampro CG.BijeloPolje.CG.yu
CG.Kotor.yu CG.Tivat.yu EUnet@Full EUnetKragujevac VeratNet BeoTelNet
CG.Budva.yu CG.Niksic.yu CG.Ulcinj.yu EUnet@Lite EUnetNis EUnetSombor
PTT YUBCnet CG.Bar.yu CG.Cetinje.yu CG.Pljevlja.yu CG.yu TippNet
SuOnline EUnetBeograd EUnetNoviSad EUnetSubotica SCnet
- DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Yugoslavia )
+ DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Yugoslavia
+)
diff --git a/kppp/Kppp.desktop b/kppp/Kppp.desktop
index 4a4837a3..53d88d6f 100644
--- a/kppp/Kppp.desktop
+++ b/kppp/Kppp.desktop
@@ -1,59 +1,7 @@
[Desktop Entry]
Name=KPPP
-Name[bn]=কেপিপিপ
GenericName=Internet Dial-Up Tool
-GenericName[be]=Праграма злучэння з Інтэрнэтам праз мадэм
-GenericName[bg]=Включване в Интернет
-GenericName[bn]=ইন্টারনেট ডায়াল-আপ সরঞ্জাম
-GenericName[bs]=Program za spajanje na Internet
-GenericName[ca]=Eina per a la connexió telefònica a Internet
-GenericName[cs]=Připojení přes vytáčenou linku
-GenericName[da]=Internet-opkaldsværktøj
-GenericName[de]=Einwahl ins Internet
-GenericName[el]=Εργαλείο σύνδεσης μέσω τηλεφώνου στο διαδίκτυο
-GenericName[eo]=Ilo por konekti al Interreto
-GenericName[es]=Herramienta de conexión telefónica a Internet
-GenericName[et]=Sissehelistamine
-GenericName[eu]=Internet markatzaile tresna
-GenericName[fa]=ابزار شماره‌گیری اینترنت
-GenericName[fi]=Internet-yhteyden soitto-ohjelma
-GenericName[fr]=Connexion internet par modem
-GenericName[ga]=Uirlis Diailithe Idirlín
-GenericName[gl]=Ferramenta de Conexión Telefónica a Internet
-GenericName[he]=כלי חיוג לאינטרנט
-GenericName[hr]=Program za spajanje na Internet
-GenericName[hu]=Internetes tárcsázó
-GenericName[is]=Tengjast Netinu með upphringisambandi
-GenericName[it]=Strumento per la connessione telefonica ad Internet
-GenericName[ja]=インターネットダイアルアップツール
-GenericName[ka]=ინტერნეტის Dial-Up ხელსაწყო
-GenericName[kk]=Телефондық желі арқылы Интернетке қосылу құралы
-GenericName[km]=ឧបករណ៍​ចូល​ដំណើរការ​អ៊ីនធឺណិត តាម​រយៈ​ទូរស័ព្ទ​លើ​តុ
-GenericName[lt]=Interneto skambinimo priemonė
-GenericName[mk]=Алатка за поврзување на Интернет
-GenericName[nb]=Verktøy for oppringing til Internet
-GenericName[nds]=Internetinwahl-Warktüüch
-GenericName[ne]=इन्टरनेट डायल-अप उपकरण
-GenericName[nl]=Inbelprogramma
-GenericName[nn]=Verktøy for Internett-oppringing
-GenericName[pl]=Narzędzie do łączenia telefonicznego z Internetem
-GenericName[pt]=Ferramenta de Ligação à Internet
-GenericName[pt_BR]=Ferramenta de Conexão a Internet
-GenericName[ro]=Utilitar de conectare la Internet prin telefon
-GenericName[ru]=Подключение по диалапу
-GenericName[sk]=Pripojenie na internet cez modem
-GenericName[sl]=Orodje za klicni priklop na internet
-GenericName[sr]=Алат за повезивање на Интернет
-GenericName[sr@Latn]=Alat za povezivanje na Internet
-GenericName[sv]=Uppringningsverktyg för Internet
-GenericName[ta]=இணைய அழைப்புக் கருவி
-GenericName[tg]=Асбоб барои Зангзанӣ ба Интернет
-GenericName[tr]=Çevirmeli Ağ Aracı
-GenericName[uk]=Засіб дозвону в Інтернет
-GenericName[zh_CN]=Internet 拨号工具
-GenericName[zh_HK]=互聯網撥號工具
-GenericName[zh_TW]=Internet 撥號工具
MimeType=
X-DocPath=kppp/index.html
diff --git a/kppp/logview/CMakeLists.txt b/kppp/logview/CMakeLists.txt
index 204beeb5..43d381f5 100644
--- a/kppp/logview/CMakeLists.txt
+++ b/kppp/logview/CMakeLists.txt
@@ -23,9 +23,10 @@ link_directories(
##### other data ################################
-install( FILES
- kppplogview.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kppplogview.desktop
+ PO_DIR kppp-desktops
+)
##### kppplogview (executable) ##################
diff --git a/kppp/logview/kppplogview.desktop b/kppp/logview/kppplogview.desktop
index 75a032ec..679780e8 100644
--- a/kppp/logview/kppplogview.desktop
+++ b/kppp/logview/kppplogview.desktop
@@ -1,72 +1,8 @@
[Desktop Entry]
Name=KPPPLogview
-Name[bn]=কে-পি-পি-পি লগভিউ
-Name[bs]=Preglednik Kppp dnevnika
-Name[de]=KPPP-Protokoll-Betrachter
-Name[el]=Προβολή καταγραφής KPPP
-Name[eo]=PPP-protokolorigardilo
-Name[fa]=نمای ثبت KPPP
-Name[he]=KPPP תצוגת רישום
-Name[is]=KPPP annálaskoðari
-Name[it]=Visualizzatore log KPPP
-Name[ja]=KPPP - ログビューア
-Name[lt]=KPPP – žurnalo žiūriklis
-Name[nb]=KPPP loggviser
-Name[ne]=के पी पी पी लग दृश्य
-Name[nn]=KPPP-loggvisar
-Name[pa]=KPPP ਲਾਗ ਦਰਸ਼ਕ
-Name[pl]=Dziennik połączeń KPPP
-Name[sk]=KPPP prehliadač záznamov
-Name[sl]=Ogled dnevnika KPPP
-Name[sv]=Kppp - Loggvisare
-Name[tr]=KPPP Kayıt Görüntüleyici
-Name[zh_TW]=KPPP - 紀錄檔檢視器
+
GenericName=Internet Dial-Up Tool Log Viewer
-GenericName[be]=Аглядальнік дзённікаў KPPP
-GenericName[bg]=Преглед на журнала на KPPP
-GenericName[bn]=ইন্টারনেট ডায়াল-আপ সরঞ্জাম কার্যবিবরণী প্রদর্শক
-GenericName[bs]=Program za pregled dnevnika spajanja na Internet
-GenericName[ca]=Visor de la bitàcola de l'eina de connexió telefònica a Internet
-GenericName[cs]=Prohlížeč záznamů připojení přes vytáčenou linku
-GenericName[da]=Internet-opkaldsværktøj-logviser
-GenericName[de]=Protokoll-Betrachter für die Einwahl ins Internet
-GenericName[el]=Προβολή καταγραφής εργαλείου σύνδεσης μέσω τηλεφώνου στο διαδίκτυο
-GenericName[es]=Visor del registro de conexión telefónica a Internet
-GenericName[et]=Interneti sissehelistamise rakenduse logide näitaja
-GenericName[eu]=Internet markatzaile tresnaren erregistroaren ikusgailua
-GenericName[fa]=ابزار مشاهده‌گر ثبت شماره‌گیری اینترنت
-GenericName[fi]=Internet-yhteyden soitto-ohjelman lokin näytin
-GenericName[fr]=Afficheur de l'historique des connexion internet par modem
-GenericName[gl]=Visor de Rexistros da Ferramenta de Conexión a Internet por Teléfono
-GenericName[he]=תצוגת רישום של כלי חיוג לאינטרנט
-GenericName[hu]=Tárcsázó-napló
-GenericName[is]=Upphringisambands annálaskoðari
-GenericName[it]=Visualizzatore di log della connessione telefonica ad Internet
-GenericName[ja]=インターネットダイアルアップツール ログビューア
-GenericName[ka]=ინტერნეტი Dial-Up ხელსაწყოს ჟურნალის მხილველი
-GenericName[kk]=Телефондық желі арқылы қосылудың журналын қарау құралы
-GenericName[km]=កម្មវិធី​មើល​កំណត់ហេតុរបស់ឧបករណ៍​ដែល​តភ្ជាប់​ទៅ​អ៊ីនធឺណិត​តាម​រយៈ​ទូរស័ព្ទ​លើ​តុ
-GenericName[lt]=Interneto skambinimo priemonės žurnalo žiūriklis
-GenericName[nb]=Loggviser for verktøyet for oppringt Internet
-GenericName[nds]=Protokollkieker för Internetinwahl
-GenericName[ne]=इन्टरनेट डायल-अप उपकरण लग दर्शक
-GenericName[nl]=Logviewer voor het inbelprogramma kppp
-GenericName[nn]=Loggvisar for verktøyet for Internett-oppringing
-GenericName[pl]=Narzędzie do przeglądania dziennika programu do łączenia z Internetem
-GenericName[pt]=Visualizador de Registos da Ferramenta de Ligação à Internet
-GenericName[pt_BR]=Visualizador de Logs do KPPP
-GenericName[ro]=Jurnal conectare Internet
-GenericName[ru]=Просмотр журнала соединения с Интернетом посредством телефонной линии
-GenericName[sk]=Prehliadač záznamov nástroja pre pripojenie na internet cez modem
-GenericName[sl]=Orodje za ogled dnevnika KPPP
-GenericName[sr]=Приказивач дневника модемске везе са Интернетом
-GenericName[sr@Latn]=Prikazivač dnevnika modemske veze sa Internetom
-GenericName[sv]=Loggvisning för Internetuppringningsverktyg
-GenericName[tr]=İnternet Çevirmeli Ağ Aracı Kayıt Görüntüleyici
-GenericName[uk]=Переглядач журналу засобу дозвону в Інтернет
-GenericName[zh_CN]=Internet 拨号工具日志查看器
-GenericName[zh_HK]=互聯網撥號工具記錄檢視器
-GenericName[zh_TW]=Internet 撥號工具紀錄檢視器
+
MimeType=
Exec=kppplogview
Icon=kppp
diff --git a/kppp/opener.cpp b/kppp/opener.cpp
index 5d90cc0e..7628681b 100644
--- a/kppp/opener.cpp
+++ b/kppp/opener.cpp
@@ -342,7 +342,13 @@ void Opener::mainLoop() {
//
int Opener::sendFD(int fd, struct ResponseHeader *response) {
- struct { struct cmsghdr cmsg; int fd; } control;
+ union {
+ struct {
+ char _cmsg[sizeof(struct cmsghdr)];
+ char data[sizeof(int)]; // int fd field
+ };
+ struct cmsghdr cmsg;
+ } control;
struct msghdr msg;
struct iovec iov;
diff --git a/kppp/requester.cpp b/kppp/requester.cpp
index b5450929..016d72fa 100644
--- a/kppp/requester.cpp
+++ b/kppp/requester.cpp
@@ -80,7 +80,13 @@ Requester::~Requester() {
// Receive file name and file descriptors from envoy
//
int Requester::recvFD() {
- struct { struct cmsghdr cmsg; int fd; } control;
+ union {
+ struct {
+ char _cmsg[sizeof(struct cmsghdr)];
+ char data[sizeof(int)]; // int fd field
+ };
+ struct cmsghdr cmsg;
+ } control;
struct msghdr msg;
struct ResponseHeader response;