summaryrefslogtreecommitdiffstats
path: root/kfloppy
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-24 15:49:49 +0200
commita1066b66a7b397f1cdac40d6970b9640184fe8f6 (patch)
tree023614a603e30a1f7a3ae99c3bbc366fcb4b2178 /kfloppy
parent2f27665e4d477b9016dc38bf4d83945a371f9c0d (diff)
downloadtdeutils-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 'kfloppy')
-rw-r--r--kfloppy/CMakeL10n.txt6
-rw-r--r--kfloppy/CMakeLists.txt13
-rw-r--r--kfloppy/KFloppy.desktop69
-rw-r--r--kfloppy/floppy_format.desktop44
4 files changed, 13 insertions, 119 deletions
diff --git a/kfloppy/CMakeL10n.txt b/kfloppy/CMakeL10n.txt
index 332898e..bd54920 100644
--- a/kfloppy/CMakeL10n.txt
+++ b/kfloppy/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kfloppy" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kfloppy-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kfloppy/CMakeLists.txt b/kfloppy/CMakeLists.txt
index d5ed6bc..8100afc 100644
--- a/kfloppy/CMakeLists.txt
+++ b/kfloppy/CMakeLists.txt
@@ -38,12 +38,13 @@ tde_install_icons( kfloppy)
##### other data ################################
-install( FILES KFloppy.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
+tde_create_translated_desktop(
+ SOURCE KFloppy.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kfloppy-desktops
)
-install( FILES floppy_format.desktop
- DESTINATION
- ${DATA_INSTALL_DIR}/konqueror/servicemenus
+tde_create_translated_desktop(
+ SOURCE floppy_format.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kfloppy-desktops
)
-
diff --git a/kfloppy/KFloppy.desktop b/kfloppy/KFloppy.desktop
index 28789d2..50d3fee 100644
--- a/kfloppy/KFloppy.desktop
+++ b/kfloppy/KFloppy.desktop
@@ -1,76 +1,7 @@
[Desktop Entry]
Name=KFloppy
-Name[hi]=केफ़्लॉपी
GenericName=Floppy Formatter
-GenericName[af]=Sagteskyf Formateerder
-GenericName[ar]=مهئ الأقراص المرنة
-GenericName[az]=Disket Şəkilləndirici
-GenericName[bg]=Форматиране на дискети
-GenericName[br]=Furmader pladennig
-GenericName[bs]=Formatiranje disketa
-GenericName[ca]=Formatador de disquet
-GenericName[cs]=Formátovač disket
-GenericName[cy]=Fformatio Disg Meddal
-GenericName[da]=Disketteformatering
-GenericName[de]=Diskettenformatierung
-GenericName[el]=Εργαλείο διαμόρφωσης δισκέτας
-GenericName[eo]=Formatilo por disketoj
-GenericName[es]=Formateador de disquetes
-GenericName[et]=Diskettide vormindamise utiliit
-GenericName[eu]=Diskete Eratzailea
-GenericName[fa]=قالب‌بندی‌کنندۀ فلاپی
-GenericName[fi]=Levykkeiden alustusohjelma
-GenericName[fr]=Outil de formatage de disquette
-GenericName[ga]=Uirlis Fhormáidithe Dioscaí Boga
-GenericName[gl]=Formatador de Disquetes
-GenericName[he]=מאתחל תקליטונים
-GenericName[hi]=फ़्लॉपी फार्मेटर
-GenericName[hr]=Formatiranje disketa
-GenericName[hu]=Floppy-formázó
-GenericName[id]=Pemformat disket
-GenericName[is]=Tól til að forsníða disklinga
-GenericName[it]=Formattatore di dischetti
-GenericName[ja]=フロッピーをフォーマット
-GenericName[ka]=დისკეტის დამფორმატებელი
-GenericName[kk]=Иілгіш дискін пішімдеу
-GenericName[km]=កម្មវិធី​ធ្វើទ្រង់ទ្រាយ​ថាស់ទន់
-GenericName[ko]=플로피 디스크를 포맷해주는 도구
-GenericName[lt]=Diskelio formatavimas
-GenericName[lv]=Diskešu Formatētājs
-GenericName[mk]=Форматирање на дискети
-GenericName[ms]=Pengformat Cakera Liut
-GenericName[mt]=Għodda biex tifformattja floppies
-GenericName[nb]=Diskettformaterer
-GenericName[nds]=Diskettformaterer
-GenericName[ne]=फ्लपी ढाँचाकर्ता
-GenericName[nl]=Diskettes formatteren
-GenericName[nn]=Formaterer diskettar
-GenericName[pa]=ਫਲਾਪੀ ਫਾਰਮਿਟਰ
-GenericName[pl]=Program formatujący dyskietki
-GenericName[pt]=Formatação de Disquetes
-GenericName[pt_BR]=Formatador de disquetes
-GenericName[ro]=Formator floppy-disc-uri
-GenericName[ru]=Форматирование дискет
-GenericName[sk]=Formátovanie diskiet
-GenericName[sl]=Formatiranje disket
-GenericName[sr]=Форматирање дискета
-GenericName[sr@Latn]=Formatiranje disketa
-GenericName[sv]=Formatera disketter
-GenericName[ta]=நெகிழ்வட்டு வடிவமைப்பான்
-GenericName[tg]=Шаклбанднамоии Диски Нарм
-GenericName[th]=เครื่องมือฟอร์แมตแผ่นฟลอปปี้้
-GenericName[tr]=Disket Biçimlendirici
-GenericName[uk]=Відформатувати дискету
-GenericName[uz]=Disketni formatlagich
-GenericName[uz@cyrillic]=Дискетни форматлагич
-GenericName[ven]=Muvhekanyi wa Floppy
-GenericName[vi]=Trình định dạng đĩa
-GenericName[wa]=Usteye po-z abwesner des plaketes
-GenericName[xh]=Floppy formata
-GenericName[zh_CN]=软盘格式化程序
-GenericName[zh_TW]=軟碟格式化程式
-GenericName[zu]=Umakhi we-floppy
X-DocPath=kfloppy/index.html
Exec=kfloppy -caption "%c" %i %m
diff --git a/kfloppy/floppy_format.desktop b/kfloppy/floppy_format.desktop
index 847c6ca..01be639 100644
--- a/kfloppy/floppy_format.desktop
+++ b/kfloppy/floppy_format.desktop
@@ -2,50 +2,6 @@
Exec=kfloppy %u
Icon=kfloppy
Name=Format
-Name[ar]=تهيئة
-Name[bg]=Форматиране
-Name[br]=Furmadiñ
-Name[ca]=Dona format
-Name[cs]=Formátovat
-Name[cy]=Fformat
-Name[de]=Formatieren
-Name[el]=Διαμόρφωση
-Name[eo]=Formato
-Name[es]=Formatear
-Name[et]=Vorminda
-Name[fa]=قالب‌بندی
-Name[fr]=Formater
-Name[ga]=Formáid
-Name[he]=פורמט
-Name[hu]=Formázás
-Name[is]=Forsníða
-Name[it]=Formatta
-Name[ja]=フォーマット
-Name[ka]=ფორმატი
-Name[kk]=Дискетаны пішімдеу
-Name[km]=ធ្វើ​ទ្រង់ទ្រាយ
-Name[lt]=Formatas
-Name[nds]=Formateren
-Name[ne]=ढाँचा
-Name[nl]=Formatteren
-Name[nn]=Formater
-Name[pa]=ਫਾਰਮਿਟ
-Name[pl]=Formatuj
-Name[pt]=Formatar
-Name[pt_BR]=Formatar
-Name[ru]=Форматирование дискет
-Name[rw]=Imiterere
-Name[sk]=Formátovanie
-Name[sl]=Formatiraj
-Name[sr]=Форматирај
-Name[sr@Latn]=Formatiraj
-Name[tr]=Biçimlendir
-Name[uk]=Форматування
-Name[uz]=Formatlash
-Name[uz@cyrillic]=Форматлаш
-Name[wa]=Abwesner
-Name[zh_CN]=格式化
-Name[zh_TW]=格式化
[Desktop Entry]
Actions=Format;