summaryrefslogtreecommitdiffstats
path: root/arts/builder
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 01:05:29 +0200
commitd11ce98ed0b2a0508fcfbe8bb0f956e3f671ad0d (patch)
tree060933b7cc6b5aa928a37c4868330f58fb5b6294 /arts/builder
parent77d1049eb65f4d8bd24351c5c1a8d6344bf3ec62 (diff)
downloadtdemultimedia-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 <slavek.banko@axis.cz> (cherry picked from commit ff3f2006ce72b2edabc534188a4ad006e89b4f84)
Diffstat (limited to 'arts/builder')
-rw-r--r--arts/builder/CMakeL10n.txt6
-rw-r--r--arts/builder/CMakeLists.txt13
-rw-r--r--arts/builder/artsbuilder.desktop108
-rw-r--r--arts/builder/x-artsbuilder.desktop51
4 files changed, 17 insertions, 161 deletions
diff --git a/arts/builder/CMakeL10n.txt b/arts/builder/CMakeL10n.txt
index 26be0947..4a434e77 100644
--- a/arts/builder/CMakeL10n.txt
+++ b/arts/builder/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "artsbuilder" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/artsbuilder-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/arts/builder/CMakeLists.txt b/arts/builder/CMakeLists.txt
index 9cb93b4c..2e350faa 100644
--- a/arts/builder/CMakeLists.txt
+++ b/arts/builder/CMakeLists.txt
@@ -54,6 +54,15 @@ add_custom_target(
##### other data ################################
-install( FILES artsbuilder.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES x-artsbuilder.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
+tde_create_translated_desktop(
+ SOURCE artsbuilder.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/artsbuilder-desktops
+)
+
+tde_create_translated_desktop(
+ SOURCE x-artsbuilder.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/application
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/artsbuilder-desktops
+)
+
install( FILES artsbuilderui.rc DESTINATION ${DATA_INSTALL_DIR}/artsbuilder )
diff --git a/arts/builder/artsbuilder.desktop b/arts/builder/artsbuilder.desktop
index 766f656c..c27a83af 100644
--- a/arts/builder/artsbuilder.desktop
+++ b/arts/builder/artsbuilder.desktop
@@ -1,114 +1,6 @@
[Desktop Entry]
Name=aRts Builder
-Name[af]=Arts Builder
-Name[ar]=باني Arts
-Name[bn]=আর্ট্‌স্ বিল্ডার
-Name[br]=arts Builder
-Name[ca]=Constructor aRts
-Name[cs]=Konstruktér aRts
-Name[cy]=Adeiladwr aRts
-Name[da]=aRts-bygger
-Name[de]=aRts-Builder
-Name[eo]=aRts-Sonkreilo
-Name[et]=aRtsi ehitaja
-Name[fa]=سازندۀ aRts
-Name[fi]=aRts-rakentaja
-Name[fr]=aRtsBuilder
-Name[gl]=Construtor aRts
-Name[hi]=एआरटीएस बिल्डर
-Name[hu]=aRts-modellező
-Name[is]=aRts-smiður
-Name[it]=Costruttore per aRts
-Name[ja]=aRts ビルダー
-Name[kk]=aRts құрастырғышы
-Name[km]=កម្មវិធី​បង្កើត aRts
-Name[ko]=aRts 빌더
-Name[lt]=aRts komponuoklis
-Name[lv]=aRts Būvētājs
-Name[mk]=Градител на aRts
-Name[nb]=aRts-bygger
-Name[nds]=aRts-Builder
-Name[ne]=aRts निर्माता
-Name[nn]=aRts-byggjar
-Name[pa]=aRts ਨਿਰਮਾਤਾ
-Name[pl]=Arts Builder
-Name[pt]=Construtor do aRts
-Name[pt_BR]=Construtor Arts
-Name[ru]=artsbuilder
-Name[se]=aRts-huksejeaddji
-Name[sl]=Graditelj aRts
-Name[sr]=Градитељ Rts-а
-Name[sr@Latn]=Graditelj Rts-a
-Name[sv]=Arts-byggare
-Name[ta]=aRts உருவாக்கி
-Name[tg]=Созандаи aRts
-Name[tr]=aRts
-Name[ven]=Mufhati wa aRts
-Name[xh]=Umakhi we aRts
-Name[zh_CN]=aRts 构建程序
-Name[zu]=Umakhi We aRts
GenericName=Audio Filter Designer
-GenericName[af]=Audio Filter Ontwerper
-GenericName[bg]=Аудио дизайнер
-GenericName[bn]=অডিও ফিল্টার ডিসাইনার
-GenericName[br]=Ergrafer sil klevet
-GenericName[bs]=Dizajner audio filtera
-GenericName[ca]=Dissenyador de filtres àudio
-GenericName[cs]=Návrhář zvukových filtrů
-GenericName[cy]=Dylunydd Hidl Sain
-GenericName[da]=Audiofilter-designer
-GenericName[de]=Audiofilter-Designer
-GenericName[el]=Σχεδιαστής φίλτρων ήχου
-GenericName[eo]=Aŭdfiltrilo-desegnilo
-GenericName[es]=Diseñador de filtros de audio
-GenericName[et]=Audiofiltrite disainer
-GenericName[eu]=Audio iragazki diseinatzailea
-GenericName[fa]=طراح پالایۀ صوتی
-GenericName[fi]=Äänisuodattimien suunnitteluohjelma
-GenericName[fr]=Concepteur de filtre audio
-GenericName[ga]=Dearthóir Scagaire Fuaime
-GenericName[gl]=Deseñador de Filtros de Son
-GenericName[he]=מעצב מסנני שמע
-GenericName[hi]=ध्वनि फ़िल्टर डिजाइनर
-GenericName[hr]=Dizajner audio filtara
-GenericName[hu]=Hangszűrő-tervező
-GenericName[is]=Hljóðsíuhönnuður
-GenericName[it]=Disegnatore di filtro audio
-GenericName[ja]=オーディオフィルタデザイナー
-GenericName[kk]=Аудио сүзгі құрастырғышы
-GenericName[km]=កម្មវិធី​រចនាតម្រង​អូ​ឌីយូ​
-GenericName[ko]=오디오 필터 디자이너
-GenericName[lt]=Audio filtrų kūrimo priemonė
-GenericName[mk]=Изработувач на филтри за звук
-GenericName[ms]=Pereka Penapis Audio
-GenericName[nb]=Lydfilterdesigner
-GenericName[nds]=Klangfilter-Maker
-GenericName[ne]=अडियो फिल्टर डिजाइनर
-GenericName[nl]=Audiofilterontwerper
-GenericName[nn]=Utforming av lydfilter
-GenericName[pa]=ਆਡੀਓ ਫਿਲਟਰ ਡਿਜ਼ਾਈਨਰ
-GenericName[pl]=Projektant filtru audio
-GenericName[pt]=Editor de Filtros de Áudio
-GenericName[pt_BR]=Criador de Filtro de Áudio
-GenericName[ro]=Proiectare filtre audio
-GenericName[ru]=Дизайнер звуковых фильтров
-GenericName[se]=Jietnasilli hápmejeaddji
-GenericName[sk]=Návrh audio filtrov
-GenericName[sl]=Snovalnik avdio filtrov
-GenericName[sr]=Дизајнер аудио филтера
-GenericName[sr@Latn]=Dizajner audio filtera
-GenericName[sv]=Ljudfilterdesigner
-GenericName[ta]=கேட்பொலி வடிகட்டி படைப்பாளர்
-GenericName[tg]=Тарроҳи Полоягари Садо
-GenericName[th]=เครื่องมือออกแบบฟิลเตอร์ของเสียง
-GenericName[tr]=Ses Filtresi Tasarlayıcı
-GenericName[uk]=Дизайн аудіофільтрів
-GenericName[ven]=Muvhati wa filithara ino pfala
-GenericName[xh]=Umyili Wecebo lokucoca ulwelo Wesandi
-GenericName[zh_CN]=音频滤波器设计程序
-GenericName[zh_HK]=音訊過濾器設計師
-GenericName[zh_TW]=音效過濾器設計師
-GenericName[zu]=Umdwebi Wehluzo Lokuzwakalayo
Exec=artsbuilder -caption "%c"
Icon=artsbuilder
Path=
diff --git a/arts/builder/x-artsbuilder.desktop b/arts/builder/x-artsbuilder.desktop
index 8794e50f..340b286d 100644
--- a/arts/builder/x-artsbuilder.desktop
+++ b/arts/builder/x-artsbuilder.desktop
@@ -1,57 +1,6 @@
[Desktop Entry]
MimeType=application/x-artsbuilder
Comment=Arts Builder
-Comment[ar]=أداة لبناء الأصوات باستخدام aRts
-Comment[bg]=Аудио дизайнер
-Comment[bn]=আর্ট্‌স্ বিল্ডার
-Comment[br]=Arload Arts Builder
-Comment[ca]=Constructor Arts
-Comment[cs]=Konstruktér aRts
-Comment[cy]=Adeiladwr Arts
-Comment[da]=aRts-bygger
-Comment[de]=Arts-Builder
-Comment[eo]=Arts-Kreilo
-Comment[es]=Arts Builder (diseñador del sintetizador aRts)
-Comment[et]=aRts'i generaator
-Comment[fa]=سازندۀ Arts
-Comment[fi]=Arts-rakentaja
-Comment[fr]=Créateur de synthétiseurs d'aRts
-Comment[ga]=Tógálaí Arts
-Comment[gl]=Constructor Arts
-Comment[he]=בנאי של Arts
-Comment[hi]=एआरटीएस बिल्डर
-Comment[hu]=aRts-alapú hangmodellező program
-Comment[id]=Builder Arts
-Comment[is]=Arts smiður
-Comment[it]=Costruttore per aRts
-Comment[ja]=aRts ビルダー
-Comment[kk]=Arts құрастырғышы
-Comment[km]=កម្មវិធី​បង្កើត Arts
-Comment[ko]=Arts 만들기
-Comment[lt]=Arts komponuoklis
-Comment[mk]=Градител на Arts
-Comment[mt]=Bennej Arts
-Comment[nb]=Arts-bygger
-Comment[nds]=Klangfiltern för aRts
-Comment[ne]=कला निर्माता
-Comment[nl]=Arts Bouwprogramma
-Comment[nn]=Arts-byggjar
-Comment[pa]=Arts ਨਿਰਮਾਤਾ
-Comment[pt]=Construtor do Arts
-Comment[pt_BR]=Construtor Arts
-Comment[ru]=Звуковой дизайнер aRts
-Comment[se]=Arts-huksejeaddji
-Comment[sl]=Graditelj Arts
-Comment[sr]=Градитељ Arts-а
-Comment[sr@Latn]=Graditelj Arts-a
-Comment[sv]=Arts-byggare
-Comment[ta]=கலைத்திறன் உருவாக்குபவர்
-Comment[tg]=Созандаи aRts
-Comment[tr]=Arts Oluşturucu
-Comment[ven]=Muiti wa zwavhutsila
-Comment[xh]=Umakhi wemizobo
-Comment[zh_CN]=Arts 构建程序
-Comment[zu]=Umakhi Wezamasiko
Icon=arts
Type=MimeType
Patterns=*.arts;