diff options
author | Slávek Banko <[email protected]> | 2020-05-30 00:57:03 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-05-30 01:05:29 +0200 |
commit | d11ce98ed0b2a0508fcfbe8bb0f956e3f671ad0d (patch) | |
tree | 060933b7cc6b5aa928a37c4868330f58fb5b6294 /juk | |
parent | 77d1049eb65f4d8bd24351c5c1a8d6344bf3ec62 (diff) | |
download | tdemultimedia-d11ce98ed0b2a0508fcfbe8bb0f956e3f671ad0d.tar.gz tdemultimedia-d11ce98ed0b2a0508fcfbe8bb0f956e3f671ad0d.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 <[email protected]>
(cherry picked from commit ff3f2006ce72b2edabc534188a4ad006e89b4f84)
Diffstat (limited to 'juk')
-rw-r--r-- | juk/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | juk/CMakeLists.txt | 13 | ||||
-rw-r--r-- | juk/juk.desktop | 56 | ||||
-rw-r--r-- | juk/jukservicemenu.desktop | 55 |
4 files changed, 17 insertions, 113 deletions
diff --git a/juk/CMakeL10n.txt b/juk/CMakeL10n.txt index 07471e7d..8d2f9937 100644 --- a/juk/CMakeL10n.txt +++ b/juk/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "juk" ) + +tde_l10n_create_template( + CATALOG "desktop_files/juk-desktops/" + SOURCES *.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/juk/CMakeLists.txt b/juk/CMakeLists.txt index aed153f5..29325191 100644 --- a/juk/CMakeLists.txt +++ b/juk/CMakeLists.txt @@ -127,6 +127,15 @@ tde_add_check_executable( tagguessertest AUTOMOC ##### other data ################################ -install( FILES juk.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE juk.desktop + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/juk-desktops +) + install( FILES jukui.rc jukui-rtl.rc DESTINATION ${DATA_INSTALL_DIR}/juk ) -install( FILES jukservicemenu.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus ) + +tde_create_translated_desktop( + SOURCE jukservicemenu.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/juk-desktops +) diff --git a/juk/juk.desktop b/juk/juk.desktop index d53131a7..18c731a3 100644 --- a/juk/juk.desktop +++ b/juk/juk.desktop @@ -8,62 +8,6 @@ Terminal=false Name=JuK GenericName=Music Player -GenericName[ar]=مشغّل موسيقى -GenericName[bg]=Плеър за музикални файлове -GenericName[br]=C'hoarier ar sonerezh -GenericName[bs]=Sviranje muzike -GenericName[ca]=Reproductor musical -GenericName[cs]=Přehrávač hudby -GenericName[cy]=Chwaraewr Cerdd -GenericName[da]=Musikafspiller -GenericName[de]=Musikwiedergabe -GenericName[el]=Αναπαραγωγέας μουσικής -GenericName[eo]=Muzikludilo -GenericName[es]=Reproductor de audio -GenericName[et]=Muusika mängija -GenericName[eu]=Musika erreproduzigailua -GenericName[fa]=پخشکنندۀ موسیقی -GenericName[fi]=Musiikkisoitin -GenericName[fr]=Lecteur multimédia -GenericName[ga]=Seinnteoir Ceoil -GenericName[gl]=Reproductor de Música -GenericName[he]=נגן מוזיקה -GenericName[hi]=म्यूज़िक प्लेयर -GenericName[hu]=Zenelejátszó -GenericName[is]=Tónlistarforrit -GenericName[it]=Lettore musicale -GenericName[ja]=ミュージックプレーヤ -GenericName[kk]=Музыка ойнатқышы -GenericName[km]=កម្មវិធីចាក់តន្ត្រី -GenericName[ko]=음악 재생기 -GenericName[lt]=Muzikos grotuvas -GenericName[mk]=Изведувач на музика -GenericName[nb]=Musikkavspiller -GenericName[nds]=Musikafspeler -GenericName[ne]=सङ्गित प्लेयर -GenericName[nl]=Muziekspeler -GenericName[nn]=Musikkspelar -GenericName[pa]=ਸੰਗੀਤ ਵਾਜਾ -GenericName[pl]=Odtwarzacz muzyki -GenericName[pt]=Leitor de Música -GenericName[pt_BR]=Músicas -GenericName[ro]=Program de redare muzică -GenericName[ru]=Проигрыватель -GenericName[sk]=Prehrávač hudby -GenericName[sl]=Glasbeni predvajalnik -GenericName[sr]=Музички плејер -GenericName[sr@Latn]=Muzički plejer -GenericName[sv]=Musikspelare -GenericName[ta]=இசை இயக்கி -GenericName[tg]=Бозингари Мусиқӣ -GenericName[th]=โปรแกรมเล่นดนตรี -GenericName[tr]=Müzik Çalar -GenericName[uk]=Програвач музики -GenericName[uz]=Musiqa pleyer -GenericName[uz@cyrillic]=Мусиқа плейер -GenericName[zh_CN]=音乐播放器 -GenericName[zh_HK]=音樂播放器 -GenericName[zh_TW]=音樂播放器 MimeType=application/x-ogg;audio/mpeg;audio/mpegurl;audio/vorbis;audio/x-adpcm;audio/x-flac;audio/x-matroska;audio/x-mp2;audio/x-mp3;audio/x-mpegurl;audio/x-musepack;audio/x-oggflac;audio/x-speex;audio/x-vorbis;audio/x-wav; Categories=Qt;TDE;AudioVideo; diff --git a/juk/jukservicemenu.desktop b/juk/jukservicemenu.desktop index 0c052965..74f902a8 100644 --- a/juk/jukservicemenu.desktop +++ b/juk/jukservicemenu.desktop @@ -4,60 +4,5 @@ Actions=addToCollection [Desktop Action addToCollection] Name=Add to JuK Collection -Name[bn]=জুক সংকলনে যোগ করো -Name[br]=Ouzhpennañ d'an dastumad JuK -Name[bs]=Dodaj u JuK kolekciju -Name[ca]=Afegeix a la col·lecció JuK -Name[cs]=Přidat do JuK kolekce -Name[cy]=Ychwanegu i Gasgliad JuK -Name[da]=Tilføj til JuK-samling -Name[de]=Zur JuK-Kollektion hinzufügen -Name[el]=Προσθήκη στη συλλογή του JuK -Name[eo]=Aldoni al JuK-kolekto -Name[es]=Añadir a colección de JuK -Name[et]=Lisa JuKi kollektsiooni -Name[eu]=Gehitu Juk-en bildumara -Name[fa]=افزودن به مجموعۀ JuK -Name[fi]=Lisää JuKin kokoelmalistaan -Name[fr]=Ajouter à la collection de JuK -Name[ga]=Cuir le bailiúchán JuK -Name[gl]=Engadir á colección de JuK -Name[he]=הוסף לאוסף של Juk -Name[hi]=ज्यूक संग्रह में जोड़ें -Name[hu]=Hozzáadás egy JuK-válogatáshoz -Name[is]=Bæta við JuK safnið -Name[it]=Aggiungi alla collezione di JuK -Name[ja]=JuK コレクションに追加 -Name[kk]=JuK жинағына қосу -Name[km]=បន្ថែមទៅការប្រមូលផ្ដុំ JuK -Name[ko]=JuK 모음집에 추가하기 -Name[lt]=Pridėti prie JuK kolekcijos -Name[mk]=Додај во колекција на JuK -Name[ms]=Tambah ke koleksi JuK -Name[nb]=Legg til JuK-samling -Name[nds]=Na de JuK-Sammeln tofögen -Name[ne]=JuK सङ्कलनमा थप्नुहोस् -Name[nl]=Toevoegen aan JuK-collectie -Name[nn]=Legg til JuK-samlinga -Name[pa]=JuK ਭੰਡਾਰ 'ਚ ਸ਼ਾਮਿਲ -Name[pl]=Dodaj do kolekcji JuK -Name[pt]=Adicionar à Colecção do JuK -Name[pt_BR]=Adicionar à Coleção do Juk -Name[ro]=Adaugă în colecţia JuK -Name[ru]=Добавить в коллекцию JuK -Name[sk]=Pridať do kolekcie JuK -Name[sl]=Dodaj v zbirko JuK -Name[sr]=Додај у JuK колекцију -Name[sr@Latn]=Dodaj u JuK kolekciju -Name[sv]=Lägg till i Juk-samlingslista -Name[ta]=JuK திரட்டிக்கு சேர் -Name[tg]=Иловакунӣ ба Маҷмӯаи JuK -Name[th]=เพิ่มลงชุดสะสมของ JuK -Name[tr]=JuK Koleksiyonuna Ekle -Name[uk]=Додати до збірки JuK -Name[uz]=JuK toʻplamiga qoʻshish -Name[uz@cyrillic]=JuK тўпламига қўшиш -Name[zh_CN]=添加到 JuK 收藏 -Name[zh_TW]=新增到 JuK 收藏清單 Icon=juk Exec=dcop juk Collection "openFile(QStringList)" [ %U ] |