summaryrefslogtreecommitdiffstats
path: root/khexedit
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-22 02:49:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-22 02:49:40 +0200
commit296306a273438f476ab2266d1c03616de1fd5ef7 (patch)
tree7788ff1608858031d0b9816452591f2c62f42bc0 /khexedit
parent5422ccd94be4a116b9334fb3b350c3a07ff7505e (diff)
downloadtdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.tar.gz
tdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.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>
Diffstat (limited to 'khexedit')
-rw-r--r--khexedit/CMakeL10n.txt6
-rw-r--r--khexedit/CMakeLists.txt6
-rw-r--r--khexedit/khexedit.desktop63
-rw-r--r--khexedit/parts/kbytesedit/CMakeLists.txt5
-rw-r--r--khexedit/parts/kbytesedit/kbyteseditwidget.desktop46
-rw-r--r--khexedit/parts/kpart/CMakeLists.txt5
-rw-r--r--khexedit/parts/kpart/khexedit2part.desktop91
7 files changed, 15 insertions, 207 deletions
diff --git a/khexedit/CMakeL10n.txt b/khexedit/CMakeL10n.txt
index d7b16bd..91dbdec 100644
--- a/khexedit/CMakeL10n.txt
+++ b/khexedit/CMakeL10n.txt
@@ -2,4 +2,10 @@
tde_l10n_create_template( "khexedit" )
+tde_l10n_create_template(
+ CATALOG "desktop_files/khexedit-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
+
tde_l10n_auto_add_subdirectories( )
diff --git a/khexedit/CMakeLists.txt b/khexedit/CMakeLists.txt
index 89323d2..661218b 100644
--- a/khexedit/CMakeLists.txt
+++ b/khexedit/CMakeLists.txt
@@ -55,7 +55,7 @@ install( FILES khexeditui.rc
DESTINATION ${DATA_INSTALL_DIR}/khexedit
)
-install( FILES khexedit.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
+tde_create_translated_desktop(
+ SOURCE khexedit.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/khexedit-desktops
)
-
diff --git a/khexedit/khexedit.desktop b/khexedit/khexedit.desktop
index 725c2a0..1696058 100644
--- a/khexedit/khexedit.desktop
+++ b/khexedit/khexedit.desktop
@@ -1,70 +1,7 @@
[Desktop Entry]
Name=KHexEdit
-Name[hi]=केहेक्सएडिट
GenericName=Binary Editor
-GenericName[af]=Binêre Redigeerder
-GenericName[ar]=محرر ثنائى
-GenericName[bg]=Двоичен редактор
-GenericName[br]=Aozer binarel
-GenericName[bs]=Binarni editor
-GenericName[ca]=Editor binari
-GenericName[cs]=Binární editor
-GenericName[cy]=Golygydd Deuaidd
-GenericName[da]=Binær editor
-GenericName[de]=Binäreditor
-GenericName[el]=Επεξεργαστής δυαδικών αρχείων
-GenericName[eo]=Deksesuma redaktilo
-GenericName[es]=Editor binario
-GenericName[et]=Binaarfailide redaktor
-GenericName[eu]=Editore Binarioa
-GenericName[fa]=ویرایشگر دوگانی
-GenericName[fi]=Binäärieditori
-GenericName[fr]=Éditeur hexadécimal
-GenericName[ga]=Eagarthóir Dénártha
-GenericName[he]=עורך בינרי
-GenericName[hi]=द्विचर संपादक
-GenericName[hr]=Binarni uređivač
-GenericName[hu]=Hexaszerkesztő
-GenericName[is]=Tvíunda-ritill
-GenericName[it]=Editor binario
-GenericName[ja]=バイナリエディタ
-GenericName[ka]=ბინარული რედაქტორი
-GenericName[kk]=Бинарлық редактор
-GenericName[km]=កម្មវិធី​និពន្ធ​គោលពីរ
-GenericName[lt]=Dvejetainio kodo redaktorius
-GenericName[lv]=Binārais Redaktors
-GenericName[mk]=Бинарен уредувач
-GenericName[ms]=Penyunting Binari
-GenericName[mt]=Editur binarju
-GenericName[nb]=Binærredigerer
-GenericName[nds]=Hexeditor
-GenericName[ne]=बाइनरी सम्पादक
-GenericName[nl]=Binaire bestanden bewerken
-GenericName[nn]=Program for binærredingerig
-GenericName[pa]=ਬਾਈਨਰੀ ਸੰਪਾਦਕ
-GenericName[pl]=Editor Binarny
-GenericName[pt]=Editor Binário
-GenericName[pt_BR]=Editor de Binários
-GenericName[ro]=Editor date binare
-GenericName[ru]=Двоичный редактор
-GenericName[sk]=Binárny editor
-GenericName[sl]=Binarni urejevalnik
-GenericName[sr]=Уређивач бинарних фајлова
-GenericName[sr@Latn]=Uređivač binarnih fajlova
-GenericName[sv]=Binäreditor
-GenericName[ta]=இருநிலை தொகுப்பான்
-GenericName[tg]=Муҳаррири Дуӣ
-GenericName[th]=เครื่องมือแก้ไขเลขฐาน
-GenericName[tr]=İkili dosya düzenleyici
-GenericName[uk]=Двійковий редактор
-GenericName[ven]=Musengulusi kavhili
-GenericName[vi]=Trình biên tập nhị phân
-GenericName[wa]=Aspougneu binaire
-GenericName[xh]=Umphathi Webhetri
-GenericName[zh_CN]=二进制编辑器
-GenericName[zh_TW]=二進位編輯器
-GenericName[zu]=Umhleli Ohambisana ngambili
Exec=khexedit -caption "%c" %i %m %U
Icon=khexedit
diff --git a/khexedit/parts/kbytesedit/CMakeLists.txt b/khexedit/parts/kbytesedit/CMakeLists.txt
index aece7ca..82ef357 100644
--- a/khexedit/parts/kbytesedit/CMakeLists.txt
+++ b/khexedit/parts/kbytesedit/CMakeLists.txt
@@ -35,7 +35,8 @@ tde_add_kpart( libkbyteseditwidget AUTOMOC
##### other data ################################
-install( FILES kbyteseditwidget.desktop
+tde_create_translated_desktop(
+ SOURCE kbyteseditwidget.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/khexdedit-desktops
)
-
diff --git a/khexedit/parts/kbytesedit/kbyteseditwidget.desktop b/khexedit/parts/kbytesedit/kbyteseditwidget.desktop
index acaad7d..fc5ff7f 100644
--- a/khexedit/parts/kbytesedit/kbyteseditwidget.desktop
+++ b/khexedit/parts/kbytesedit/kbyteseditwidget.desktop
@@ -1,52 +1,6 @@
[Desktop Entry]
Type=Service
Name=BytesEdit Widget
-Name[ar]=كائن BytesEdit
-Name[bg]=Модул за двоично редактиране на файлове
-Name[bs]=BytesEdit grafički element
-Name[ca]=Estri BytesEdit
-Name[cy]=Celfigyn GolyguBeit
-Name[de]=BytesEdit-Bedienelement
-Name[el]=Γραφικό συστατικό BytesEdit
-Name[eo]=BytesEdit-fenestraĵo
-Name[es]=Ventana de edición de bytes
-Name[et]=Baitide redigeerimise komponent
-Name[eu]=Byteak Editatzeko Widget-a
-Name[fa]=عنصر ویرایش بایت
-Name[fi]=BytesEdit käyttöliittymäkomponentti
-Name[fr]=Composant éditeur binaire
-Name[ga]=Giuirléid BytesEdit
-Name[he]=פריט עורך הביטויים הסדירים
-Name[hi]=बाइट्स-एडिट विजेट
-Name[hu]=BytesEdit grafikus elem
-Name[is]=Græja til að sýsla með bætaskrár
-Name[it]=Elemento grafico editor di byte
-Name[ja]=バイトエディットウィジェット
-Name[kk]=Бинарлы деректерді өңдеу бөлшегі
-Name[km]=វត្ថុមើលឃើញ BytesEdit
-Name[lt]=BytesEdit valdiklis
-Name[mk]=BytesEdit - графичка контрола
-Name[nb]=BytesEdit skjermelement
-Name[nds]=BytesEdit-Bedeenelement
-Name[ne]=बाइट सम्पादन विजेट
-Name[nn]=BytesEdit-skjermelement
-Name[pa]=ਬਾਈਟ ਸੋਧ ਸਹਾਇਕ
-Name[pl]=Okienko BytesEdit
-Name[pt]=Editor de Bytes
-Name[pt_BR]=Widget do Editor de Bytes
-Name[ro]=Componentă de editare octeţi
-Name[ru]=Виджет редактирования двоичных данных
-Name[sk]=Prvok BytesEdit
-Name[sl]=Gradnik BytesEdit
-Name[sr]=Контрола за бинарно уређивање
-Name[sr@Latn]=Kontrola za binarno uređivanje
-Name[sv]=Grafisk komponent för att redigera binärdata
-Name[ta]= பைட்ஸ்தொகுப்பு சாளரம்
-Name[tg]=Элементи Таҳрири Додаҳои Дуӣ
-Name[uk]=Віджет побайтового редагування
-Name[zh_CN]=字节编辑部件
-Name[zh_TW]=位元編輯器元件
X-TDE-Library=libkbyteseditwidget
X-TDE-InitialPreference=2
X-TDE-ServiceTypes=KHexEdit/KBytesEdit
-
diff --git a/khexedit/parts/kpart/CMakeLists.txt b/khexedit/parts/kpart/CMakeLists.txt
index 9efb479..11217e4 100644
--- a/khexedit/parts/kpart/CMakeLists.txt
+++ b/khexedit/parts/kpart/CMakeLists.txt
@@ -36,11 +36,12 @@ tde_add_kpart( libkhexedit2part AUTOMOC
##### other data ################################
-install( FILES khexedit2part.desktop
+tde_create_translated_desktop(
+ SOURCE khexedit2part.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/khexedit-desktops
)
install( FILES khexedit2partui.rc
DESTINATION ${DATA_INSTALL_DIR}/khexedit2part
)
-
diff --git a/khexedit/parts/kpart/khexedit2part.desktop b/khexedit/parts/kpart/khexedit2part.desktop
index 63ef55a..3cf7bfd 100644
--- a/khexedit/parts/kpart/khexedit2part.desktop
+++ b/khexedit/parts/kpart/khexedit2part.desktop
@@ -2,98 +2,7 @@
Type=Service
Icon=khexedit
Name=Embedded Binary Viewer
-Name[ar]=عارض ثنائى مدمج
-Name[bg]=Вграден двоичен преглед
-Name[br]=Gweler HTML enframmus
-Name[bs]=Ugrađeni preglednik binarnih datoteka
-Name[ca]=Visor binari encastat
-Name[cs]=Zabudovaný binární prohlížeč
-Name[da]=Indlejret binær fremviser
-Name[de]=Eingebettetes Anzeigeprogramm für Binärdateien
-Name[el]=Ενσωματωμένος προβολέας δυαδικών αρχείων
-Name[eo]=Enkonstruita duum-rigardilo
-Name[es]=Visor binario empotrado
-Name[et]=Põimitud binaarfailide näitaja
-Name[eu]=Ikusgailu binario txertagarria
-Name[fa]=مشاهده‌گر دوگانی نهفته
-Name[fi]=Sulautettu binääritiedostojen näytin
-Name[fr]=Afficheur de binaires intégré
-Name[ga]=Amharcán Leabaithe Dénártha
-Name[he]=עורך הקסאדצימלי משובץ
-Name[hu]=Beágyazott nézegető bináris fájlokhoz
-Name[is]=Innbyggður tvíundakerfisskoðari
-Name[it]=Visore binario integrabile
-Name[ja]=埋め込みバイナリビューア
-Name[kk]=Ендірілетін бинарлық қарау құралы
-Name[km]=កម្មវិធី​មើល​គោលពីរ​ដែល​បាន​បង្កប់
-Name[lt]=Įdedama dvejetainių duomenų žiūryklė
-Name[nb]=Innebygget Binærfremviser
-Name[nds]=Inbett Bineerdaten-Kieker
-Name[ne]=सम्मिलित बाइनरी दर्शक
-Name[nl]=Ingebedde binaire viewer
-Name[nn]=Innebygd binærframvisar
-Name[pa]=ਸ਼ਾਮਲ ਬਾਈਨਰੀ ਦਰਸ਼ਕ
-Name[pl]=Wbudowana przeglądarka binarna
-Name[pt]=Visualizador Binário Incorporado
-Name[pt_BR]=Visualizador Binário Embutido
-Name[ru]=Компонент просмотра двоичных данных
-Name[sk]=Vložený binárny prezerač
-Name[sl]=Vgrajen binarni pregledovalnik
-Name[sr]=Уградиви приказивач бинарног
-Name[sr@Latn]=Ugradivi prikazivač binarnog
-Name[sv]=Inbäddad binärvisning
-Name[ta]=உட்பொதிந்த இருநிலை காட்சியாளன்
-Name[tr]=Gömülü İkili dosya Görüntüleyici
-Name[uk]=Вбудований переглядач для двійкових даних
-Name[zh_CN]=嵌入式二进制查看器
-Name[zh_TW]=嵌入式二進位顯示器
Comment=Embedded Binary Viewer
-Comment[ar]=عارض ثنائى مدمج
-Comment[bg]=Вградена програма за преглед на двоични файлове
-Comment[br]=Gweler HTML enframmus
-Comment[bs]=Ugrađeni preglednik binarnih datoteka
-Comment[ca]=Visor binari encastat
-Comment[cs]=Zabudovaný binární prohlížeč
-Comment[da]=Indlejret binær fremviser
-Comment[de]=Eingebettetes Anzeigeprogramm für Binärdateien
-Comment[el]=Ενσωματωμένος προβολέας δυαδικών αρχείων
-Comment[eo]=Enkonstruita duum-rigardilo
-Comment[es]=Visor binario empotrado
-Comment[et]=Põimitud binaarfailide näitaja
-Comment[eu]=Ikusgailu binario txertagarria
-Comment[fa]=مشاهده‌گر دوگانی نهفته
-Comment[fi]=Sulautettu binääritiedostojen näytin
-Comment[fr]=Afficheur de binaires intégré
-Comment[ga]=Amharcán Leabaithe Dénártha
-Comment[he]=עורך הקסאדצימלי משובץ
-Comment[hu]=Beágyazott fájlmegjelenítő bináris fájlokhoz
-Comment[is]=Innbyggður tvíundakerfisskoðari
-Comment[it]=Visore binario integrabile
-Comment[ja]=埋め込みバイナリビューア
-Comment[ka]=ჩაშენებული ბინარული დამთვალიერებელი
-Comment[kk]=Ендірілетін бинарлық қарау құралы
-Comment[km]=កម្មវិធី​មើល​គោលពីរ​ដែល​បាន​បង្កប់
-Comment[lt]=Įdedama dvejetainių duomenų žiūryklė
-Comment[nb]=Innebygget Binærfremviser
-Comment[nds]=Inbett Bineerdaten-Kieker
-Comment[ne]=सम्मिलित बाइनरी दर्शक
-Comment[nl]=Ingebedde binaire viewer
-Comment[nn]=Innebygd binærframvisar
-Comment[pa]=ਸ਼ਾਮਲ ਬਾਈਨਰੀ ਦਰਸ਼ਕ
-Comment[pl]=Wbudowana przeglądarka binarna
-Comment[pt]=Visualizador Binário Incorporado
-Comment[pt_BR]=Visualizador Binário Embutido
-Comment[ru]=Компонент просмотра двоичных данных
-Comment[sk]=Vložený binárny prezerač
-Comment[sl]=Vgrajen binarni pregledovalnik
-Comment[sr]=Уградиви приказивач бинарног
-Comment[sr@Latn]=Ugradivi prikazivač binarnog
-Comment[sv]=Inbäddad binärvisning
-Comment[ta]=உட்பொதிந்த இருநிலை காட்சியாளன்
-Comment[tr]=Gömülü İkili dosya Görüntüleyici
-Comment[uk]=Вбудований переглядач для двійкових даних
-Comment[zh_CN]=嵌入式二进制查看器
-Comment[zh_TW]=嵌入式二進位顯示器
#MimeType=all/allfiles
MimeType=application/octet-stream
X-TDE-ServiceTypes=KParts/ReadOnlyPart,Browser/View