summaryrefslogtreecommitdiffstats
path: root/kaddressbook/views
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-12 16:15:10 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-14 19:26:10 +0200
commit3e868d844c44aab62fd1324e52872afd1f706cd3 (patch)
treeb3c06badd9b8f004ae92024d53c8bf15b8849cf0 /kaddressbook/views
parent9d2dbcebff2529124b4a522d3714b308548ee9ec (diff)
downloadtdepim-3e868d844c44aab62fd1324e52872afd1f706cd3.tar.gz
tdepim-3e868d844c44aab62fd1324e52872afd1f706cd3.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 <slavek.banko@axis.cz> (cherry picked from commit 0d3043b6308af148da06ac14c53defc4b1e7e138)
Diffstat (limited to 'kaddressbook/views')
-rw-r--r--kaddressbook/views/CMakeLists.txt8
-rw-r--r--kaddressbook/views/cardview.desktop60
-rw-r--r--kaddressbook/views/iconview.desktop73
-rw-r--r--kaddressbook/views/tableview.desktop61
4 files changed, 14 insertions, 188 deletions
diff --git a/kaddressbook/views/CMakeLists.txt b/kaddressbook/views/CMakeLists.txt
index e97fc29e2..9bc4509ac 100644
--- a/kaddressbook/views/CMakeLists.txt
+++ b/kaddressbook/views/CMakeLists.txt
@@ -29,9 +29,11 @@ link_directories(
##### other data ################################
-install( FILES
- cardview.desktop iconview.desktop tableview.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/kaddressbook )
+tde_create_translated_desktop(
+ SOURCE cardview.desktop iconview.desktop tableview.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kaddressbook
+ PO_DIR kaddressbook-desktops
+)
##### libkaddrbk_cardview (module) ##############
diff --git a/kaddressbook/views/cardview.desktop b/kaddressbook/views/cardview.desktop
index 1b72a5b9b..015bc313e 100644
--- a/kaddressbook/views/cardview.desktop
+++ b/kaddressbook/views/cardview.desktop
@@ -1,61 +1,7 @@
[Desktop Entry]
-X-TDE-Library=libkaddrbk_cardview
-Name=Card View
-Name[af]=Kaard Aansig
-Name[ar]=عرض البظاقة
-Name[be]=У выглядзе картак
-Name[bg]=Преглед като карти
-Name[br]=Gwell ar c'hartennoù
-Name[bs]=Pogled kartice
-Name[ca]=Vista de targeta
-Name[cs]=Pohled s kartičkami
-Name[cy]=Gweld Cerdyn
-Name[da]=Kort-visning
-Name[de]=Visitenkarten-Betrachter
-Name[el]=Προβολή καρτών
-Name[eo]=Kartrigardo
-Name[es]=Vista de tarjeta
-Name[et]=Kaardivaade
-Name[eu]=Txartel ikuspegia
-Name[fa]=نمای کارت
-Name[fi]=Korttinäkymä
-Name[fr]=Vue en cartes
-Name[fy]=Kaartwerjefte
-Name[gl]=Vista de tarxetas
-Name[he]=תצוגת כרטיס
-Name[hi]=कार्ड दृश्य
-Name[hu]=Kártyanézet
-Name[is]=Spjaldsýn
-Name[it]=Vista scheda
-Name[ja]=カードビュー
-Name[kk]=Визитка
-Name[km]=ទិដ្ឋភាព​កាត
-Name[lt]=Kortelės vaizdas
-Name[mk]=Преглед со картички
-Name[ms]=Pelihat Kad
-Name[nb]=Kortvisning
-Name[nds]=Visitenkoort-Kieker
-Name[ne]=कार्ड दृश्य
-Name[nl]=Kaartweergave
-Name[nn]=Kortvising
-Name[pa]=ਕਾਰਡ ਦਰਿਸ਼
-Name[pl]=Widok kartek
-Name[pt]=Vista em Cartões
-Name[pt_BR]=Visualização de Cartão
-Name[ro]=Vizualizare card
-Name[ru]=Карточки
-Name[se]=Goartačájeheapmi
-Name[sk]=Prezeranie karty
-Name[sl]=Kartični prikaz
-Name[sr]=Приказ са картицама
-Name[sr@Latn]=Prikaz sa karticama
-Name[sv]=Kortvy
-Name[ta]=அட்டைக் காட்சி
-Name[tg]=Варақа
-Name[tr]=Kart Görünümü
-Name[uk]=Вигляд картками
-Name[zh_CN]=卡片视图
-Name[zh_TW]=卡片檢視
Type=Service
+X-TDE-Library=libkaddrbk_cardview
X-TDE-ServiceTypes=KAddressBook/View
X-TDE-KAddressBook-ViewPluginVersion=1
+
+Name=Card View
diff --git a/kaddressbook/views/iconview.desktop b/kaddressbook/views/iconview.desktop
index 43c5d387a..0f384ff5a 100644
--- a/kaddressbook/views/iconview.desktop
+++ b/kaddressbook/views/iconview.desktop
@@ -1,74 +1,7 @@
[Desktop Entry]
-X-TDE-Library=libkaddrbk_iconview
-Name=Icon View
-Name[af]=Ikoon Aansig
-Name[ar]=عرض الأيقونات
-Name[az]=Timsal Görünüşü
-Name[be]=У выглядзе піктаграмаў
-Name[bg]=Преглед като икони
-Name[br]=Gwel Arlun
-Name[bs]=Ikone
-Name[ca]=Vista d'icona
-Name[cs]=Pohled s ikonami
-Name[cy]=Gweld Eicon
-Name[da]=Ikon-visning
-Name[de]=Symbolansicht
-Name[el]=Προβολή εικονιδίων
-Name[eo]=Piktogramrigardo
-Name[es]=Vista de icono
-Name[et]=Ikoonivaade
-Name[eu]=Ikono ikuspegia
-Name[fa]=نمای شمایل
-Name[fi]=Kuvakenäkymä
-Name[fr]=Icônes
-Name[fy]=Byldkaikewerjefte
-Name[ga]=Amharc Deilbhíní
-Name[gl]=Vista en iconas
-Name[he]=תצוגת סמלים
-Name[hi]=प्रतीक दृश्य
-Name[hr]=Ikonski pogled
-Name[hu]=Ikonos nézet
-Name[id]=Tampilan Ikon
-Name[is]=Táknmyndasýn
-Name[it]=Vista a icone
-Name[ja]=アイコンビュー
-Name[kk]=Таңбаша
-Name[km]=ទិដ្ឋភាព​រូបតំណាង
-Name[lt]=Rodyti piktogramas
-Name[lv]=Ikonu Skatījums
-Name[mk]=Преглед со икони
-Name[ms]=Pelihat Ikon
-Name[mt]=Ikoni
-Name[nb]=Ikonvisning
-Name[nds]=Lüttbildansicht
-Name[ne]=प्रतिमा दृश्य
-Name[nl]=Pictogramweergave
-Name[nn]=Ikonvising
-Name[pa]=ਆਈਕਾਨ ਦਰਿਸ਼
-Name[pl]=Widok ikon
-Name[pt]=Vista por Ícones
-Name[pt_BR]=Visualização de Ícone
-Name[ro]=Vizualizare iconică
-Name[ru]=Значки
-Name[rw]=Igaragaza ry'Agashushondanga
-Name[se]=Govaščájeheapmi
-Name[sk]=Prehliadanie ikon
-Name[sl]=Ikoniziran prikaz
-Name[sr]=Приказ са иконама
-Name[sr@Latn]=Prikaz sa ikonama
-Name[sv]=Ikonvy
-Name[ta]=சின்னத்தின் காட்சி
-Name[tg]=Ишоротҳо
-Name[th]=มุมมองแบบไอคอน
-Name[tr]=Simge Görünümü
-Name[uk]=Вигляд піктограмами
-Name[uz]=Нишонча кўринишида
-Name[ven]=Mbonalelo ya aikhono
-Name[vi]=Xem icon
-Name[xh]=Imboniselo ye Icon
-Name[zh_CN]=图标视图
-Name[zh_TW]=圖示檢視
-Name[zu]=Umboniso we Icon
Type=Service
+X-TDE-Library=libkaddrbk_iconview
X-TDE-ServiceTypes=KAddressBook/View
X-TDE-KAddressBook-ViewPluginVersion=1
+
+Name=Icon View
diff --git a/kaddressbook/views/tableview.desktop b/kaddressbook/views/tableview.desktop
index dccf7566d..3ba5eaf3e 100644
--- a/kaddressbook/views/tableview.desktop
+++ b/kaddressbook/views/tableview.desktop
@@ -1,62 +1,7 @@
[Desktop Entry]
-X-TDE-Library=libkaddrbk_tableview
-Name=Table View
-Name[af]=Tabel Aansig
-Name[ar]=عرض الجدول
-Name[be]=У выглядзе табліцы
-Name[bg]=Преглед в таблица
-Name[br]=Gwel taolenn
-Name[bs]=Pogled tabele
-Name[ca]=Vista de taula
-Name[cs]=Tabulkový pohled
-Name[cy]=Golwg Tabl
-Name[da]=Tabel-visning
-Name[de]=Tabellenansicht
-Name[el]=Προβολή πίνακα
-Name[eo]=Tabelrigardo
-Name[es]=Vista de tabla
-Name[et]=Tabelivaade
-Name[eu]=Taula ikupegia
-Name[fa]=نمای جدول
-Name[fi]=Taulukkonäkymä
-Name[fr]=Vue en tableaux
-Name[fy]=Tabelwerjefte
-Name[gl]=Vista de árbore
-Name[he]=תצוגת טבלה
-Name[hi]=टेबल दृश्य
-Name[hu]=Táblázatos nézet
-Name[is]=Töflusýn
-Name[it]=Vista tabella
-Name[ja]=テーブルビュー
-Name[kk]=Кесте
-Name[km]=ទិដ្ឋភាព​តារាង
-Name[lt]=Lentelės vaizdas
-Name[mk]=Преглед со табела
-Name[ms]=Pelihat Jadual
-Name[nb]=Tabellvisning
-Name[nds]=Tabellansicht
-Name[ne]=तालिका दृश्य
-Name[nl]=Tabelweergave
-Name[nn]=Tabellvising
-Name[pa]=ਸਾਰਣੀ ਦਰਿਸ਼
-Name[pl]=Widok tabeli
-Name[pt]=Vista em Tabela
-Name[pt_BR]=Visualização de Tabela
-Name[ro]=Vizualizare tabel
-Name[ru]=Таблица
-Name[se]=Tabeallačájeheapmi
-Name[sk]=Prezeranie tabuľky
-Name[sl]=Tabelarični prikaz
-Name[sr]=Табеларни приказ
-Name[sr@Latn]=Tabelarni prikaz
-Name[sv]=Tabellvy
-Name[ta]=அட்டவணை காட்சி
-Name[tg]=Ҷадвал
-Name[tr]=Tablo Görünümü
-Name[uk]=Вигляд таблицею
-Name[uz]=Жадвал кўринишида
-Name[zh_CN]=表格视图
-Name[zh_TW]=表格檢視
Type=Service
+X-TDE-Library=libkaddrbk_tableview
X-TDE-ServiceTypes=KAddressBook/View
X-TDE-KAddressBook-ViewPluginVersion=1
+
+Name=Table View