summaryrefslogtreecommitdiffstats
path: root/noatun
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-30 00:57:03 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-30 00:57:05 +0200
commitff3f2006ce72b2edabc534188a4ad006e89b4f84 (patch)
treec81f41ffa6e329ddadd048e07b553af2154f5e16 /noatun
parent9817ad52c6376ae54f5e4e4d11a31d958cc85faa (diff)
downloadtdemultimedia-ff3f2006ce72b2edabc534188a4ad006e89b4f84.tar.gz
tdemultimedia-ff3f2006ce72b2edabc534188a4ad006e89b4f84.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 'noatun')
-rw-r--r--noatun/CMakeL10n.txt6
-rw-r--r--noatun/CMakeLists.txt7
-rw-r--r--noatun/modules/winskin/mimetypes/interface/CMakeLists.txt6
-rw-r--r--noatun/modules/winskin/mimetypes/interface/x-winamp-skin.desktop52
-rw-r--r--noatun/noatun.desktop63
5 files changed, 17 insertions, 117 deletions
diff --git a/noatun/CMakeL10n.txt b/noatun/CMakeL10n.txt
index 9c56f4a6..220a9507 100644
--- a/noatun/CMakeL10n.txt
+++ b/noatun/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "noatun" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/noatun-desktops/"
+ SOURCES noatun.desktop modules/*.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/noatun/CMakeLists.txt b/noatun/CMakeLists.txt
index df9f15b4..dc2a6817 100644
--- a/noatun/CMakeLists.txt
+++ b/noatun/CMakeLists.txt
@@ -56,8 +56,13 @@ add_custom_target( noatun.api
##### other data ################################
-install( FILES noatun.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE noatun.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/noatun-desktops
+)
+
install( FILES noatun.upd DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update )
+
install(
FILES
preset.dance preset.jazz preset.metal preset.trance preset.zero
diff --git a/noatun/modules/winskin/mimetypes/interface/CMakeLists.txt b/noatun/modules/winskin/mimetypes/interface/CMakeLists.txt
index a9cc6098..10bb320c 100644
--- a/noatun/modules/winskin/mimetypes/interface/CMakeLists.txt
+++ b/noatun/modules/winskin/mimetypes/interface/CMakeLists.txt
@@ -9,4 +9,8 @@
#
#################################################
-install( FILES x-winamp-skin.desktop DESTINATION ${MIME_INSTALL_DIR}/interface )
+tde_create_translated_desktop(
+ SOURCE x-winamp-skin.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/interface
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/noatun-desktops
+)
diff --git a/noatun/modules/winskin/mimetypes/interface/x-winamp-skin.desktop b/noatun/modules/winskin/mimetypes/interface/x-winamp-skin.desktop
index 0794ee47..542e80dd 100644
--- a/noatun/modules/winskin/mimetypes/interface/x-winamp-skin.desktop
+++ b/noatun/modules/winskin/mimetypes/interface/x-winamp-skin.desktop
@@ -4,55 +4,3 @@ MimeType=interface/x-winamp-skin
Icon=application-x-kcsrc
Patterns=*.wsz;*.WSZ
Comment=Compressed Winamp Skin
-Comment[bg]=Компресирана тема за Winamp
-Comment[bn]=কম্প্রেস করা উইন-অ্যাম্প স্কিন
-Comment[br]=Kroc'hen Winamp gwasket
-Comment[bs]=Komprimirani Winamp skin
-Comment[ca]=Aparença Winamp comprimida
-Comment[cs]=Komprimovaný Winamp skin
-Comment[cy]=Croen Winamp cywasgedig
-Comment[da]=Komprimeret Winamp-forside
-Comment[de]=Komprimierte Winamp-Oberfläche
-Comment[el]=Συμπιεσμένο θέμα Winamp
-Comment[eo]=Kunpremita Winamp-etoso
-Comment[es]=Piel comprimida de Winamp
-Comment[et]=Winampi pakitud kest (skin)
-Comment[eu]=Winamp azal konprimitua
-Comment[fa]=Winamp Skin فشرده
-Comment[fi]=Pakattu Winamp-nahka
-Comment[fr]=Revêtement Winamp compacté
-Comment[gl]=Pel de Winamp Comprimida
-Comment[he]=Winamp דחוס של Skin
-Comment[hi]=संपीडित विनएम्प स्किन
-Comment[hu]=Tömörített Winamp-kinézet
-Comment[is]=Þjappað Winamp-skin
-Comment[it]=Skin di Winamp compressa
-Comment[ja]=圧縮された Winamp のスキン
-Comment[kk]=Сығылған Winamp тысы
-Comment[km]=ស្បែក Winamp បាន​បង្ហាប់
-Comment[ko]=압축된 Winamp 스킨
-Comment[lt]=Suglaudintas Winamp pavidalas
-Comment[mk]=Компресирана маска Winamp
-Comment[nb]=Komprimert Winamp-ham
-Comment[nds]=Komprimeert Winamp-Böversiet
-Comment[ne]=सङ्कुचित विन्याप स्किन
-Comment[nl]=Gecomprimeerde Winamp-skin
-Comment[nn]=Komprimert Winamp-drakt
-Comment[pl]=Skompresowana skóra Winampa
-Comment[pt]=Aspecto Comprimido do Winamp
-Comment[pt_BR]=Skin do Winamp comprimido
-Comment[ro]=Interfaţă Winamp comprimată
-Comment[ru]=Сжатая тема Winamp
-Comment[sk]=Komprimované rozhranie pre Winamp
-Comment[sl]=Stisnjena preobleka za Winamp
-Comment[sr]=Компресован Winamp-ов скин
-Comment[sr@Latn]=Kompresovan Winamp-ov skin
-Comment[sv]=Komprimerat Winamp-skal
-Comment[ta]=அழுத்தப்பட்ட வின் ஆம்ப் அலங்கார அமைப்பு
-Comment[tg]=Намуди Фишурдашудаи Winamp
-Comment[th]=หน้ากากวินแอมป์บีบอัด Compress
-Comment[tr]=Sıkıştırılmış Winamp Teması
-Comment[uk]=Стиснутий жупан Winamp
-Comment[zh_CN]=压缩的 Winamp 皮肤
-Comment[zh_HK]=已壓縮的 Winamp skin
-Comment[zh_TW]=壓縮的 Winamp 面板
diff --git a/noatun/noatun.desktop b/noatun/noatun.desktop
index 36915ba6..ddce7618 100644
--- a/noatun/noatun.desktop
+++ b/noatun/noatun.desktop
@@ -8,69 +8,6 @@ MimeType=audio/x-mp3;audio/x-mp2;audio/mpeg;audio/vorbis;application/ogg;audio/x
Name=Noatun
GenericName=Media Player
-GenericName[af]=Media Speler
-GenericName[ar]=مشغل وسائط
-GenericName[bg]=Мултимедиен плеър
-GenericName[bn]=মিডিয়া প্লেয়ার
-GenericName[br]=Soner liesvedia
-GenericName[ca]=Reproductor multimèdia
-GenericName[cs]=Přehrávač médií
-GenericName[cy]=Chwaraeydd Cyfryngau
-GenericName[da]=Medieafspiller
-GenericName[de]=Medienwiedergabe
-GenericName[el]=Αναπαραγωγέας μέσων
-GenericName[eo]=Ludilo por sonor-dosieroj
-GenericName[es]=Reproductor multimedia
-GenericName[et]=Multimeedia mängija
-GenericName[eu]=Euskarri erreproduzigailua
-GenericName[fa]=پخش‌کنندۀ رسانه
-GenericName[fi]=Mediasoitin
-GenericName[fr]=Lecteur multimédia
-GenericName[ga]=Seinnteoir Meán
-GenericName[gl]=Reproductor Multimedia
-GenericName[he]=נגן מדיה
-GenericName[hi]=मीडिया प्लेयर
-GenericName[hu]=Médialejátszó
-GenericName[is]=Margmiðlunarforrit
-GenericName[it]=Lettore multimediale
-GenericName[ja]=メディアプレーヤ
-GenericName[kk]=Media ойнатқышы
-GenericName[km]=កម្មវិធី​ចាក់​មេ​ឌៀ
-GenericName[ko]=미디어 재생기
-GenericName[lt]=Media grotuvas
-GenericName[lv]=Mēdiju Atskaņotājs
-GenericName[mk]=Медијaплеер
-GenericName[nb]=Mediaspiller
-GenericName[nds]=Medienafspeler
-GenericName[ne]=मिडिया प्लेयर
-GenericName[nl]=Mediaspeler
-GenericName[nn]=Mediespelar
-GenericName[pa]=ਸੰਗੀਤ ਵਾਜਾ
-GenericName[pl]=Odtwarzacz multimedialny
-GenericName[pt]=Leitor Multimédia
-GenericName[pt_BR]=Reprodutor de Mídia
-GenericName[ro]=Program de redare multimedia
-GenericName[ru]=Медиаплеер
-GenericName[se]=Mediačuojaheaddji
-GenericName[sk]=Prehrávač médií
-GenericName[sl]=Večpredstavnostni predvajalnik
-GenericName[sr]=Медија плејер
-GenericName[sr@Latn]=Medija plejer
-GenericName[sv]=Mediaspelare
-GenericName[ta]=ஊடக இயக்கி
-GenericName[tg]=Бозингари Расона
-GenericName[th]=โปรแกรมเล่นแฟ้มสื่อ
-GenericName[tr]=Medya Yürütücüsü
-GenericName[uk]=Програвач медіа-матеріалів
-GenericName[uz]=Media pleyer
-GenericName[uz@cyrillic]=Медиа плейер
-GenericName[ven]=Tshitambi tsha Media
-GenericName[wa]=Djouweu multimedia
-GenericName[xh]=Umdlali we Midia
-GenericName[zh_CN]=媒体播放器
-GenericName[zh_HK]=媒體播放器
-GenericName[zh_TW]=媒體播放器
-GenericName[zu]=Umdlali Womculo
Terminal=false
X-TDE-InitialPreference=6