diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-22 02:49:40 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-24 15:49:49 +0200 |
commit | a1066b66a7b397f1cdac40d6970b9640184fe8f6 (patch) | |
tree | 023614a603e30a1f7a3ae99c3bbc366fcb4b2178 /khexedit/parts | |
parent | 2f27665e4d477b9016dc38bf4d83945a371f9c0d (diff) | |
download | tdeutils-a1066b66a7b397f1cdac40d6970b9640184fe8f6.tar.gz tdeutils-a1066b66a7b397f1cdac40d6970b9640184fe8f6.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 296306a273438f476ab2266d1c03616de1fd5ef7)
Diffstat (limited to 'khexedit/parts')
-rw-r--r-- | khexedit/parts/kbytesedit/CMakeLists.txt | 5 | ||||
-rw-r--r-- | khexedit/parts/kbytesedit/kbyteseditwidget.desktop | 46 | ||||
-rw-r--r-- | khexedit/parts/kpart/CMakeLists.txt | 5 | ||||
-rw-r--r-- | khexedit/parts/kpart/khexedit2part.desktop | 91 |
4 files changed, 6 insertions, 141 deletions
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 |